Command List

MODE COMMAND DESCRIPTION
Command-line editing <BS> delete the character in front of the cursor
Command-line editing {char1} <BS> {char2} enter digraph when 'digraph' is on
Command-line editing <C-Left> cursor one word left
Command-line editing <CR> execute entered command
Command-line editing <C-Right> cursor one word right
Command-line editing CTRL-[ same as <Esc>
Command-line editing CTRL-] trigger abbreviation
Command-line editing CTRL-^ toggle use of |:lmap| mappings
Command-line editing CTRL-_ when 'allowrevins' set: change language (Hebrew, Farsi)
Command-line editing CTRL-A do completion on the pattern in front of the cursor and insert all matches
Command-line editing CTRL- a - d reserved for extensions
Command-line editing CTRL-B cursor to begin of command-line
Command-line editing CTRL-C same as <Esc>
Command-line editing CTRL- CTRL-G go to mode specified with 'insertmode', abandon command-line
Command-line editing CTRL- CTRL-N go to Normal mode, abandon command-line
Command-line editing CTRL-D list completions that match the pattern in front of the cursor
Command-line editing CTRL-E cursor to end of command-line
Command-line editing CTRL- e {expr} replace the command line with the result of {expr}
Command-line editing CTRL-F default value for 'cedit': opens the command-line window; otherwise not used
Command-line editing CTRL- f - z reserved for extensions
Command-line editing CTRL-H same as <BS>
Command-line editing CTRL-I same as <Tab>
Command-line editing CTRL-J same as <CR>
Command-line editing CTRL-K {char1} {char2} enter digraph
Command-line editing CTRL-L do completion on the pattern in front of the cursor and insert the longest common part
Command-line editing CTRL-M same as <CR>
Command-line editing CTRL-N after using 'wildchar' with multiple matches: go to next match, otherwise: same as <Down>
Command-line editing CTRL-P after using 'wildchar' with multiple matches: go to previous match, otherwise: same as <Up>
Command-line editing CTRL-Q same as CTRL-V, unless it's used for terminal control flow
Command-line editing CTRL-R {0-9a-z"%#*:= CTRL-F CTRL-P CTRL-W CTRL-A} insert the contents of a register or object under the cursor as if typed
Command-line editing CTRL-R CTRL-R {0-9a-z"%#*:= CTRL-F CTRL-P CTRL-W CTRL-A} insert the contents of a register or object under the cursor literally
Command-line editing CTRL-S (used for terminal control flow)
Command-line editing CTRL-U remove all characters
Command-line editing CTRL-V insert next non-digit literally, insert three digit decimal number as a single byte.
Command-line editing CTRL-W delete the word in front of the cursor
Command-line editing CTRL-Y copy (yank) modeless selection
Command-line editing <Del> delete the character under the cursor
Command-line editing <Down> recall next command-line from history that matches pattern in front of the cursor
Command-line editing <End> cursor to end of command-line
Command-line editing <Esc> abandon command-line without executing it
Command-line editing <Home> cursor to start of command-line
Command-line editing <Insert> toggle insert/overstrike mode
Command-line editing <Left> cursor left
Command-line editing <LeftMouse> cursor at mouse click
Command-line editing <NL> same as <CR>
Command-line editing <PageDown> same as <S-Down>
Command-line editing <PageUp> same as <S-Up>
Command-line editing <Right> cursor right
Command-line editing <S-Down> recall next command-line from history
Command-line editing <S-Left> cursor one word left
Command-line editing <S-Right> cursor one word right
Command-line editing <S-Tab> same as CTRL-P
Command-line editing <S-Up> recall previous command-line from history
Command-line editing <Tab> if 'wildchar' is <Tab>: Do completion on the pattern in front of the cursor
Command-line editing <Up> recall previous command-line from history that matches pattern in front of the cursor
Command-line editing 'wildchar' Do completion on the pattern in front of the cursor (default: <Tab>)
EX commands :! filter lines or execute an external command
EX commands :!! repeat last ":!" command
EX commands :# same as ":number"
EX commands :& repeat last ":substitute"
EX commands :* execute contents of a register
EX commands :< shift lines one 'shiftwidth' left
EX commands := print the cursor line number
EX commands :> shift lines one 'shiftwidth' right
EX commands :@ execute contents of a register
EX commands :@@ repeat the previous ":@"
EX commands :~ repeat last ":substitute"
EX commands :ab[breviate] enter abbreviation
EX commands :abc[lear] remove all abbreviations
EX commands :abo[veleft] make split window appear left or above
EX commands :al[l] open a window for each file in the argument list
EX commands :am[enu] enter new menu item for all modes
EX commands :an[oremenu] enter a new menu for all modes that will not be remapped
EX commands :a[ppend] append text
EX commands :arga[dd] add items to the argument list
EX commands :argd[elete] delete items from the argument list
EX commands :argdo do a command on all items in the argument list
EX commands :arge[dit] add item to the argument list and edit it
EX commands :argg[lobal] define the global argument list
EX commands :argl[ocal] define a local argument list
EX commands :ar[gs] print the argument list
EX commands :argu[ment] go to specific file in the argument list
EX commands :as[cii] print ascii value of character under the cursor
EX commands :aug[roup] select the autocommand group to use
EX commands :aun[menu] remove menu for all modes
EX commands :au[tocmd] enter or show autocommands
EX commands :bad[d] add buffer to the buffer list
EX commands :ba[ll] open a window for each buffer in the buffer list
EX commands :bd[elete] remove a buffer from the buffer list
EX commands :be[have] set mouse and selection behavior
EX commands :bel[owright] make split window appear right or below
EX commands :bf[irst] go to first buffer in the buffer list
EX commands :bl[ast] go to last buffer in the buffer list
EX commands :bm[odified] go to next buffer in the buffer list that has been modified
EX commands :bn[ext] go to next buffer in the buffer list
EX commands :bN[ext] go to previous buffer in the buffer list
EX commands :bo[tright] make split window appear at bottom or far right
EX commands :bp[revious] go to previous buffer in the buffer list
EX commands :brea[k] break out of while loop
EX commands :breaka[dd] add a debugger breakpoint
EX commands :breakd[el] delete a debugger breakpoint
EX commands :breakl[ist] list debugger breakpoints
EX commands :br[ewind] go to first buffer in the buffer list
EX commands :bro[wse] use file selection dialog
EX commands :bufdo execute command in each listed buffer
EX commands :b[uffer] go to specific buffer in the buffer list
EX commands :buffers list all files in the buffer list
EX commands :bun[load] unload a specific buffer
EX commands :bw[ipeout] really delete a buffer
EX commands :ca[bbrev] like ":abbreviate" but for Command-line mode
EX commands :cabc[lear] clear all abbreviations for Command-line mode
EX commands :caddb[uffer] add errors from buffer
EX commands :cad[dexpr] add errors from expr
EX commands :caddf[ile] add error message to current quickfix list
EX commands :cal[l] call a function
EX commands :cat[ch] part of a :try command
EX commands :cb[uffer] parse error messages and jump to first error
EX commands :cc go to specific error
EX commands :ccl[ose] close quickfix window
EX commands :cd change directory
EX commands :ce[nter] format lines at the center
EX commands :cex[pr] read errors from expr and jump to first
EX commands :cf[ile] read file with error messages and jump to first
EX commands :cfir[st] go to the specified error, default first one
EX commands :cgetb[uffer] get errors from buffer
EX commands :cgete[xpr] get errors from expr
EX commands :cg[etfile] read file with error messages
EX commands :c[hange] replace a line or series of lines
EX commands :cha[nges] print the change list
EX commands :chd[ir] change directory
EX commands :che[ckpath] list included files
EX commands :checkt[ime] check timestamp of loaded buffers
EX commands :cla[st] go to the specified error, default last one
EX commands :cl[ist] list all errors
EX commands :clo[se] close current window
EX commands :cm[ap] like ":map" but for Command-line mode
EX commands :cmapc[lear] clear all mappings for Command-line mode
EX commands :cme[nu] add menu for Command-line mode
EX commands :cnew[er] go to newer error list
EX commands :cn[ext] go to next error
EX commands :cN[ext] go to previous error
EX commands :cnf[ile] go to first error in next file
EX commands :cNf[ile] go to last error in previous file
EX commands :cnorea[bbrev] like ":noreabbrev" but for Command-line mode
EX commands :cno[remap] like ":noremap" but for Command-line mode
EX commands :cnoreme[nu] like ":noremenu" but for Command-line mode
EX commands :col[der] go to older error list
EX commands :colo[rscheme] load a specific color scheme
EX commands :comc[lear] clear all user-defined commands
EX commands :com[mand] create user-defined command
EX commands :comp[iler] do settings for a specific compiler
EX commands :conf[irm] prompt user when confirmation required
EX commands :con[tinue] go back to :while
EX commands :cope[n] open quickfix window
EX commands :co[py] copy lines
EX commands :cpf[ile] go to last error in previous file
EX commands :cp[revious] go to previous error
EX commands :cq[uit] quit Vim with an error code
EX commands :cr[ewind] go to the specified error, default first one
EX commands :cs[cope] execute cscope command
EX commands :cst[ag] use cscope to jump to a tag
EX commands :cuna[bbrev] like ":unabbrev" but for Command-line mode
EX commands :cu[nmap] like ":unmap" but for Command-line mode
EX commands :cunme[nu] remove menu for Command-line mode
EX commands :cw[indow] open or close quickfix window
EX commands :deb[ug] run a command in debugging mode
EX commands :debugg[reedy] read debug mode commands from normal input
EX commands :delc[ommand] delete user-defined command
EX commands :d[elete] delete lines
EX commands :delf[unction] delete a user function
EX commands :delm[arks] delete marks
EX commands :diffg[et] remove differences in current buffer
EX commands :diffo[ff] switch off diff mode
EX commands :diffp[atch] apply a patch and show differences
EX commands :diffpu[t] remove differences in other buffer
EX commands :diffs[plit] show differences with another file
EX commands :diffthis make current window a diff window
EX commands :dif[fupdate] update 'diff' buffers
EX commands :dig[raphs] show or enter digraphs
EX commands :di[splay] display registers
EX commands :dj[ump] jump to #define
EX commands :dl[ist] list #defines
EX commands :doautoa[ll] apply autocommands for all loaded buffers
EX commands :do[autocmd] apply autocommands to current buffer
EX commands :dr[op] jump to window editing file or edit file in current window
EX commands :ds[earch] list one #define
EX commands :dsp[lit] split window and jump to #define
EX commands :ea[rlier] go to older change, undo
EX commands :ec[ho] echoes the result of expressions
EX commands :echoe[rr] like :echo, show like an error and use history
EX commands :echoh[l] set highlighting for echo commands
EX commands :echom[sg] same as :echo, put message in history
EX commands :echon same as :echo, but without <EOL>
EX commands :e[dit] edit a file
EX commands :el[se] part of an :if command
EX commands :elsei[f] part of an :if command
EX commands :em[enu] execute a menu by name
EX commands :endfo[r] end previous :for
EX commands :endf[unction] end of a user function
EX commands :en[dif] end previous :if
EX commands :endt[ry] end previous :try
EX commands :endw[hile] end previous :while
EX commands :ene[w] edit a new, unnamed buffer
EX commands :ex same as ":edit"
EX commands :exe[cute] execute result of expressions
EX commands :exi[t] same as ":xit"
EX commands :exu[sage] overview of Ex commands
EX commands :f[ile] show or set the current file name
EX commands :files list all files in the buffer list
EX commands :filet[ype] switch file type detection on/off
EX commands :fina[lly] part of a :try command
EX commands :fin[d] find file in 'path' and edit it
EX commands :fini[sh] quit sourcing a Vim script
EX commands :fir[st] go to the first file in the argument list
EX commands :fix[del] set key code of <Del>
EX commands :fo[ld] create a fold
EX commands :foldc[lose] close folds
EX commands :folddoc[losed] execute command on lines in a closed fold
EX commands :foldd[oopen] execute command on lines not in a closed fold
EX commands :foldo[pen] open folds
EX commands :for for loop
EX commands :fu[nction] define a user function
EX commands :g[lobal] execute commands for matching lines
EX commands :go[to] go to byte in the buffer
EX commands :gr[ep] run 'grepprg' and jump to first match
EX commands :grepa[dd] like :grep, but append to current list
EX commands :gu[i] start the GUI
EX commands :gv[im] start the GUI
EX commands :ha[rdcopy] send text to the printer
EX commands :h[elp] open a help window
EX commands :helpf[ind] dialog to open a help window
EX commands :helpg[rep] like ":grep" but searches help files
EX commands :helpt[ags] generate help tags for a directory
EX commands :hid[e] hide current buffer for a command
EX commands :hi[ghlight] specify highlighting methods
EX commands :his[tory] print a history list
EX commands :ia[bbrev] like ":abbrev" but for Insert mode
EX commands :iabc[lear] like ":abclear" but for Insert mode
EX commands :if execute commands when condition met
EX commands :ij[ump] jump to definition of identifier
EX commands :il[ist] list lines where identifier matches
EX commands :im[ap] like ":map" but for Insert mode
EX commands :imapc[lear] like ":mapclear" but for Insert mode
EX commands :ime[nu] add menu for Insert mode
EX commands :inorea[bbrev] like ":noreabbrev" but for Insert mode
EX commands :ino[remap] like ":noremap" but for Insert mode
EX commands :inoreme[nu] like ":noremenu" but for Insert mode
EX commands :i[nsert] insert text
EX commands :int[ro] print the introductory message
EX commands :is[earch] list one line where identifier matches
EX commands :isp[lit] split window and jump to definition of identifier
EX commands :iuna[bbrev] like ":unabbrev" but for Insert mode
EX commands :iu[nmap] like ":unmap" but for Insert mode
EX commands :iunme[nu] remove menu for Insert mode
EX commands :j[oin] join lines
EX commands :ju[mps] print the jump list
EX commands :k set a mark
EX commands :keepa[lt] following command keeps the alternate file
EX commands :keepj[umps] following command keeps jumplist and marks
EX commands :kee[pmarks] following command keeps marks where they are
EX commands :laddb[uffer] add locations from buffer
EX commands :lad[dexpr] add locations from expr
EX commands :laddf[ile] add locations to current location list
EX commands :lan[guage] set the language (locale)
EX commands :la[st] go to the last file in the argument list
EX commands :lat[er] go to newer change, redo
EX commands :lb[uffer] parse locations and jump to first location
EX commands :lc[d] change directory locally
EX commands :lch[dir] change directory locally
EX commands :lcl[ose] close location window
EX commands :lcs[cope] like ":cscope" but uses location list
EX commands :le[ft] left align lines
EX commands :lefta[bove] make split window appear left or above
EX commands :let assign a value to a variable or option
EX commands :lex[pr] read locations from expr and jump to first
EX commands :lf[ile] read file with locations and jump to first
EX commands :lfir[st] go to the specified location, default first one
EX commands :lgetb[uffer] get locations from buffer
EX commands :lgete[xpr] get locations from expr
EX commands :lg[etfile] read file with locations
EX commands :lgr[ep] run 'grepprg' and jump to first match
EX commands :lgrepa[dd] like :grep, but append to current list
EX commands :lh[elpgrep] like ":helpgrep" but uses location list
EX commands :l[ist] print lines
EX commands :ll go to specific location
EX commands :lla[st] go to the specified location, default last one
EX commands :lli[st] list all locations
EX commands :lmak[e] execute external command 'makeprg' and parse error messages
EX commands :lm[ap] like ":map!" but includes Lang-Arg mode
EX commands :lmapc[lear] like ":mapclear!" but includes Lang-Arg mode
EX commands :lnew[er] go to newer location list
EX commands :lne[xt] go to next location
EX commands :lN[ext] go to previous entry in location list
EX commands :lnf[ile] go to first location in next file
EX commands :lNf[ile] go to last entry in previous file
EX commands :ln[oremap] like ":noremap!" but includes Lang-Arg mode
EX commands :loadk[eymap] load the following keymaps until EOF
EX commands :lo[adview] load view for current window from a file
EX commands :loc[kmarks] following command keeps marks where they are
EX commands :lockv[ar] lock variables
EX commands :lol[der] go to older location list
EX commands :lope[n] open location window
EX commands :lpf[ile] go to last location in previous file
EX commands :lp[revious] go to previous location
EX commands :lr[ewind] go to the specified location, default first one
EX commands :ls list all buffers
EX commands :lt[ag] jump to tag and add matching tags to the location list
EX commands :lua execute |Lua| command
EX commands :luad[o] execute Lua command for each line
EX commands :luaf[ile] execute |Lua| script file
EX commands :lu[nmap] like ":unmap!" but includes Lang-Arg mode
EX commands :lv[imgrep] search for pattern in files
EX commands :lvimgrepa[dd] like :vimgrep, but append to current list
EX commands :lw[indow] open or close location window
EX commands :mak[e] execute external command 'makeprg' and parse error messages
EX commands :map show or enter a mapping
EX commands :mapc[lear] clear all mappings for Normal and Visual mode
EX commands :ma[rk] set a mark
EX commands :marks list all marks
EX commands :mat[ch] define a match to highlight
EX commands :me[nu] enter a new menu item
EX commands :menut[ranslate] add a menu translation item
EX commands :mes[sages] view previously displayed messages
EX commands :mk[exrc] write current mappings and settings to a file
EX commands :mks[ession] write session info to a file
EX commands :mksp[ell] produce .spl spell file
EX commands :mkvie[w] write view of current window to a file
EX commands :mkv[imrc] write current mappings and settings to a file
EX commands :mod[e] show or change the screen mode
EX commands :m[ove] move lines
EX commands :mzf[ile] execute MzScheme script file
EX commands :mz[scheme] execute MzScheme command
EX commands :nbc[lose] close the current Netbeans session
EX commands :nb[key] pass a key to Netbeans
EX commands :nbs[art] start a new Netbeans session
EX commands :new create a new empty window
EX commands :n[ext] go to next file in the argument list
EX commands :N[ext] go to previous file in the argument list
EX commands :nm[ap] like ":map" but for Normal mode
EX commands :nmapc[lear] clear all mappings for Normal mode
EX commands :nme[nu] add menu for Normal mode
EX commands :nn[oremap] like ":noremap" but for Normal mode
EX commands :nnoreme[nu] like ":noremenu" but for Normal mode
EX commands :noa[utocmd] following command don't trigger autocommands
EX commands :noh[lsearch] suspend 'hlsearch' highlighting
EX commands :norea[bbrev] enter an abbreviation that will not be remapped
EX commands :no[remap] enter a mapping that will not be remapped
EX commands :noreme[nu] enter a menu that will not be remapped
EX commands :norm[al] execute Normal mode commands
EX commands :nu[mber] print lines with line number
EX commands :nun[map] like ":unmap" but for Normal mode
EX commands :nunme[nu] remove menu for Normal mode
EX commands :ol[dfiles] list files that have marks in the viminfo file
EX commands :om[ap] like ":map" but for Operator-pending mode
EX commands :omapc[lear] remove all mappings for Operator-pending mode
EX commands :ome[nu] add menu for Operator-pending mode
EX commands :on[ly] close all windows except the current one
EX commands :ono[remap] like ":noremap" but for Operator-pending mode
EX commands :onoreme[nu] like ":noremenu" but for Operator-pending mode
EX commands :o[pen] start open mode (not implemented)
EX commands :opt[ions] open the options-window
EX commands :ou[nmap] like ":unmap" but for Operator-pending mode
EX commands :ounme[nu] remove menu for Operator-pending mode
EX commands :ow[nsyntax] set new local syntax highlight for this window
EX commands :pc[lose] close preview window
EX commands :ped[it] edit file in the preview window
EX commands :pe[rl] execute Perl command
EX commands :perld[o] execute Perl command for each line
EX commands :po[p] jump to older entry in tag stack
EX commands :pop[up] popup a menu by name
EX commands :pp[op] ":pop" in preview window
EX commands :pre[serve] write all text to swap file
EX commands :prev[ious] go to previous file in argument list
EX commands :p[rint] print lines
EX commands :P[rint] print lines
EX commands :profd[el] stop profiling a function or script
EX commands :prof[ile] profiling functions and scripts
EX commands :pro[mptfind] open GUI dialog for searching
EX commands :promptr[epl] open GUI dialog for search/replace
EX commands :ps[earch] like ":ijump" but shows match in preview window
EX commands :pt[ag] show tag in preview window
EX commands :ptf[irst] |:trewind| in preview window
EX commands :ptj[ump] |:tjump| and show tag in preview window
EX commands :ptl[ast] |:tlast| in preview window
EX commands :ptn[ext] |:tnext| in preview window
EX commands :ptN[ext] |:tNext| in preview window
EX commands :ptp[revious] |:tprevious| in preview window
EX commands :ptr[ewind] |:trewind| in preview window
EX commands :pts[elect] |:tselect| and show tag in preview window
EX commands :pu[t] insert contents of register in the text
EX commands :pw[d] print current directory
EX commands :py3 execute Python 3 command
EX commands :py3f[ile] execute Python 3 script file
EX commands :pyf[ile] execute Python script file
EX commands :py[thon] execute Python command
EX commands :python3 same as :py3
EX commands :qa[ll] quit Vim
EX commands :q[uit] quit current window (when one window quit Vim)
EX commands :quita[ll] quit Vim
EX commands :r[ead] read file into the text
EX commands :rec[over] recover a file from a swap file
EX commands :redi[r] redirect messages to a file or register
EX commands :red[o] redo one undone change
EX commands :redr[aw] force a redraw of the display
EX commands :redraws[tatus] force a redraw of the status line(s)
EX commands :reg[isters] display the contents of registers
EX commands :res[ize] change current window height
EX commands :ret[ab] change tab size
EX commands :retu[rn] return from a user function
EX commands :rew[ind] go to the first file in the argument list
EX commands :ri[ght] right align text
EX commands :rightb[elow] make split window appear right or below
EX commands :rub[y] execute Ruby command
EX commands :rubyd[o] execute Ruby command for each line
EX commands :rubyf[ile] execute Ruby script file
EX commands :rund[o] read undo information from a file
EX commands :ru[ntime] source vim scripts in 'runtimepath'
EX commands :rv[iminfo] read from viminfo file
EX commands :sal[l] open a window for each file in argument list
EX commands :san[dbox] execute a command in the sandbox
EX commands :sa[rgument] split window and go to specific file in argument list
EX commands :sav[eas] save file under another name.
EX commands :sba[ll] open a window for each file in the buffer list
EX commands :sbf[irst] split window and go to first file in the buffer list
EX commands :sbl[ast] split window and go to last file in buffer list
EX commands :sbm[odified] split window and go to modified file in the buffer list
EX commands :sbn[ext] split window and go to next file in the buffer list
EX commands :sbN[ext] split window and go to previous file in the buffer list
EX commands :sbp[revious] split window and go to previous file in the buffer list
EX commands :sbr[ewind] split window and go to first file in the buffer list
EX commands :sb[uffer] split window and go to specific file in the buffer list
EX commands :scripte[ncoding] encoding used in sourced Vim script
EX commands :scrip[tnames] list names of all sourced Vim scripts
EX commands :scs[cope] split window and execute cscope command
EX commands :se[t] show or set options
EX commands :setf[iletype] set 'filetype', unless it was set already
EX commands :setg[lobal] show global values of options
EX commands :setl[ocal] show or set options locally
EX commands :sf[ind] split current window and edit file in 'path'
EX commands :sfir[st] split window and go to first file in the argument list
EX commands :sh[ell] escape to a shell
EX commands :sig[n] manipulate signs
EX commands :sil[ent] run a command silently
EX commands :sim[alt] Win32 GUI: simulate Windows ALT key
EX commands :sla[st] split window and go to last file in the argument list
EX commands :sl[eep] do nothing for a few seconds
EX commands :sm[agic] :substitute with 'magic'
EX commands :sma[p] like ":map" but for Select mode
EX commands :smapc[lear] remove all mappings for Select mode
EX commands :sme[nu] add menu for Select mode
EX commands :sn[ext] split window and go to next file in the argument list
EX commands :sN[ext] split window and go to previous file in argument list
EX commands :sni[ff] send request to sniff
EX commands :sno[magic] :substitute with 'nomagic'
EX commands :snor[emap] like ":noremap" but for Select mode
EX commands :snoreme[nu] like ":noremenu" but for Select mode
EX commands :sor[t] sort lines
EX commands :so[urce] read Vim or Ex commands from a file
EX commands :spelld[ump] split window and fill with all correct words
EX commands :spe[llgood] add good word for spelling
EX commands :spelli[nfo] show info about loaded spell files
EX commands :spellr[epall] replace all bad words like last |z=|
EX commands :spellu[ndo] remove good or bad word
EX commands :spellw[rong] add spelling mistake
EX commands :sp[lit] split current window
EX commands :spr[evious] split window and go to previous file in the argument list
EX commands :sre[wind] split window and go to first file in the argument list
EX commands :sta[g] split window and jump to a tag
EX commands :startg[replace] start Virtual Replace mode
EX commands :star[tinsert] start Insert mode
EX commands :startr[eplace] start Replace mode
EX commands :stj[ump] do ":tjump" and split window
EX commands :st[op] suspend the editor or escape to a shell
EX commands :stopi[nsert] stop Insert mode
EX commands :sts[elect] do ":tselect" and split window
EX commands :s[ubstitute] find and replace text
EX commands :sun[hide] same as ":unhide"
EX commands :sunm[ap] like ":unmap" but for Select mode
EX commands :sunme[nu] remove menu for Select mode
EX commands :sus[pend] same as ":stop"
EX commands :sv[iew] split window and edit file read-only
EX commands :sw[apname] show the name of the current swap file
EX commands :sync[bind] sync scroll binding
EX commands :sy[ntax] syntax highlighting
EX commands :t same as ":copy"
EX commands :tab create new tab when opening new window
EX commands :tabc[lose] close current tab page
EX commands :tabdo execute command in each tab page
EX commands :tabe[dit] edit a file in a new tab page
EX commands :tabf[ind] find file in 'path', edit it in a new tab page
EX commands :tabfir[st] got to first tab page
EX commands :tabl[ast] got to last tab page
EX commands :tabm[ove] move tab page to other position
EX commands :tabnew edit a file in a new tab page
EX commands :tabn[ext] go to next tab page
EX commands :tabN[ext] go to previous tab page
EX commands :tabo[nly] close all tab pages except the current one
EX commands :tabp[revious] go to previous tab page
EX commands :tabr[ewind] got to first tab page
EX commands :tabs list the tab pages and what they contain
EX commands :ta[g] jump to tag
EX commands :tags show the contents of the tag stack
EX commands :tc[l] execute Tcl command
EX commands :tcld[o] execute Tcl command for each line
EX commands :tclf[ile] execute Tcl script file
EX commands :te[aroff] tear-off a menu
EX commands :tf[irst] jump to first matching tag
EX commands :th[row] throw an exception
EX commands :tj[ump] like ":tselect", but jump directly when there is only one match
EX commands :tl[ast] jump to last matching tag
EX commands :tm[enu] define menu tooltip
EX commands :tn[ext] jump to next matching tag
EX commands :tN[ext] jump to previous matching tag
EX commands :to[pleft] make split window appear at top or far left
EX commands :tp[revious] jump to previous matching tag
EX commands :tr[ewind] jump to first matching tag
EX commands :try execute commands, abort on error or exception
EX commands :ts[elect] list matching tags and select one
EX commands :tu[nmenu] remove menu tooltip
EX commands :una[bbreviate] remove abbreviation
EX commands :u[ndo] undo last change(s)
EX commands :undoj[oin] join next change with previous undo block
EX commands :undol[ist] list leafs of the undo tree
EX commands :unh[ide] open a window for each loaded file in the buffer list
EX commands :unl[et] delete variable
EX commands :unlo[ckvar] unlock variables
EX commands :unm[ap] remove mapping
EX commands :unme[nu] remove menu
EX commands :uns[ilent] run a command not silently
EX commands :up[date] write buffer if modified
EX commands :verb[ose] execute command with 'verbose' set
EX commands :ve[rsion] print version number and other info
EX commands :vert[ical] make following command split vertically
EX commands :v[global] execute commands for not matching lines
EX commands :vie[w] edit a file read-only
EX commands :vim[grep] search for pattern in files
EX commands :vimgrepa[dd] like :vimgrep, but append to current list
EX commands :vi[sual] same as ":edit", but turns off "Ex" mode
EX commands :viu[sage] overview of Normal mode commands
EX commands :vm[ap] like ":map" but for Visual+Select mode
EX commands :vmapc[lear] remove all mappings for Visual+Select mode
EX commands :vme[nu] add menu for Visual+Select mode
EX commands :vne[w] create a new empty window, vertically split
EX commands :vn[oremap] like ":noremap" but for Visual+Select mode
EX commands :vnoreme[nu] like ":noremenu" but for Visual+Select mode
EX commands :vs[plit] split current window vertically
EX commands :vu[nmap] like ":unmap" but for Visual+Select mode
EX commands :vunme[nu] remove menu for Visual+Select mode
EX commands :wa[ll] write all (changed) buffers
EX commands :wh[ile] execute loop for as long as condition met
EX commands :winc[md] execute a Window (CTRL-W) command
EX commands :windo execute command in each window
EX commands :winp[os] get or set window position
EX commands :wi[nsize] get or set window size (obsolete)
EX commands :wn[ext] write to a file and go to next file in argument list
EX commands :wN[ext] write to a file and go to previous file in argument list
EX commands :wp[revious] write to a file and go to previous file in argument list
EX commands :wq write to a file and quit window or Vim
EX commands :wqa[ll] write all changed buffers and quit Vim
EX commands :w[rite] write to a file
EX commands :ws[verb] pass the verb to workshop over IPC
EX commands :wu[ndo] write undo information to a file
EX commands :wv[iminfo] write to viminfo file
EX commands :X ask for encryption key
EX commands :xa[ll] same as ":wqall"
EX commands :x[it] write if buffer changed and quit window or Vim
EX commands :xm[ap] like ":map" but for Visual mode
EX commands :xmapc[lear] remove all mappings for Visual mode
EX commands :xme[nu] add menu for Visual mode
EX commands :xn[oremap] like ":noremap" but for Visual mode
EX commands :xnoreme[nu] like ":noremenu" but for Visual mode
EX commands :xu[nmap] like ":unmap" but for Visual mode
EX commands :xunme[nu] remove menu for Visual mode
EX commands :y[ank] yank lines into a register
EX commands :z print some lines
Insert mode 0 CTRL-D delete all indent in the current line
Insert mode <BS> delete character before the cursor
Insert mode <C-End> cursor past end of file
Insert mode {char1}<BS>{char2} enter digraph (only when 'digraph' option set)
Insert mode <C-Home> cursor to start of file
Insert mode <C-Left> cursor one word left
Insert mode <CR> begin new line
Insert mode <C-Right> cursor one word right
Insert mode CTRL-@ insert previously inserted text and stop insert
Insert mode CTRL-[ same as <Esc>
Insert mode CTRL-] trigger abbreviation
Insert mode CTRL-^ toggle use of |:lmap| mappings
Insert mode CTRL-_ When 'allowrevins' set: change language (Hebrew, Farsi) {only when compiled with the |+rightleft| feature}
Insert mode CTRL-A insert previously inserted text
Insert mode CTRL- a - z reserved for extensions
Insert mode CTRL-C quit insert mode, without checking for abbreviation, unless 'insertmode' set.
Insert mode CTRL- CTRL-G go to mode specified with 'insertmode'
Insert mode CTRL- CTRL-N go to Normal mode
Insert mode ^ CTRL-D delete all indent in the current line, restore it in the next line
Insert mode CTRL-D delete one shiftwidth of indent in the current line
Insert mode CTRL-E insert the character which is below the cursor
Insert mode CTRL-G CTRL-J line down, to column where inserting started
Insert mode CTRL-G CTRL-K line up, to column where inserting started
Insert mode CTRL-G <Down> line down, to column where inserting started
Insert mode CTRL-G j line down, to column where inserting started
Insert mode CTRL-G k line up, to column where inserting started
Insert mode CTRL-G u start new undoable edit
Insert mode CTRL-G <Up> line up, to column where inserting started
Insert mode CTRL-H same as <BS>
Insert mode CTRL-I same as <Tab>
Insert mode CTRL-J same as <CR>
Insert mode CTRL-K {char1} {char2} enter digraph
Insert mode CTRL-L when 'insertmode' set: Leave Insert mode
Insert mode CTRL-M same as <CR>
Insert mode CTRL-N find next match for keyword in front of the cursor
Insert mode CTRL-O execute a single command and return to insert mode
Insert mode CTRL-P find previous match for keyword in front of the cursor
Insert mode CTRL-Q same as CTRL-V, unless used for terminal control flow
Insert mode CTRL-R {0-9a-z"%#*:=} insert the contents of a register
Insert mode CTRL-R CTRL-O {0-9a-z"%#*:=} insert the contents of a register literally and don't auto-indent
Insert mode CTRL-R CTRL-P {0-9a-z"%#*:=} insert the contents of a register literally and fix indent.
Insert mode CTRL-R CTRL-R {0-9a-z"%#*:=} insert the contents of a register literally
Insert mode CTRL-S (used for terminal control flow)
Insert mode CTRL-T insert one shiftwidth of indent in current line
Insert mode CTRL-U delete all entered characters in the current line
Insert mode CTRL-V {char} insert next non-digit literally
Insert mode CTRL-V {number} insert three digit decimal number as a single byte.
Insert mode CTRL-W delete word before the cursor
Insert mode CTRL-X {mode} enter CTRL-X sub mode, see |i_CTRL-X_index|
Insert mode CTRL-Y insert the character which is above the cursor
Insert mode CTRL-Z when 'insertmode' set: suspend Vim
Insert mode <Down> cursor one line down
Insert mode <End> cursor past end of line
Insert mode <Esc> end insert mode (unless 'insertmode' set)
Insert mode <F1> same as <Help>
Insert mode <Help> stop insert mode and display help window
Insert mode <Home> cursor to start of line
Insert mode <Insert> toggle Insert/Replace mode
Insert mode <Left> cursor one character left
Insert mode <LeftMouse> cursor at mouse click
Insert mode <NL> same as <CR>
Insert mode <PageDown> one screenful forward
Insert mode <PageUp> one screenful backward
Insert mode <Right> cursor one character right
Insert mode <ScrollWheelDown> move window three lines down
Insert mode <ScrollWheelLeft> move window six columns left
Insert mode <ScrollWheelRight> move window six columns right
Insert mode <ScrollWheelUp> move window three lines up
Insert mode <S-Down> same as <PageDown>
Insert mode <S-Left> cursor one word left
Insert mode <S-Right> cursor one word right
Insert mode <S-ScrollWheelDown> move window one page down
Insert mode <S-ScrollWheelLeft> move window one page left
Insert mode <S-ScrollWheelRight> move window one page right
Insert mode <S-ScrollWheelUp> move window one page up
Insert mode <S-Up> same as <PageUp>
Insert mode <Tab> insert a <Tab> character
Insert mode <Up> cursor one line up
Normal mode # search backward for the Nth occurrence of the ident under the cursor
Normal mode % find the next (curly/square) bracket on this line and go to its match, or go to matching comment bracket, or go to matching preprocessor directive.
Normal mode & repeat last :s
Normal mode '' cursor to the first CHAR of the line where the cursor was before the latest jump.
Normal mode '( cursor to the first CHAR on the line of the start of the current sentence
Normal mode ') cursor to the first CHAR on the line of the end of the current sentence
Normal mode '< cursor to the first CHAR of the line where highlighted area starts/started in the current buffer.
Normal mode '> cursor to the first CHAR of the line where highlighted area ends/ended in the current buffer.
Normal mode '[ cursor to the first CHAR on the line of the start of last operated text or start of put text
Normal mode '] cursor to the first CHAR on the line of the end of last operated text or end of put text
Normal mode '{ cursor to the first CHAR on the line of the start of the current paragraph
Normal mode '} cursor to the first CHAR on the line of the end of the current paragraph
Normal mode ( cursor N sentences backward
Normal mode ) cursor N sentences forward
Normal mode * search forward for the Nth occurrence of the ident under the cursor
Normal mode + same as <CR>
Normal mode , repeat latest f, t, F or T in opposite direction N times
Normal mode - cursor to the first CHAR N lines higher
Normal mode . repeat last change with count replaced with N
Normal mode : start entering an Ex command
Normal mode ; repeat latest f, t, F or T N times
Normal mode << shift N lines one 'shiftwidth' leftwards
Normal mode == filter N lines through "indent"
Normal mode >> shift N lines one 'shiftwidth' rightwards
Normal mode @: repeat the previous ":" command N times
Normal mode @@ repeat the previous @{a-z} N times
Normal mode [# cursor to N previous unmatched #if, #else or #ifdef
Normal mode [' cursor to previous lowercase mark, on first non-blank
Normal mode [( cursor N times back to unmatched '('
Normal mode [* same as "[/"
Normal mode [/ cursor to N previous start of a C comment
Normal mode [[ cursor N sections backward
Normal mode [] cursor N SECTIONS backward
Normal mode [` cursor to previous lowercase mark
Normal mode [{ cursor N times back to unmatched '{'
Normal mode ]# cursor to N next unmatched #endif or #else
Normal mode ]' cursor to next lowercase mark, on first non-blank
Normal mode ]) cursor N times forward to unmatched ')'
Normal mode ]* same as "]/"
Normal mode ]/ cursor to N next end of a C comment
Normal mode ][ cursor N SECTIONS forward
Normal mode ]] cursor N sections forward
Normal mode ]` cursor to next lowercase mark
Normal mode ]} cursor N times forward to unmatched '}'
Normal mode ^ cursor to the first CHAR of the line
Normal mode _ cursor to the first CHAR N - 1 lines lower
Normal mode `( cursor to the start of the current sentence
Normal mode `) cursor to the end of the current sentence
Normal mode `< cursor to the start of the highlighted area
Normal mode `> cursor to the end of the highlighted area
Normal mode `[ cursor to the start of last operated text or start of putted text
Normal mode `] cursor to the end of last operated text or end of putted text
Normal mode `` cursor to the position before latest jump
Normal mode `{ cursor to the start of the current paragraph
Normal mode `} cursor to the end of the current paragraph
Normal mode { cursor N paragraphs backward
Normal mode | cursor to column N
Normal mode } cursor N paragraphs forward
Normal mode ~ 'tildeop' off: switch case of N characters under cursor and move the cursor N characters to the right
Normal mode $ cursor to the end of Nth next line
Normal mode 0 cursor to the first char of the line
Normal mode 1,2,3,4,5,6,7,8,9 prepend to command to give a count
Normal mode a append text after the cursor N times
Normal mode A append text after the end of the line N times
Normal mode @{a-z} execute the contents of register {a-z} N times
Normal mode "{a-zA-Z0-9.%#:-"} use register {a-zA-Z0-9.%#:-"} for next delete, yank or put (uppercase to append) ({.%#:} only work with put)
Normal mode '{a-zA-Z0-9} cursor to the first CHAR on the line with mark {a-zA-Z0-9}
Normal mode `{a-zA-Z0-9} cursor to the mark {a-zA-Z0-9}
Normal mode b cursor N words backward
Normal mode B cursor N WORDS backward
Normal mode <BS> same as "h"
Normal mode [c cursor N times backwards to start of change
Normal mode ]c cursor N times forward to start of change
Normal mode <C-End> same as "G"
Normal mode [{char} square bracket command (see |[| below)
Normal mode ]{char} square bracket command (see |]| below)
Normal mode <C-Home> same as "gg"
Normal mode <C-Left> same as "b"
Normal mode <C-LeftMouse> ":ta" to the keyword at the mouse click
Normal mode {count}% go to N percentage in the file
Normal mode {count}: start entering an Ex command with range from current line to N-1 lines down
Normal mode {count}<Del> remove the last digit from {count}
Normal mode /<CR> search forward for {pattern} of last search
Normal mode <CR> cursor to the first CHAR N lines lower
Normal mode ?<CR> search backward for {pattern} of last search
Normal mode <C-Right> same as "w"
Normal mode <C-RightMouse> same as "CTRL-T"
Normal mode CTRL-] :ta to ident under cursor
Normal mode CTRL-^ edit Nth alternate file (equivalent to ":e #N")
Normal mode CTRL-A add N to number at/after cursor
Normal mode CTRL- a - z reserved for extensions
Normal mode CTRL-B scroll N screens Backwards
Normal mode CTRL-C interrupt current (search) command
Normal mode CTRL- CTRL-G go to mode specified with 'insertmode'
Normal mode CTRL- CTRL-N go to Normal mode (no-op)
Normal mode [ CTRL-D jump to first #define found in current and included files matching the word under the cursor, start searching at beginning of current file
Normal mode ] CTRL-D jump to first #define found in current and included files matching the word under the cursor, start searching at cursor position
Normal mode CTRL-D scroll Down N lines (default: half a screen)
Normal mode CTRL-E scroll N lines upwards (N lines Extra)
Normal mode CTRL-F scroll N screens Forward
Normal mode CTRL-G display current file name and position
Normal mode CTRL-H same as "h"
Normal mode [ CTRL-I jump to first line in current and included files that contains the word under the cursor, start searching at beginning of current file
Normal mode ] CTRL-I jump to first line in current and included files that contains the word under the cursor, start searching at cursor position
Normal mode CTRL-I same as <Tab>
Normal mode CTRL-J same as "j"
Normal mode CTRL-L redraw screen
Normal mode CTRL-M same as <CR>
Normal mode CTRL-N same as "j"
Normal mode CTRL-O go to N older entry in jump list
Normal mode CTRL-P same as "k"
Normal mode CTRL-Q (used for terminal control flow)
Normal mode CTRL-R redo changes which were undone with 'u'
Normal mode CTRL-S (used for terminal control flow)
Normal mode CTRL-T jump to N older Tag in tag list
Normal mode CTRL-U scroll N lines Upwards (default: half a screen)
Normal mode CTRL-V start blockwise Visual mode
Normal mode CTRL-W {char} window commands, see |CTRL-W|
Normal mode CTRL-X subtract N from number at/after cursor
Normal mode CTRL-Y scroll N lines downwards
Normal mode CTRL-Z suspend program (or start new shell)
Normal mode [d show first #define found in current and included files matching the word under the cursor, start searching at beginning of current file
Normal mode ]d show first #define found in current and included files matching the word under the cursor, start searching at cursor position
Normal mode [D list all defines found in current and included files matching the word under the cursor, start searching at beginning of current file
Normal mode ]D list all #defines found in current and included files matching the word under the cursor, start searching at cursor position
Normal mode do same as ":diffget"
Normal mode <Down> same as "j"
Normal mode dp same as ":diffput"
Normal mode e cursor forward to the end of word N
Normal mode E cursor forward to the end of WORD N
Normal mode <End> same as "$"
Normal mode [f same as "gf"
Normal mode ]f same as "gf"
Normal mode <F1> same as <Help>
Normal mode f{char} cursor to Nth occurrence of {char} to the right
Normal mode F{char} cursor to the Nth occurrence of {char} to the left
Normal mode !!{filter} filter N lines through the {filter} command
Normal mode g# like "#", but without using "<" and ">"
Normal mode g& repeat last ":s" on all lines
Normal mode g* like "*", but without using "<" and ">"
Normal mode g< display previous command output
Normal mode g? Rot13 encoding operator
Normal mode g?? Rot13 encode current line
Normal mode g] :tselect on the tag under the cursor
Normal mode g^ when 'wrap' off go to leftmost non-white character of the current line that is on the screen; when 'wrap' on go to the leftmost non-white character of the current screen line
Normal mode G cursor to line N, default last line
Normal mode g$ when 'wrap' off go to rightmost character of the current line that is on the screen; when 'wrap' on go to the rightmost character of the current screen line
Normal mode g0 when 'wrap' off go to leftmost character of the current line that is on the screen; when 'wrap' on go to the leftmost character of the current screen line
Normal mode g8 print hex value of bytes used in UTF-8 character under the cursor
Normal mode ga print ascii value of character under the cursor
Normal mode g{char} extended commands, see |g| below
Normal mode g CTRL-] |:tjump| to the tag under the cursor
Normal mode g CTRL-A only when compiled with MEM_PROFILE defined: dump a memory profile
Normal mode g CTRL-G show information about current cursor position
Normal mode g CTRL-H start Select block mode
Normal mode gd go to definition of word under the cursor in current function
Normal mode gD go to definition of word under the cursor in current file
Normal mode g<Down> same as "gj"
Normal mode ge go backwards to the end of the previous word
Normal mode gE go backwards to the end of the previous WORD
Normal mode g<End> same as "g$"
Normal mode gf start editing the file whose name is under the cursor
Normal mode gF start editing the file whose name is under the cursor and jump to the line number following the filename.
Normal mode g?g? Rot13 encode current line
Normal mode gg cursor to line N, default first line
Normal mode gh start Select mode
Normal mode gH start Select line mode
Normal mode g<Home> same as "g0"
Normal mode gi like "i", but first move to the |'^| mark
Normal mode gI like "I", but always start in column 1
Normal mode gj like "j", but when 'wrap' on go N screen lines down
Normal mode gJ join lines without inserting space
Normal mode gk like "k", but when 'wrap' on go N screen lines up
Normal mode g<LeftMouse> same as <C-LeftMouse>
Normal mode gm go to character at middle of the screenline
Normal mode g'{mark} like |'| but without changing the jumplist
Normal mode g`{mark} like |`| but without changing the jumplist
Normal mode g<MiddleMouse> same as <C-MiddleMouse>
Normal mode g@{motion} call 'operatorfunc'
Normal mode g~{motion} swap case for Nmove text
Normal mode go cursor to byte N in the buffer
Normal mode gQ switch to "Ex" mode with Vim editing
Normal mode gq{motion} format Nmove text
Normal mode gR enter Virtual Replace mode
Normal mode gr{char} virtual replace N chars with {char}
Normal mode g<RightMouse> same as <C-RightMouse>
Normal mode gs go to sleep for N seconds (default 1)
Normal mode gu{motion} make Nmove text lowercase
Normal mode gU{motion} make Nmove text uppercase
Normal mode g<Up> same as "gk"
Normal mode gv reselect the previous Visual area
Normal mode gV don't reselect the previous Visual area when executing a mapping or menu in Select mode
Normal mode gw{motion} format Nmove text and keep cursor
Normal mode gx execute application for file name under the cursor (only with |netrw| plugin)
Normal mode h cursor N chars to the left
Normal mode H cursor to line N from top of screen
Normal mode <Help> open a help window
Normal mode <Home> same as "0"
Normal mode [i show first line found in current and included files that contains the word under the cursor, start searching at beginning of current file
Normal mode ]i show first line found in current and included files that contains the word under the cursor, start searching at cursor position
Normal mode i insert text before the cursor N times
Normal mode [I list all lines found in current and included files that contain the word under the cursor, start searching at beginning of current file
Normal mode ]I list all lines found in current and included files that contain the word under the cursor, start searching at cursor position
Normal mode I insert text before the first CHAR on the line N times
Normal mode <Insert> same as "i"
Normal mode j cursor N lines downward
Normal mode J Join N lines; default is 2
Normal mode k cursor N lines upward
Normal mode K lookup Keyword under the cursor with 'keywordprg'
Normal mode l cursor N chars to the right
Normal mode L cursor to line N from bottom of screen
Normal mode <Left> same as "h"
Normal mode <LeftMouse> move cursor to the mouse click position
Normal mode [m cursor N times back to start of member function
Normal mode ]m cursor N times forward to end of member function
Normal mode M cursor to middle line of screen
Normal mode m{A-Za-z} set mark {A-Za-z} at cursor position
Normal mode <MiddleMouse> same as "gP" at the mouse click position
Normal mode [<MiddleMouse> same as "[p"
Normal mode ]<MiddleMouse> same as "]p"
Normal mode <{motion} shift Nmove lines one 'shiftwidth' leftwards
Normal mode ={motion} filter Nmove lines through "indent"
Normal mode >{motion} shift Nmove lines one 'shiftwidth' rightwards
Normal mode ~{motion} 'tildeop' on: switch case of Nmove text
Normal mode !{motion}{filter} filter Nmove text through the {filter} command
Normal mode n repeat the latest '/' or '?' N times
Normal mode N repeat the latest '/' or '?' N times in opposite direction
Normal mode <NL> same as "j"
Normal mode o begin a new line below the cursor and insert text, repeat N times
Normal mode O begin a new line above the cursor and insert text, repeat N times
Normal mode [p like "P", but adjust indent to current line
Normal mode ]p like "p", but adjust indent to current line
Normal mode [P same as "[p"
Normal mode ]P same as "[p"
Normal mode <PageDown> same as CTRL-F
Normal mode <PageUp> same as CTRL-B
Normal mode /{pattern}<CR> search forward for the Nth occurrence of {pattern}
Normal mode ?{pattern}<CR> search backward for the Nth previous occurrence of {pattern}
Normal mode q (while recording) stops recording
Normal mode q/ edit / command-line in command-line window
Normal mode q: edit : command-line in command-line window
Normal mode q? edit ? command-line in command-line window
Normal mode Q switch to "Ex" mode
Normal mode q{0-9a-zA-Z"} record typed characters into named register {0-9a-zA-Z"} (uppercase to append)
Normal mode R enter replace mode: overtype existing characters, repeat the entered text N-1 times
Normal mode r{char} replace N chars with {char}
Normal mode <Right> same as "l"
Normal mode <RightMouse> start Visual mode, move cursor to the mouse click position
Normal mode [s move to the previous misspelled word
Normal mode ]s move to next misspelled word
Normal mode <ScrollWheelDown> move window three lines down
Normal mode <ScrollWheelLeft> move window six columns left
Normal mode <ScrollWheelRight> move window six columns right
Normal mode <ScrollWheelUp> move window three lines up
Normal mode <S-Down> same as CTRL-F
Normal mode <S-Left> same as "b"
Normal mode <S-LeftMouse> same as "*" at the mouse click position
Normal mode <Space> same as "l"
Normal mode <S-Right> same as "w"
Normal mode <S-RightMouse> same as "#" at the mouse click position
Normal mode <S-ScrollWheelDown> move window one page down
Normal mode <S-ScrollWheelLeft> move window one page left
Normal mode <S-ScrollWheelRight> move window one page right
Normal mode <S-ScrollWheelUp> move window one page up
Normal mode <S-Up> same as CTRL-B
Normal mode <Tab> go to N newer entry in jump list
Normal mode t{char} cursor till before Nth occurrence of {char} to the right
Normal mode T{char} cursor till after Nth occurrence of {char} to the left
Normal mode u undo changes
Normal mode U undo all latest changes on one line
Normal mode <Undo> same as "u"
Normal mode <Up> same as "k"
Normal mode v start characterwise Visual mode
Normal mode V start linewise Visual mode
Normal mode w cursor N words forward
Normal mode W cursor N WORDS forward
Normal mode ["x]C change from the cursor position to the end of the line, and N-1 more lines [into buffer x]; synonym for "c$"
Normal mode ["x]cc delete N lines [into buffer x] and start insert
Normal mode ["x]c{motion} delete Nmove text [into buffer x] and start insert
Normal mode ["x]D delete the characters under the cursor until the end of the line and N-1 more lines [into buffer x]; synonym for "d$"
Normal mode ["x]dd delete N lines [into buffer x]
Normal mode ["x]<Del> same as "x"
Normal mode ["x]d{motion} delete Nmove text [into buffer x]
Normal mode ["x]gp put the text [from register x] after the cursor N times, leave the cursor after it
Normal mode ["x]gP put the text [from register x] before the cursor N times, leave the cursor after it
Normal mode ["x]p put the text [from register x] after the cursor N times
Normal mode ["x]P put the text [from buffer x] before the cursor N times
Normal mode ["x]s (substitute) delete N characters [into buffer x] and start insert
Normal mode ["x]S delete N lines [into buffer x] and start insert; synonym for "cc".
Normal mode ["x]x delete N characters under and after the cursor [into buffer x]
Normal mode ["x]X delete N characters before the cursor [into buffer x]
Normal mode ["x]Y yank N lines [into buffer x]; synonym for "yy"
Normal mode ["x]y{motion} yank Nmove text [into buffer x]
Normal mode ["x]yy yank N lines [into buffer x]
Normal mode [z move to start of open fold
Normal mode ]z move to end of open fold
Normal mode z+ cursor on line N (default line below window), otherwise like "z<CR>"
Normal mode z- redraw, cursor line at bottom of window, cursor on first non-blank
Normal mode z. redraw, cursor line to center of window, cursor on first non-blank
Normal mode z= give spelling suggestions
Normal mode z^ cursor on line N (default line above window), otherwise like "z-"
Normal mode za open a closed fold, close an open fold
Normal mode zA open a closed fold or close an open fold recursively
Normal mode zb redraw, cursor line at bottom of window
Normal mode zc close a fold
Normal mode zC close folds recursively
Normal mode z{char} commands starting with 'z', see |z| below
Normal mode z<CR> redraw, cursor line to top of window, cursor on first non-blank
Normal mode zd delete a fold
Normal mode zD delete folds recursively
Normal mode ze when 'wrap' off scroll horizontally to position the cursor at the end (right side) of the screen
Normal mode zE eliminate all folds
Normal mode zF create a fold for N lines
Normal mode zf{motion} create a fold for Nmove text
Normal mode zg mark word as good spelled word
Normal mode zG mark word as good spelled word
Normal mode zh when 'wrap' off scroll screen N characters to the right
Normal mode z{height}<CR> redraw, make window {height} lines high
Normal mode zi toggle 'foldenable'
Normal mode zj move to the start of the next fold
Normal mode zk move to the end of the previous fold
Normal mode zl when 'wrap' off scroll screen N characters to the left
Normal mode z<Left> same as "zh"
Normal mode zm subtract one from 'foldlevel'
Normal mode zM set 'foldlevel' to zero
Normal mode zn reset 'foldenable'
Normal mode zN set 'foldenable'
Normal mode zo open fold
Normal mode zO open folds recursively
Normal mode ZQ exit current file always
Normal mode zr add one to 'foldlevel'
Normal mode zR set 'foldlevel' to the deepest fold
Normal mode z<Right> same as "zl"
Normal mode zs when 'wrap' off scroll horizontally to position the cursor at the start (left side) of the screen
Normal mode zt redraw, cursor line at top of window
Normal mode zv open enough folds to view the cursor line
Normal mode zw mark word as wrong (bad) spelled word
Normal mode zW mark word as wrong (bad) spelled word
Normal mode zx re-apply 'foldlevel' and do "zv"
Normal mode zX re-apply 'foldlevel'
Normal mode zz redraw, cursor line at center of window
Normal mode ZZ store current file if modified, and exit
submode CTRL-X CTRL-] complete tags
submode CTRL-X CTRL-D complete defined identifiers
submode CTRL-X CTRL-E scroll up
submode CTRL-X CTRL-F complete file names
submode CTRL-X CTRL-I complete identifiers
submode CTRL-X CTRL-K complete identifiers from dictionary
submode CTRL-X CTRL-L complete whole lines
submode CTRL-X CTRL-N next completion
submode CTRL-X CTRL-O omni completion
submode CTRL-X CTRL-P previous completion
submode CTRL-X CTRL-S spelling suggestions
submode CTRL-X CTRL-T complete identifiers from thesaurus
submode CTRL-X CTRL-U complete with 'completefunc'
submode CTRL-X CTRL-V complete like in : command line
submode CTRL-X CTRL-Y scroll down
submode CTRL-X s spelling suggestions
Text objects a" double quoted string
Text objects a' single quoted string
Text objects a( same as ab
Text objects a) same as ab
Text objects a< "a <>" from '<' to the matching '>'
Text objects a> same as a<
Text objects a[ "a []" from '[' to the matching ']'
Text objects a] same as a[
Text objects a` string in backticks
Text objects a{ same as aB
Text objects a} same as aB
Text objects ab "a block" from "[(" to "])" (with braces)
Text objects aB "a Block" from "[{" to "]}" (with brackets)
Text objects ap "a paragraph" (with white space)
Text objects as "a sentence" (with white space)
Text objects at "a tag block" (with white space)
Text objects aw "a word" (with white space)
Text objects aW "a WORD" (with white space)
Text objects i" double quoted string without the quotes
Text objects i' single quoted string without the quotes
Text objects i( same as ib
Text objects i) same as ib
Text objects i< "inner <>" from '<' to the matching '>'
Text objects i> same as i<
Text objects i[ "inner []" from '[' to the matching ']'
Text objects i] same as i[
Text objects i` string in backticks without the backticks
Text objects i{ same as iB
Text objects i} same as iB
Text objects ib "inner block" from "[(" to "])"
Text objects iB "inner Block" from "[{" and "]}"
Text objects ip "inner paragraph"
Text objects is "inner sentence"
Text objects it "inner tag block"
Text objects iw "inner word"
Text objects iW "inner WORD"
Visual mode : start a command-line with the highlighted lines as a range
Visual mode < shift the highlighted lines one 'shiftwidth' left
Visual mode = filter the highlighted lines through the external program given with the 'equalprg' option
Visual mode > shift the highlighted lines one 'shiftwidth' right
Visual mode ~ swap case for the highlighted area
Visual mode a" extend highlighted area with a double quoted string
Visual mode a' extend highlighted area with a single quoted string
Visual mode a( same as ab
Visual mode a) same as ab
Visual mode a< extend highlighted area with a <> block
Visual mode a> same as a<
Visual mode a[ extend highlighted area with a [] block
Visual mode a] same as a[
Visual mode a` extend highlighted area with a backtick quoted string
Visual mode a{ same as aB
Visual mode a} same as aB
Visual mode A block mode: append same text in all lines, after the highlighted area
Visual mode ab extend highlighted area with a () block
Visual mode aB extend highlighted area with a {} block
Visual mode ap extend highlighted area with a paragraph
Visual mode as extend highlighted area with a sentence
Visual mode at extend highlighted area with a tag block
Visual mode aw extend highlighted area with "a word"
Visual mode aW extend highlighted area with "a WORD"
Visual mode <BS> Select mode: delete highlighted area
Visual mode c delete highlighted area and start insert
Visual mode C delete the highlighted lines and start insert
Visual mode CTRL-] jump to highlighted tag
Visual mode CTRL-C stop Visual mode
Visual mode CTRL- CTRL-G go to mode specified with 'insertmode'
Visual mode CTRL- CTRL-N stop Visual mode
Visual mode CTRL-G toggle between Visual mode and Select mode
Visual mode CTRL-H same as <BS>
Visual mode CTRL-O switch from Select to Visual mode for one command
Visual mode CTRL-V make Visual mode blockwise or stop Visual mode
Visual mode d delete highlighted area
Visual mode D delete the highlighted lines
Visual mode <Esc> stop Visual mode
Visual mode !{filter} filter the highlighted lines through the external command {filter}
Visual mode gJ join the highlighted lines without inserting spaces
Visual mode gq format the highlighted lines
Visual mode gv exchange current and previous highlighted area
Visual mode i" extend highlighted area with a double quoted string (without quotes)
Visual mode i' extend highlighted area with a single quoted string (without quotes)
Visual mode i( same as ib
Visual mode i) same as ib
Visual mode i< extend highlighted area with inner <> block
Visual mode i> same as i<
Visual mode i[ extend highlighted area with inner [] block
Visual mode i] same as i[
Visual mode i` extend highlighted area with a backtick quoted string (without the backticks)
Visual mode i{ same as iB
Visual mode i} same as iB
Visual mode I block mode: insert same text in all lines, before the highlighted area
Visual mode ib extend highlighted area with inner () block
Visual mode iB extend highlighted area with inner {} block
Visual mode ip extend highlighted area with inner paragraph
Visual mode is extend highlighted area with inner sentence
Visual mode it extend highlighted area with inner tag block
Visual mode iw extend highlighted area with "inner word"
Visual mode iW extend highlighted area with "inner WORD"
Visual mode J join the highlighted lines
Visual mode K run 'keywordprg' on the highlighted area
Visual mode o move cursor to other corner of area
Visual mode O Move horizontally to other corner of area.
Visual mode Q does not start Ex mode
Visual mode r delete highlighted area and start insert
Visual mode R delete the highlighted lines and start insert
Visual mode s delete highlighted area and start insert
Visual mode S delete the highlighted lines and start insert
Visual mode u make highlighted area lowercase
Visual mode U make highlighted area uppercase
Visual mode v make Visual mode characterwise or stop Visual mode
Visual mode V make Visual mode linewise or stop Visual mode
Visual mode x delete the highlighted area
Visual mode X delete the highlighted lines
Visual mode y yank the highlighted area
Visual mode Y yank the highlighted lines
Window commands CTRL-W + increase current window height N lines
Window commands CTRL-W - decrease current window height N lines
Window commands CTRL-W < decrease current window width N columns
Window commands CTRL-W = make all windows the same height & width
Window commands CTRL-W > increase current window width N columns
Window commands CTRL-W ] split window and jump to tag under cursor
Window commands CTRL-W ^ split current window and edit alternate file N
Window commands CTRL-W _ set current window height to N (default: very high)
Window commands CTRL-W | set window width to N columns
Window commands CTRL-W } show tag under cursor in preview window
Window commands CTRL-W b go to bottom window
Window commands CTRL-W c close current window (like |:close|)
Window commands CTRL-W CTRL-] same as "CTRL-W ]"
Window commands CTRL-W CTRL-^ same as "CTRL-W ^"
Window commands CTRL-W CTRL-_ same as "CTRL-W _"
Window commands CTRL-W CTRL-B same as "CTRL-W b"
Window commands CTRL-W CTRL-C same as "CTRL-W c"
Window commands CTRL-W CTRL-D same as "CTRL-W d"
Window commands CTRL-W CTRL-F same as "CTRL-W f"
Window commands CTRL-W CTRL-G same as "CTRL-W g .."
Window commands CTRL-W CTRL-H same as "CTRL-W h"
Window commands CTRL-W CTRL-I same as "CTRL-W i"
Window commands CTRL-W CTRL-J same as "CTRL-W j"
Window commands CTRL-W CTRL-K same as "CTRL-W k"
Window commands CTRL-W CTRL-L same as "CTRL-W l"
Window commands CTRL-W CTRL-N same as "CTRL-W n"
Window commands CTRL-W CTRL-O same as "CTRL-W o"
Window commands CTRL-W CTRL-P same as "CTRL-W p"
Window commands CTRL-W CTRL-Q same as "CTRL-W q"
Window commands CTRL-W CTRL-R same as "CTRL-W r"
Window commands CTRL-W CTRL-S same as "CTRL-W s"
Window commands CTRL-W CTRL-T same as "CTRL-W t"
Window commands CTRL-W CTRL-V same as "CTRL-W v"
Window commands CTRL-W CTRL-W same as "CTRL-W w"
Window commands CTRL-W CTRL-X same as "CTRL-W x"
Window commands CTRL-W CTRL-Z same as "CTRL-W z"
Window commands CTRL-W d split window and jump to definition under the cursor
Window commands CTRL-W <Down> same as "CTRL-W j"
Window commands CTRL-W f split window and edit file name under the cursor
Window commands CTRL-W F split window and edit file name under the cursor and jump to the line number following the file name.
Window commands CTRL-W g ] split window and do |:tselect| for tag under cursor
Window commands CTRL-W g } do a |:ptjump| to the tag under the cursor
Window commands CTRL-W g CTRL-] split window and do |:tjump| to tag under cursor
Window commands CTRL-W g f edit file name under the cursor in a new tab page
Window commands CTRL-W g F edit file name under the cursor in a new tab page and jump to the line number following the file name.
Window commands CTRL-W h go to Nth left window (stop at first window)
Window commands CTRL-W H move current window to the far left
Window commands CTRL-W i split window and jump to declaration of identifier under the cursor
Window commands CTRL-W j go N windows down (stop at last window)
Window commands CTRL-W J move current window to the very bottom
Window commands CTRL-W k go N windows up (stop at first window)
Window commands CTRL-W K move current window to the very top
Window commands CTRL-W l go to Nth right window (stop at last window)
Window commands CTRL-W L move current window to the far right
Window commands CTRL-W <Left> same as "CTRL-W h"
Window commands CTRL-W n open new window, N lines high
Window commands CTRL-W o close all but current window (like |:only|)
Window commands CTRL-W p go to previous (last accessed) window
Window commands CTRL-W P go to preview window
Window commands CTRL-W q quit current window (like |:quit|)
Window commands CTRL-W r rotate windows downwards N times
Window commands CTRL-W R rotate windows upwards N times
Window commands CTRL-W <Right> same as "CTRL-W l"
Window commands CTRL-W s split current window in two parts, new window N lines high
Window commands CTRL-W S same as "CTRL-W s"
Window commands CTRL-W t go to top window
Window commands CTRL-W T move current window to a new tab page
Window commands CTRL-W <Up> same as "CTRL-W k"
Window commands CTRL-W v split current window vertically, new window N columns wide
Window commands CTRL-W w go to N next window (wrap around)
Window commands CTRL-W W go to N previous window (wrap around)
Window commands CTRL-W x exchange current window with window N (default: next window)
Window commands CTRL-W z close preview window