1 *howto.txt* For Vim version 5.8. Last change: 2000 Feb 07
4 VIM REFERENCE MANUAL by Bram Moolenaar
7 How to ... *howdoi* *how-do-i* *howto* *how-to*
10 |:quit| exit? I'm trapped, help me!
11 |initialization| initialize Vim
12 |vimrc-intro| write a Vim script file (vimrc)
14 |crash-recovery| recover after a crash
15 |backup| keep a backup of my file when writing over it
17 |edit-files| edit files
18 |edit-binary| edit binary files
19 |inserting| insert text
20 |deleting| delete text
21 |changing| change text
22 |copy-move| copy and move text
23 |formatting| format text
24 |format-comments| format comments
25 |C-indenting| indent C programs
26 |'autoindent'| automatically set indent
28 |repeating| repeat commands
29 |undo-redo| undo and redo
31 |cursor-motions| 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 freely beyond beginning/end of line
39 |pattern-searches| specify pattern for searches
40 |tags-and-searches| do tags and special searches
41 |include-search| search in include'd files used to find
42 variables, functions, or macros
43 |K| look up manual for the keyword under cursor
46 |'sidescroll'| scroll horizontally/sideways
47 |'scrolloff'| set scroll boundary
49 |mode-switching| change modes
50 |Visual-mode| use Visual mode
51 |'insertmode'| start Vim in Insert mode
53 |key-mapping| map keys
54 |abbreviations| create abbreviations
56 |ins-expandtab| expand a tab to spaces in Insert mode
57 |i_CTRL-R| insert contents of a register in Insert mode
58 |ins-completion| complete words in Insert mode
59 |ins-textwidth| break a line before it gets too long
61 |cmdline-editing| do command-line editing
62 |cmdline-completion| do command-line completion
63 |'cmdheight'| increase the height of command-line
64 |cmdline-ranges| specify command-line ranges
65 |autocommand| specify commands to be executed automatically
66 before/after reading/writing entering/leaving a
69 |'autowrite'| write automatically
70 |quickfix| speedup edit-compile-edit cycle or compile and fix
74 |auto-setting| set options automatically
75 |term-dependent-settings| set options depending on terminal name
76 |save-settings| save settings
77 |:quote| comment my exrc/vimrc/gvimrc files
78 |'helpheight'| change the default help height
79 |'highlight'| set various highlighting modes
80 |'title'| set the window title
81 |'icon'| set window icon title
82 |'report'| avoid seeing the change messages on every line
83 |'shortmess'| avoid |hit-return| prompts
85 |mouse-using| use mouse with Vim
86 |windows.txt| manage multiple windows and buffers
88 |:sleep| catch 40 (or more!) winks, or take a catnap!
89 |You can't! (yet)| do dishes using Vim
91 |:syn-on| switch on syntax highlighting
92 |2html.vim| convert a colored file to HTML
95 To get started with Vim: There is a 30 minute tutorial that teaches the most
96 basic Vim functionality. The name of the file is "$VIMRUNTIME/tutor/tutor".
97 Make a copy of the file (so you can mess with it), and take a little time to
98 learn your first Vim commands.