Download Vim Quick Reference Guide
Transcript
Undo/Redo commands
'toolbar'
'toolbariconsize'
'ttimeout'
'ttimeoutlen'
'ttybuiltin'
'ttyfast'
'ttymouse'
'ttyscroll'
'ttytype'
'undolevels'
'updatecount'
'updatetime'
'verbose'
'verbosefile'
'viewdir'
'viewoptions'
'viminfo'
'virtualedit'
'visualbell'
'warn'
'weirdinvert'
'whichwrap'
'wildchar'
'wildcharm'
'wildignore'
'wildmenu'
'wildmode'
'wildoptions'
'winaltkeys'
'winheight'
'winfixheight'
'winfixwidth'
'winminheight'
'winminwidth'
'winwidth'
'wrap'
'wrapmargin'
'wrapscan'
'write'
'writeany'
'writebackup'
'writedelay'
'tb'
'tbis'
'ttm'
'tbi'
'tf'
'ttym'
'tsl'
'tty'
'ul'
'uc'
'ut'
'vbs'
'vfile'
'vdir'
'vop'
'vi'
've'
'vb'
'wi'
'ww'
'wc'
'wcm'
'wig'
'wmnu'
'wim'
'wop'
'wak'
'wh'
'wfh'
'wfw'
'wmh'
'wmw'
'wiw'
'wm'
'ws'
'wa'
'wb'
'wd'
14
GUI: which items to show in the toolbar
size of the toolbar icons (for GTK 2 only)
time out on mappings
time out time for key codes in milliseconds
use built-in termcap before external termcap
indicates a fast terminal connection
type of mouse codes generated
maximum number of lines for a scroll
alias for 'term'
maximum number of changes that can be undone
after this many characters flush swap file
after this many milliseconds flush swap file
give informative messages
file to write messages in
directory where to store files with :mkview
specifies what to save for :mkview
use .viminfo file upon startup and exiting
when to use virtual editing
use visual bell instead of beeping
warn for shell command when buffer was changed
for terminals that have weird inversion method
allow specified keys to cross line boundaries
command-line character for wildcard expansion
like 'wildchar' but also works when mapped
files matching these patterns are not completed
use menu for command line completion
mode for 'wildchar' command-line expansion
specifies how command line completion is done.
when the windows system handles ALT keys
minimum number of lines for the current window
keep window height when opening/closing windows
keep window width when opening/closing windows
minimum number of lines for any window
minimal number of columns for any window
minimal number of columns for current window
long lines wrap and continue on the next line
chars from the right where wrapping starts
searches wrap around the end of the file
writing to a file is allowed
write to file with no need for "!" override
make a backup before overwriting a file
delay this many msec for each char (for debug)
Undo/Redo commands
N
N
U
u
CTRL-R
undo last N changes
redo last N undone changes
restore last changed line
External commands
:sh[ell]
:!{command}
K
start a shell
execute {command} with a shell
lookup keyword under the cursor with 'keywordprg' program (default: "man")
Quickfix commands
:cc [nr]
:cn
:cp
:cl
:cf
display error [nr] (default is the same again)
display the next error
display the previous error
list all errors
read errors from the file 'errorfile'