howto.txt (2892B)
1 *howto.txt* For Vim version 9.2. Last change: 2026 Feb 14 2 3 4 VIM REFERENCE MANUAL by Bram Moolenaar 5 6 7 How to ... *howdoi* *how-do-i* *howto* *how-to* 8 9 |tutor| get started 10 |:quit| exit? I'm trapped, help me! 11 |initialization| initialize Vim 12 |vimrc-intro| write a Vim script file (vimrc) 13 |suspend| suspend Vim 14 |usr_11.txt| recover after a crash 15 |07.4| keep a backup of my file when writing over it 16 17 |usr_07.txt| edit files 18 |23.4| edit binary files 19 |usr_24.txt| insert text 20 |deleting| delete text 21 |usr_04.txt| change text 22 |04.5| copy and move text 23 |usr_25.txt| format text 24 |30.6| format comments 25 |30.2| indent C programs 26 |25.3| automatically set indent 27 28 |usr_26.txt| repeat commands 29 |02.5| undo and redo 30 31 |usr_03.txt| move around 32 |word-motions| word motions 33 |left-right-motions| left-right motions 34 |up-down-motions| up-down motions 35 |object-motions| text-object motions 36 |various-motions| various motions 37 |object-select| text-object selection 38 'whichwrap' move over line breaks 39 'virtualedit' move to where there is no text 40 |usr_27.txt| specify pattern for searches 41 |tags-and-searches| do tags and special searches 42 |29.4| search in include'd files used to find 43 variables, functions, or macros 44 |K| look up manual for the keyword under cursor 45 46 |03.7| scroll 47 'sidescroll' scroll horizontally/sideways 48 'scrolloff' set visible context lines 49 50 |mode-switching| change modes 51 |04.4| use Visual mode 52 'insertmode' start Vim in Insert mode 53 54 |40.1| map keys 55 |24.7| create abbreviations 56 57 |ins-expandtab| expand a tab to spaces in Insert mode 58 |i_CTRL-R| insert contents of a register in Insert mode 59 |24.3| complete words in Insert mode 60 |25.1| break a line before it gets too long 61 62 |20.1| do command-line editing 63 |20.3| do command-line completion 64 'cmdheight' increase the height of command-line 65 |10.3| specify command-line ranges 66 |40.3| specify commands to be executed automatically 67 before/after reading/writing entering/leaving a 68 buffer/window 69 70 'autowrite' write automatically 71 |30.1| speedup edit-compile-edit cycle or compile and fix 72 errors within Vim 73 74 |options| set options 75 |auto-setting| set options automatically 76 |term-dependent-settings| set options depending on terminal name 77 |save-settings| save settings 78 |:quote| comment my .vim files 79 'helpheight' change the default help height 80 'highlight' set various highlighting modes 81 'title' set the window title 82 'icon' set window icon title 83 'report' avoid seeing the change messages on every line 84 'shortmess' avoid |hit-enter| prompts 85 86 |mouse-using| use mouse with Vim 87 |usr_08.txt| manage multiple windows and buffers 88 |gui.txt| use the gui 89 90 |You can't! (yet)| do dishes using Vim 91 92 |usr_06.txt| switch on syntax highlighting 93 |2html.vim| convert a colored file to HTML 94 |less| use Vim like less or more with syntax highlighting 95 96 vim:tw=78:ts=8:noet:ft=help:norl: