index.txt 77 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723
  1. *index.txt* Nvim
  2. VIM REFERENCE MANUAL by Bram Moolenaar
  3. *index*
  4. This file contains a list of all commands for each mode, with a tag and a
  5. short description. The lists are sorted on ASCII value.
  6. Tip: When looking for certain functionality, use a search command. E.g.,
  7. to look for deleting something, use: "/delete".
  8. For an overview of options see |option-list|.
  9. For an overview of built-in functions see |functions|.
  10. For a list of Vim variables see |vim-variable|.
  11. Type |gO| to see the table of contents.
  12. ==============================================================================
  13. 1. Insert mode *insert-index*
  14. tag char action in Insert mode ~
  15. ------------------------------------------------------------------------------ ~
  16. |i_CTRL-@| CTRL-@ insert previously inserted text and stop
  17. insert
  18. |i_CTRL-A| CTRL-A insert previously inserted text
  19. |i_CTRL-C| CTRL-C quit insert mode, without checking for
  20. abbreviation
  21. |i_CTRL-D| CTRL-D delete one shiftwidth of indent in the current
  22. line
  23. |i_CTRL-E| CTRL-E insert the character which is below the cursor
  24. CTRL-F not used (but by default it's in 'cinkeys' to
  25. re-indent the current line)
  26. |i_CTRL-G_j| CTRL-G CTRL-J line down, to column where inserting started
  27. |i_CTRL-G_j| CTRL-G j line down, to column where inserting started
  28. |i_CTRL-G_j| CTRL-G <Down> line down, to column where inserting started
  29. |i_CTRL-G_k| CTRL-G CTRL-K line up, to column where inserting started
  30. |i_CTRL-G_k| CTRL-G k line up, to column where inserting started
  31. |i_CTRL-G_k| CTRL-G <Up> line up, to column where inserting started
  32. |i_CTRL-G_u| CTRL-G u start new undoable edit
  33. |i_CTRL-G_U| CTRL-G U don't break undo with next cursor movement
  34. |i_<BS>| <BS> delete character before the cursor
  35. |i_digraph| {char1}<BS>{char2}
  36. enter digraph (only when 'digraph' option set)
  37. |i_CTRL-H| CTRL-H same as <BS>
  38. |i_<Tab>| <Tab> insert a <Tab> character
  39. |i_CTRL-I| CTRL-I same as <Tab>
  40. |i_<NL>| <NL> same as <CR>
  41. |i_CTRL-J| CTRL-J same as <CR>
  42. |i_CTRL-K| CTRL-K {char1} {char2}
  43. enter digraph
  44. |i_<CR>| <CR> begin new line
  45. |i_CTRL-M| CTRL-M same as <CR>
  46. |i_CTRL-N| CTRL-N find next match for keyword in front of the
  47. cursor
  48. |i_CTRL-O| CTRL-O execute a single command and return to insert
  49. mode
  50. |i_CTRL-P| CTRL-P find previous match for keyword in front of
  51. the cursor
  52. |i_CTRL-Q| CTRL-Q same as CTRL-V, unless used for terminal
  53. control flow
  54. |i_CTRL-SHIFT-Q| CTRL-SHIFT-Q {char}
  55. like CTRL-Q unless |tui-modifyOtherKeys| is active
  56. |i_CTRL-R| CTRL-R {register}
  57. insert the contents of a register
  58. |i_CTRL-R_CTRL-R| CTRL-R CTRL-R {register}
  59. insert the contents of a register literally
  60. |i_CTRL-R_CTRL-O| CTRL-R CTRL-O {register}
  61. insert the contents of a register literally
  62. and don't auto-indent
  63. |i_CTRL-R_CTRL-P| CTRL-R CTRL-P {register}
  64. insert the contents of a register literally
  65. and fix indent.
  66. CTRL-S not used or used for terminal control flow
  67. |i_CTRL-T| CTRL-T insert one shiftwidth of indent in current
  68. line
  69. |i_CTRL-U| CTRL-U delete all entered characters in the current
  70. line
  71. |i_CTRL-V| CTRL-V {char} insert next non-digit literally
  72. |i_CTRL-SHIFT-V| CTRL-SHIFT-V {char}
  73. like CTRL-V unless |tui-modifyOtherKeys| is active
  74. |i_CTRL-V_digit| CTRL-V {number} insert three digit decimal number as a single
  75. byte.
  76. |i_CTRL-W| CTRL-W delete word before the cursor
  77. |i_CTRL-X| CTRL-X {mode} enter CTRL-X sub mode, see |i_CTRL-X_index|
  78. |i_CTRL-Y| CTRL-Y insert the character which is above the cursor
  79. |i_<Esc>| <Esc> end insert mode
  80. |i_CTRL-[| CTRL-[ same as <Esc>
  81. |i_CTRL-\_CTRL-N| CTRL-\ CTRL-N go to Normal mode
  82. |i_CTRL-\_CTRL-G| CTRL-\ CTRL-G go to Normal mode
  83. CTRL-\ a - z reserved for extensions
  84. CTRL-\ others not used
  85. |i_CTRL-]| CTRL-] trigger abbreviation
  86. |i_CTRL-^| CTRL-^ toggle use of |:lmap| mappings
  87. |i_CTRL-_| CTRL-_ When 'allowrevins' set: toggle 'revins'
  88. <Space> to '~' not used, except '0' and '^' followed by
  89. CTRL-D
  90. |i_0_CTRL-D| 0 CTRL-D delete all indent in the current line
  91. |i_^_CTRL-D| ^ CTRL-D delete all indent in the current line, restore
  92. it in the next line
  93. |i_<Del>| <Del> delete character under the cursor
  94. Meta characters (0x80 to 0xff, 128 to 255)
  95. not used
  96. |i_<Left>| <Left> cursor one character left
  97. |i_<S-Left>| <S-Left> cursor one word left
  98. |i_<C-Left>| <C-Left> cursor one word left
  99. |i_<Right>| <Right> cursor one character right
  100. |i_<S-Right>| <S-Right> cursor one word right
  101. |i_<C-Right>| <C-Right> cursor one word right
  102. |i_<Up>| <Up> cursor one line up
  103. |i_<S-Up>| <S-Up> same as <PageUp>
  104. |i_<Down>| <Down> cursor one line down
  105. |i_<S-Down>| <S-Down> same as <PageDown>
  106. |i_<Home>| <Home> cursor to start of line
  107. |i_<C-Home>| <C-Home> cursor to start of file
  108. |i_<End>| <End> cursor past end of line
  109. |i_<C-End>| <C-End> cursor past end of file
  110. |i_<PageUp>| <PageUp> one screenful backward
  111. |i_<PageDown>| <PageDown> one screenful forward
  112. |i_<F1>| <F1> same as <Help>
  113. |i_<Help>| <Help> stop insert mode and display help window
  114. |i_<Insert>| <Insert> toggle Insert/Replace mode
  115. |i_<LeftMouse>| <LeftMouse> cursor at mouse click
  116. |i_<ScrollWheelDown>| <ScrollWheelDown> move window three lines down
  117. |i_<S-ScrollWheelDown>| <S-ScrollWheelDown> move window one page down
  118. |i_<ScrollWheelUp>| <ScrollWheelUp> move window three lines up
  119. |i_<S-ScrollWheelUp>| <S-ScrollWheelUp> move window one page up
  120. |i_<ScrollWheelLeft>| <ScrollWheelLeft> move window six columns left
  121. |i_<S-ScrollWheelLeft>| <S-ScrollWheelLeft> move window one page left
  122. |i_<ScrollWheelRight>| <ScrollWheelRight> move window six columns right
  123. |i_<S-ScrollWheelRight>| <S-ScrollWheelRight> move window one page right
  124. commands in CTRL-X submode *i_CTRL-X_index*
  125. |i_CTRL-X_CTRL-D| CTRL-X CTRL-D complete defined identifiers
  126. |i_CTRL-X_CTRL-E| CTRL-X CTRL-E scroll up
  127. |i_CTRL-X_CTRL-F| CTRL-X CTRL-F complete file names
  128. |i_CTRL-X_CTRL-I| CTRL-X CTRL-I complete identifiers
  129. |i_CTRL-X_CTRL-K| CTRL-X CTRL-K complete identifiers from dictionary
  130. |i_CTRL-X_CTRL-L| CTRL-X CTRL-L complete whole lines
  131. |i_CTRL-X_CTRL-N| CTRL-X CTRL-N next completion
  132. |i_CTRL-X_CTRL-O| CTRL-X CTRL-O omni completion
  133. |i_CTRL-X_CTRL-P| CTRL-X CTRL-P previous completion
  134. |i_CTRL-X_CTRL-S| CTRL-X CTRL-S spelling suggestions
  135. |i_CTRL-X_CTRL-T| CTRL-X CTRL-T complete identifiers from thesaurus
  136. |i_CTRL-X_CTRL-Y| CTRL-X CTRL-Y scroll down
  137. |i_CTRL-X_CTRL-U| CTRL-X CTRL-U complete with 'completefunc'
  138. |i_CTRL-X_CTRL-V| CTRL-X CTRL-V complete like in : command line
  139. |i_CTRL-X_CTRL-Z| CTRL-X CTRL-Z stop completion, keeping the text as-is
  140. |i_CTRL-X_CTRL-]| CTRL-X CTRL-] complete tags
  141. |i_CTRL-X_s| CTRL-X s spelling suggestions
  142. commands in completion mode (see |popupmenu-keys|)
  143. |complete_CTRL-E| CTRL-E stop completion and go back to original text
  144. |complete_CTRL-Y| CTRL-Y accept selected match and stop completion
  145. CTRL-L insert one character from the current match
  146. <CR> insert currently selected match
  147. <BS> delete one character and redo search
  148. CTRL-H same as <BS>
  149. <Up> select the previous match
  150. <Down> select the next match
  151. <PageUp> select a match several entries back
  152. <PageDown> select a match several entries forward
  153. other stop completion and insert the typed character
  154. ==============================================================================
  155. 2. Normal mode *normal-index*
  156. CHAR any non-blank character
  157. WORD a sequence of non-blank characters
  158. N a number entered before the command
  159. {motion} a cursor movement command
  160. Nmove the text that is moved over with a {motion}
  161. SECTION a section that possibly starts with '}' instead of '{'
  162. note: 1 = cursor movement command; 2 = can be undone/redone
  163. tag char note action in Normal mode ~
  164. ------------------------------------------------------------------------------ ~
  165. CTRL-@ not used
  166. |CTRL-A| CTRL-A 2 add N to number at/after cursor
  167. |CTRL-B| CTRL-B 1 scroll N screens Backwards
  168. |CTRL-C| CTRL-C interrupt current (search) command
  169. |CTRL-D| CTRL-D scroll Down N lines (default: half a screen)
  170. |CTRL-E| CTRL-E scroll N lines upwards (N lines Extra)
  171. |CTRL-F| CTRL-F 1 scroll N screens Forward
  172. |CTRL-G| CTRL-G display current file name and position
  173. |<BS>| <BS> 1 same as "h"
  174. |CTRL-H| CTRL-H 1 same as "h"
  175. |<Tab>| <Tab> 1 go to N newer entry in jump list
  176. |CTRL-I| CTRL-I 1 same as <Tab>
  177. |<NL>| <NL> 1 same as "j"
  178. |<S-NL>| <S-NL> 1 same as CTRL-F
  179. |CTRL-J| CTRL-J 1 same as "j"
  180. CTRL-K not used
  181. |CTRL-L| CTRL-L redraw screen
  182. |<CR>| <CR> 1 cursor to the first CHAR N lines lower
  183. |<S-CR>| <S-CR> 1 same as CTRL-F
  184. |CTRL-M| CTRL-M 1 same as <CR>
  185. |CTRL-N| CTRL-N 1 same as "j"
  186. |CTRL-O| CTRL-O 1 go to N older entry in jump list
  187. |CTRL-P| CTRL-P 1 same as "k"
  188. CTRL-Q not used, or used for terminal control flow
  189. |CTRL-R| CTRL-R 2 redo changes which were undone with 'u'
  190. CTRL-S not used, or used for terminal control flow
  191. |CTRL-T| CTRL-T jump to N older Tag in tag list
  192. |CTRL-U| CTRL-U scroll N lines Upwards (default: half a
  193. screen)
  194. |CTRL-V| CTRL-V start blockwise Visual mode
  195. |CTRL-W| CTRL-W {char} window commands, see |CTRL-W|
  196. |CTRL-X| CTRL-X 2 subtract N from number at/after cursor
  197. |CTRL-Y| CTRL-Y scroll N lines downwards
  198. |CTRL-Z| CTRL-Z suspend program (or start new shell)
  199. CTRL-[ <Esc> not used
  200. |CTRL-\_CTRL-N| CTRL-\ CTRL-N go to Normal mode (no-op)
  201. |CTRL-\_CTRL-G| CTRL-\ CTRL-G go to Normal mode (no-op)
  202. CTRL-\ a - z reserved for extensions
  203. CTRL-\ others not used
  204. |CTRL-]| CTRL-] :ta to ident under cursor
  205. |CTRL-^| CTRL-^ edit Nth alternate file (equivalent to
  206. ":e #N")
  207. |CTRL-<Tab>| CTRL-<Tab> same as `g<Tab>` : go to last accessed tab
  208. page
  209. CTRL-_ not used
  210. |<Space>| <Space> 1 same as "l"
  211. |!| !{motion}{filter}
  212. 2 filter Nmove text through the {filter}
  213. command
  214. |!!| !!{filter} 2 filter N lines through the {filter} command
  215. |quote| "{register} use {register} for next delete, yank or put
  216. ({.%#:} only work with put)
  217. |#| # 1 search backward for the Nth occurrence of
  218. the ident under the cursor
  219. |$| $ 1 cursor to the end of Nth next line
  220. |%| % 1 find the next (curly/square) bracket on
  221. this line and go to its match, or go to
  222. matching comment bracket, or go to matching
  223. preprocessor directive.
  224. |N%| {count}% 1 go to N percentage in the file
  225. |&| & 2 repeat last :s
  226. |'| '{a-zA-Z0-9} 1 cursor to the first CHAR on the line with
  227. mark {a-zA-Z0-9}
  228. |''| '' 1 cursor to the first CHAR of the line where
  229. the cursor was before the latest jump.
  230. |'(| '( 1 cursor to the first CHAR on the line of the
  231. start of the current sentence
  232. |')| ') 1 cursor to the first CHAR on the line of the
  233. end of the current sentence
  234. |'<| '< 1 cursor to the first CHAR of the line where
  235. highlighted area starts/started in the
  236. current buffer.
  237. |'>| '> 1 cursor to the first CHAR of the line where
  238. highlighted area ends/ended in the current
  239. buffer.
  240. |'[| '[ 1 cursor to the first CHAR on the line of the
  241. start of last operated text or start of put
  242. text
  243. |']| '] 1 cursor to the first CHAR on the line of the
  244. end of last operated text or end of put
  245. text
  246. |'{| '{ 1 cursor to the first CHAR on the line of the
  247. start of the current paragraph
  248. |'}| '} 1 cursor to the first CHAR on the line of the
  249. end of the current paragraph
  250. |(| ( 1 cursor N sentences backward
  251. |)| ) 1 cursor N sentences forward
  252. |star| * 1 search forward for the Nth occurrence of
  253. the ident under the cursor
  254. |+| + 1 same as <CR>
  255. |<S-Plus>| <S-+> 1 same as CTRL-F
  256. |,| , 1 repeat latest f, t, F or T in opposite
  257. direction N times
  258. |-| - 1 cursor to the first CHAR N lines higher
  259. |<S-Minus>| <S--> 1 same as CTRL-B
  260. |.| . 2 repeat last change with count replaced with
  261. N
  262. |/| /{pattern}<CR> 1 search forward for the Nth occurrence of
  263. {pattern}
  264. |/<CR>| /<CR> 1 search forward for {pattern} of last search
  265. |0| 0 1 cursor to the first char of the line
  266. |count| 1 prepend to command to give a count
  267. |count| 2 "
  268. |count| 3 "
  269. |count| 4 "
  270. |count| 5 "
  271. |count| 6 "
  272. |count| 7 "
  273. |count| 8 "
  274. |count| 9 "
  275. |:| : 1 start entering an Ex command
  276. |N:| {count}: start entering an Ex command with range
  277. from current line to N-1 lines down
  278. |;| ; 1 repeat latest f, t, F or T N times
  279. |<| <{motion} 2 shift Nmove lines one 'shiftwidth'
  280. leftwards
  281. |<<| << 2 shift N lines one 'shiftwidth' leftwards
  282. |=| ={motion} 2 filter Nmove lines through "indent"
  283. |==| == 2 filter N lines through "indent"
  284. |>| >{motion} 2 shift Nmove lines one 'shiftwidth'
  285. rightwards
  286. |>>| >> 2 shift N lines one 'shiftwidth' rightwards
  287. |?| ?{pattern}<CR> 1 search backward for the Nth previous
  288. occurrence of {pattern}
  289. |?<CR>| ?<CR> 1 search backward for {pattern} of last search
  290. |@| @{a-z} 2 execute the contents of register {a-z}
  291. N times
  292. |@:| @: repeat the previous ":" command N times
  293. |@@| @@ 2 repeat the previous @{a-z} N times
  294. |A| A 2 append text after the end of the line N times
  295. |B| B 1 cursor N WORDS backward
  296. |C| ["x]C 2 change from the cursor position to the end
  297. of the line, and N-1 more lines [into
  298. register x]; synonym for "c$"
  299. |D| ["x]D 2 delete the characters under the cursor
  300. until the end of the line and N-1 more
  301. lines [into register x]; synonym for "d$"
  302. |E| E 1 cursor forward to the end of WORD N
  303. |F| F{char} 1 cursor to the Nth occurrence of {char} to
  304. the left
  305. |G| G 1 cursor to line N, default last line
  306. |H| H 1 cursor to line N from top of screen
  307. |I| I 2 insert text before the first CHAR on the
  308. line N times
  309. |J| J 2 Join N lines; default is 2
  310. |K| K lookup Keyword under the cursor with
  311. 'keywordprg'
  312. |L| L 1 cursor to line N from bottom of screen
  313. |M| M 1 cursor to middle line of screen
  314. |N| N 1 repeat the latest '/' or '?' N times in
  315. opposite direction
  316. |O| O 2 begin a new line above the cursor and
  317. insert text, repeat N times
  318. |P| ["x]P 2 put the text [from register x] before the
  319. cursor N times
  320. |R| R 2 enter replace mode: overtype existing
  321. characters, repeat the entered text N-1
  322. times
  323. |S| ["x]S 2 delete N lines [into register x] and start
  324. insert; synonym for "cc".
  325. |T| T{char} 1 cursor till after Nth occurrence of {char}
  326. to the left
  327. |U| U 2 undo all latest changes on one line
  328. |V| V start linewise Visual mode
  329. |W| W 1 cursor N WORDS forward
  330. |X| ["x]X 2 delete N characters before the cursor [into
  331. register x]
  332. |Y| ["x]Y yank N lines [into register x]; synonym for
  333. "yy"
  334. Note: Mapped to "y$" by default. |default-mappings|
  335. |ZZ| ZZ write if buffer changed and close window
  336. |ZQ| ZQ close window without writing
  337. |[| [{char} square bracket command (see |[| below)
  338. \ not used
  339. |]| ]{char} square bracket command (see |]| below)
  340. |^| ^ 1 cursor to the first CHAR of the line
  341. |_| _ 1 cursor to the first CHAR N - 1 lines lower
  342. |`| `{a-zA-Z0-9} 1 cursor to the mark {a-zA-Z0-9}
  343. |`(| `( 1 cursor to the start of the current sentence
  344. |`)| `) 1 cursor to the end of the current sentence
  345. |`<| `< 1 cursor to the start of the highlighted area
  346. |`>| `> 1 cursor to the end of the highlighted area
  347. |`[| `[ 1 cursor to the start of last operated text
  348. or start of putted text
  349. |`]| `] 1 cursor to the end of last operated text or
  350. end of putted text
  351. |``| "``" 1 cursor to the position before latest jump
  352. |`{| `{ 1 cursor to the start of the current paragraph
  353. |`}| `} 1 cursor to the end of the current paragraph
  354. |a| a 2 append text after the cursor N times
  355. |b| b 1 cursor N words backward
  356. |c| ["x]c{motion} 2 delete Nmove text [into register x] and
  357. start insert
  358. |cc| ["x]cc 2 delete N lines [into register x] and start
  359. insert
  360. |d| ["x]d{motion} 2 delete Nmove text [into register x]
  361. |dd| ["x]dd 2 delete N lines [into register x]
  362. |do| do 2 same as ":diffget"
  363. |dp| dp 2 same as ":diffput"
  364. |e| e 1 cursor forward to the end of word N
  365. |f| f{char} 1 cursor to Nth occurrence of {char} to the
  366. right
  367. |g| g{char} extended commands, see |g| below
  368. |h| h 1 cursor N chars to the left
  369. |i| i 2 insert text before the cursor N times
  370. |j| j 1 cursor N lines downward
  371. |k| k 1 cursor N lines upward
  372. |l| l 1 cursor N chars to the right
  373. |m| m{A-Za-z} set mark {A-Za-z} at cursor position
  374. |n| n 1 repeat the latest '/' or '?' N times
  375. |o| o 2 begin a new line below the cursor and
  376. insert text, repeat N times
  377. |p| ["x]p 2 put the text [from register x] after the
  378. cursor N times
  379. |q| q{0-9a-zA-Z"} record typed characters into named register
  380. {0-9a-zA-Z"} (uppercase to append)
  381. |q| q (while recording) stops recording
  382. |Q| Q 2 replay last recorded register
  383. |q:| q: edit : command-line in command-line window
  384. |q/| q/ edit / command-line in command-line window
  385. |q?| q? edit ? command-line in command-line window
  386. |r| r{char} 2 replace N chars with {char}
  387. |s| ["x]s 2 (substitute) delete N characters [into
  388. register x] and start insert
  389. |t| t{char} 1 cursor till before Nth occurrence of {char}
  390. to the right
  391. |u| u 2 undo changes
  392. |v| v start charwise Visual mode
  393. |w| w 1 cursor N words forward
  394. |x| ["x]x 2 delete N characters under and after the
  395. cursor [into register x]
  396. |y| ["x]y{motion} yank Nmove text [into register x]
  397. |yy| ["x]yy yank N lines [into register x]
  398. |z| z{char} commands starting with 'z', see |z| below
  399. |{| { 1 cursor N paragraphs backward
  400. |bar| | 1 cursor to column N
  401. |}| } 1 cursor N paragraphs forward
  402. |~| ~ 2 'tildeop' off: switch case of N characters
  403. under cursor and move the cursor N
  404. characters to the right
  405. |~| ~{motion} 'tildeop' on: switch case of Nmove text
  406. |<C-End>| <C-End> 1 same as "G"
  407. |<C-Home>| <C-Home> 1 same as "gg"
  408. |<C-Left>| <C-Left> 1 same as "b"
  409. |<C-LeftMouse>| <C-LeftMouse> ":ta" to the keyword at the mouse click
  410. |<C-Right>| <C-Right> 1 same as "w"
  411. |<C-RightMouse>| <C-RightMouse> same as "CTRL-T"
  412. |<C-Tab>| <C-Tab> same as "g<Tab>"
  413. |<Del>| ["x]<Del> 2 same as "x"
  414. |N<Del>| {count}<Del> remove the last digit from {count}
  415. |<Down>| <Down> 1 same as "j"
  416. |<End>| <End> 1 same as "$"
  417. |<F1>| <F1> same as <Help>
  418. |<Help>| <Help> open a help window
  419. |<Home>| <Home> 1 same as "0"
  420. |<Insert>| <Insert> 2 same as "i"
  421. |<Left>| <Left> 1 same as "h"
  422. |<LeftMouse>| <LeftMouse> 1 move cursor to the mouse click position
  423. |<MiddleMouse>| <MiddleMouse> 2 same as "gP" at the mouse click position
  424. |<PageDown>| <PageDown> same as CTRL-F
  425. |<PageUp>| <PageUp> same as CTRL-B
  426. |<Right>| <Right> 1 same as "l"
  427. |<RightMouse>| <RightMouse> start Visual mode, move cursor to the mouse
  428. click position
  429. |<S-Down>| <S-Down> 1 same as CTRL-F
  430. |<S-Left>| <S-Left> 1 same as "b"
  431. |<S-LeftMouse>| <S-LeftMouse> same as "*" at the mouse click position
  432. |<S-Right>| <S-Right> 1 same as "w"
  433. |<S-RightMouse>| <S-RightMouse> same as "#" at the mouse click position
  434. |<S-Up>| <S-Up> 1 same as CTRL-B
  435. |<Undo>| <Undo> 2 same as "u"
  436. |<Up>| <Up> 1 same as "k"
  437. *<ScrollWheelDown>* <ScrollWheelDown> move window three lines down
  438. *<S-ScrollWheelDown>* <S-ScrollWheelDown> move window one page down
  439. *<ScrollWheelUp>* <ScrollWheelUp> move window three lines up
  440. *<S-ScrollWheelUp>* <S-ScrollWheelUp> move window one page up
  441. *<ScrollWheelLeft>* <ScrollWheelLeft> move window six columns left
  442. *<S-ScrollWheelLeft>* <S-ScrollWheelLeft> move window one page left
  443. *<ScrollWheelRight>* <ScrollWheelRight> move window six columns right
  444. *<S-ScrollWheelRight>* <S-ScrollWheelRight> move window one page right
  445. ==============================================================================
  446. 2.1 Text objects *objects*
  447. These can be used after an operator or in Visual mode to select an object.
  448. tag command action in op-pending and Visual mode ~
  449. ------------------------------------------------------------------------------ ~
  450. |v_aquote| a" double quoted string
  451. |v_a'| a' single quoted string
  452. |v_a(| a( same as ab
  453. |v_a)| a) same as ab
  454. |v_a<| a< "a <>" from '<' to the matching '>'
  455. |v_a>| a> same as a<
  456. |v_aB| aB "a Block" from `[{` to `]}` (with brackets)
  457. |v_aW| aW "a WORD" (with white space)
  458. |v_a[| a[ "a []" from '[' to the matching ']'
  459. |v_a]| a] same as a[
  460. |v_a`| a` string in backticks
  461. |v_ab| ab "a block" from "[(" to "])" (with braces)
  462. |v_ap| ap "a paragraph" (with white space)
  463. |v_as| as "a sentence" (with white space)
  464. |v_at| at "a tag block" (with white space)
  465. |v_aw| aw "a word" (with white space)
  466. |v_a{| a{ same as aB
  467. |v_a}| a} same as aB
  468. |v_iquote| i" double quoted string without the quotes
  469. |v_i'| i' single quoted string without the quotes
  470. |v_i(| i( same as ib
  471. |v_i)| i) same as ib
  472. |v_i<| i< "inner <>" from '<' to the matching '>'
  473. |v_i>| i> same as i<
  474. |v_iB| iB "inner Block" from `[{` and `]}`
  475. |v_iW| iW "inner WORD"
  476. |v_i[| i[ "inner []" from '[' to the matching ']'
  477. |v_i]| i] same as i[
  478. |v_i`| i` string in backticks without the backticks
  479. |v_ib| ib "inner block" from "[(" to "])"
  480. |v_ip| ip "inner paragraph"
  481. |v_is| is "inner sentence"
  482. |v_it| it "inner tag block"
  483. |v_iw| iw "inner word"
  484. |v_i{| i{ same as iB
  485. |v_i}| i} same as iB
  486. ==============================================================================
  487. 2.2 Window commands *CTRL-W*
  488. tag command action in Normal mode ~
  489. ------------------------------------------------------------------------------ ~
  490. |CTRL-W_CTRL-B| CTRL-W CTRL-B same as "CTRL-W b"
  491. |CTRL-W_CTRL-C| CTRL-W CTRL-C same as "CTRL-W c"
  492. |CTRL-W_CTRL-D| CTRL-W CTRL-D same as "CTRL-W d"
  493. |CTRL-W_CTRL-F| CTRL-W CTRL-F same as "CTRL-W f"
  494. CTRL-W CTRL-G same as "CTRL-W g .."
  495. |CTRL-W_CTRL-H| CTRL-W CTRL-H same as "CTRL-W h"
  496. |CTRL-W_CTRL-I| CTRL-W CTRL-I same as "CTRL-W i"
  497. |CTRL-W_CTRL-J| CTRL-W CTRL-J same as "CTRL-W j"
  498. |CTRL-W_CTRL-K| CTRL-W CTRL-K same as "CTRL-W k"
  499. |CTRL-W_CTRL-L| CTRL-W CTRL-L same as "CTRL-W l"
  500. |CTRL-W_CTRL-N| CTRL-W CTRL-N same as "CTRL-W n"
  501. |CTRL-W_CTRL-O| CTRL-W CTRL-O same as "CTRL-W o"
  502. |CTRL-W_CTRL-P| CTRL-W CTRL-P same as "CTRL-W p"
  503. |CTRL-W_CTRL-Q| CTRL-W CTRL-Q same as "CTRL-W q"
  504. |CTRL-W_CTRL-R| CTRL-W CTRL-R same as "CTRL-W r"
  505. |CTRL-W_CTRL-S| CTRL-W CTRL-S same as "CTRL-W s"
  506. |CTRL-W_CTRL-T| CTRL-W CTRL-T same as "CTRL-W t"
  507. |CTRL-W_CTRL-V| CTRL-W CTRL-V same as "CTRL-W v"
  508. |CTRL-W_CTRL-W| CTRL-W CTRL-W same as "CTRL-W w"
  509. |CTRL-W_CTRL-X| CTRL-W CTRL-X same as "CTRL-W x"
  510. |CTRL-W_CTRL-Z| CTRL-W CTRL-Z same as "CTRL-W z"
  511. |CTRL-W_CTRL-]| CTRL-W CTRL-] same as "CTRL-W ]"
  512. |CTRL-W_CTRL-^| CTRL-W CTRL-^ same as "CTRL-W ^"
  513. |CTRL-W_CTRL-_| CTRL-W CTRL-_ same as "CTRL-W _"
  514. |CTRL-W_+| CTRL-W + increase current window height N lines
  515. |CTRL-W_-| CTRL-W - decrease current window height N lines
  516. |CTRL-W_<| CTRL-W < decrease current window width N columns
  517. |CTRL-W_=| CTRL-W = make all windows the same height & width
  518. |CTRL-W_>| CTRL-W > increase current window width N columns
  519. |CTRL-W_H| CTRL-W H move current window to the far left
  520. |CTRL-W_J| CTRL-W J move current window to the very bottom
  521. |CTRL-W_K| CTRL-W K move current window to the very top
  522. |CTRL-W_L| CTRL-W L move current window to the far right
  523. |CTRL-W_P| CTRL-W P go to preview window
  524. |CTRL-W_R| CTRL-W R rotate windows upwards N times
  525. |CTRL-W_S| CTRL-W S same as "CTRL-W s"
  526. |CTRL-W_T| CTRL-W T move current window to a new tab page
  527. |CTRL-W_W| CTRL-W W go to N previous window (wrap around)
  528. |CTRL-W_]| CTRL-W ] split window and jump to tag under cursor
  529. |CTRL-W_^| CTRL-W ^ split current window and edit alternate
  530. file N
  531. |CTRL-W__| CTRL-W _ set current window height to N (default:
  532. very high)
  533. |CTRL-W_b| CTRL-W b go to bottom window
  534. |CTRL-W_c| CTRL-W c close current window (like |:close|)
  535. |CTRL-W_d| CTRL-W d split window and jump to definition under
  536. the cursor
  537. |CTRL-W_f| CTRL-W f split window and edit file name under the
  538. cursor
  539. |CTRL-W_F| CTRL-W F split window and edit file name under the
  540. cursor and jump to the line number
  541. following the file name.
  542. |CTRL-W_g_CTRL-]| CTRL-W g CTRL-] split window and do |:tjump| to tag under
  543. cursor
  544. |CTRL-W_g]| CTRL-W g ] split window and do |:tselect| for tag
  545. under cursor
  546. |CTRL-W_g}| CTRL-W g } do a |:ptjump| to the tag under the cursor
  547. |CTRL-W_gf| CTRL-W g f edit file name under the cursor in a new
  548. tab page
  549. |CTRL-W_gF| CTRL-W g F edit file name under the cursor in a new
  550. tab page and jump to the line number
  551. following the file name.
  552. |CTRL-W_gt| CTRL-W g t same as `gt`: go to next tab page
  553. |CTRL-W_gT| CTRL-W g T same as `gT`: go to previous tab page
  554. |CTRL-W_g<Tab>| CTRL-W g <Tab> same as |g<Tab>|: go to last accessed tab
  555. page
  556. |CTRL-W_h| CTRL-W h go to Nth left window (stop at first window)
  557. |CTRL-W_i| CTRL-W i split window and jump to declaration of
  558. identifier under the cursor
  559. |CTRL-W_j| CTRL-W j go N windows down (stop at last window)
  560. |CTRL-W_k| CTRL-W k go N windows up (stop at first window)
  561. |CTRL-W_l| CTRL-W l go to Nth right window (stop at last window)
  562. |CTRL-W_n| CTRL-W n open new window, N lines high
  563. |CTRL-W_o| CTRL-W o close all but current window (like |:only|)
  564. |CTRL-W_p| CTRL-W p go to previous (last accessed) window
  565. |CTRL-W_q| CTRL-W q quit current window (like |:quit|)
  566. |CTRL-W_r| CTRL-W r rotate windows downwards N times
  567. |CTRL-W_s| CTRL-W s split current window in two parts, new
  568. window N lines high
  569. |CTRL-W_t| CTRL-W t go to top window
  570. |CTRL-W_v| CTRL-W v split current window vertically, new window
  571. N columns wide
  572. |CTRL-W_w| CTRL-W w go to N next window (wrap around)
  573. |CTRL-W_x| CTRL-W x exchange current window with window N
  574. (default: next window)
  575. |CTRL-W_z| CTRL-W z close preview window
  576. |CTRL-W_bar| CTRL-W | set window width to N columns
  577. |CTRL-W_}| CTRL-W } show tag under cursor in preview window
  578. |CTRL-W_<Down>| CTRL-W <Down> same as "CTRL-W j"
  579. |CTRL-W_<Up>| CTRL-W <Up> same as "CTRL-W k"
  580. |CTRL-W_<Left>| CTRL-W <Left> same as "CTRL-W h"
  581. |CTRL-W_<Right>| CTRL-W <Right> same as "CTRL-W l"
  582. ==============================================================================
  583. 2.3 Square bracket commands *[* *]*
  584. tag char note action in Normal mode ~
  585. ------------------------------------------------------------------------------ ~
  586. |[_CTRL-D| [ CTRL-D jump to first #define found in current and
  587. included files matching the word under the
  588. cursor, start searching at beginning of
  589. current file
  590. |[_CTRL-I| [ CTRL-I jump to first line in current and included
  591. files that contains the word under the
  592. cursor, start searching at beginning of
  593. current file
  594. |[#| [# 1 cursor to N previous unmatched #if, #else
  595. or #ifdef
  596. |['| [' 1 cursor to previous lowercase mark, on first
  597. non-blank
  598. |[(| [( 1 cursor N times back to unmatched '('
  599. |[star| [* 1 same as "[/"
  600. |[`| [` 1 cursor to previous lowercase mark
  601. |[/| [/ 1 cursor to N previous start of a C comment
  602. |[D| [D list all defines found in current and
  603. included files matching the word under the
  604. cursor, start searching at beginning of
  605. current file
  606. |[I| [I list all lines found in current and
  607. included files that contain the word under
  608. the cursor, start searching at beginning of
  609. current file
  610. |[P| [P 2 same as "[p"
  611. |[[| [[ 1 cursor N sections backward
  612. |[]| [] 1 cursor N SECTIONS backward
  613. |[c| [c 1 cursor N times backwards to start of change
  614. |[d| [d show first #define found in current and
  615. included files matching the word under the
  616. cursor, start searching at beginning of
  617. current file
  618. |[f| [f same as "gf"
  619. |[i| [i show first line found in current and
  620. included files that contains the word under
  621. the cursor, start searching at beginning of
  622. current file
  623. |[m| [m 1 cursor N times back to start of member
  624. function
  625. |[p| [p 2 like "P", but adjust indent to current line
  626. |[s| [s 1 move to the previous misspelled word
  627. |[z| [z 1 move to start of open fold
  628. |[{| [{ 1 cursor N times back to unmatched '{'
  629. |[<MiddleMouse>| [<MiddleMouse> 2 same as "[p"
  630. |]_CTRL-D| ] CTRL-D jump to first #define found in current and
  631. included files matching the word under the
  632. cursor, start searching at cursor position
  633. |]_CTRL-I| ] CTRL-I jump to first line in current and included
  634. files that contains the word under the
  635. cursor, start searching at cursor position
  636. |]#| ]# 1 cursor to N next unmatched #endif or #else
  637. |]'| ]' 1 cursor to next lowercase mark, on first
  638. non-blank
  639. |])| ]) 1 cursor N times forward to unmatched ')'
  640. |]star| ]* 1 same as "]/"
  641. |]`| ]` 1 cursor to next lowercase mark
  642. |]/| ]/ 1 cursor to N next end of a C comment
  643. |]D| ]D list all #defines found in current and
  644. included files matching the word under the
  645. cursor, start searching at cursor position
  646. |]I| ]I list all lines found in current and
  647. included files that contain the word under
  648. the cursor, start searching at cursor
  649. position
  650. |]P| ]P 2 same as "[p"
  651. |][| ][ 1 cursor N SECTIONS forward
  652. |]]| ]] 1 cursor N sections forward
  653. |]c| ]c 1 cursor N times forward to start of change
  654. |]d| ]d show first #define found in current and
  655. included files matching the word under the
  656. cursor, start searching at cursor position
  657. |]f| ]f same as "gf"
  658. |]i| ]i show first line found in current and
  659. included files that contains the word under
  660. the cursor, start searching at cursor
  661. position
  662. |]m| ]m 1 cursor N times forward to end of member
  663. function
  664. |]p| ]p 2 like "p", but adjust indent to current line
  665. |]s| ]s 1 move to next misspelled word
  666. |]z| ]z 1 move to end of open fold
  667. |]}| ]} 1 cursor N times forward to unmatched '}'
  668. |]<MiddleMouse>| ]<MiddleMouse> 2 same as "]p"
  669. ==============================================================================
  670. 2.4 Commands starting with 'g' *g*
  671. tag char note action in Normal mode ~
  672. ------------------------------------------------------------------------------ ~
  673. |g_CTRL-G| g CTRL-G show information about current cursor
  674. position
  675. |g_CTRL-H| g CTRL-H start Select block mode
  676. |g_CTRL-]| g CTRL-] |:tjump| to the tag under the cursor
  677. |g#| g# 1 like "#", but without using "\<" and "\>"
  678. |g$| g$ 1 when 'wrap' off go to rightmost character of
  679. the current line that is on the screen;
  680. when 'wrap' on go to the rightmost character
  681. of the current screen line
  682. |g&| g& 2 repeat last ":s" on all lines
  683. |g'| g'{mark} 1 like |'| but without changing the jumplist
  684. |g`| g`{mark} 1 like |`| but without changing the jumplist
  685. |gstar| g* 1 like "*", but without using "\<" and "\>"
  686. |g+| g+ go to newer text state N times
  687. |g,| g, 1 go to N newer position in change list
  688. |g-| g- go to older text state N times
  689. |g0| g0 1 when 'wrap' off go to leftmost character of
  690. the current line that is on the screen;
  691. when 'wrap' on go to the leftmost character
  692. of the current screen line
  693. |g8| g8 print hex value of bytes used in UTF-8
  694. character under the cursor
  695. |g;| g; 1 go to N older position in change list
  696. |g<| g< display previous command output
  697. |g?| g? 2 Rot13 encoding operator
  698. |g?g?| g?? 2 Rot13 encode current line
  699. |g?g?| g?g? 2 Rot13 encode current line
  700. |gD| gD 1 go to definition of word under the cursor
  701. in current file
  702. |gE| gE 1 go backwards to the end of the previous
  703. WORD
  704. |gH| gH start Select line mode
  705. |gI| gI 2 like "I", but always start in column 1
  706. |gJ| gJ 2 join lines without inserting space
  707. |gN| gN 1,2 find the previous match with the last used
  708. search pattern and Visually select it
  709. |gP| ["x]gP 2 put the text [from register x] before the
  710. cursor N times, leave the cursor after it
  711. |gQ| gQ switch to "Ex" mode with Vim editing
  712. |gR| gR 2 enter Virtual Replace mode
  713. |gT| gT go to the previous tab page
  714. |gU| gU{motion} 2 make Nmove text uppercase
  715. |gV| gV don't reselect the previous Visual area
  716. when executing a mapping or menu in Select
  717. mode
  718. |g]| g] :tselect on the tag under the cursor
  719. |g^| g^ 1 when 'wrap' off go to leftmost non-white
  720. character of the current line that is on
  721. the screen; when 'wrap' on go to the
  722. leftmost non-white character of the current
  723. screen line
  724. |g_| g_ 1 cursor to the last CHAR N - 1 lines lower
  725. |ga| ga print ascii value of character under the
  726. cursor
  727. |gd| gd 1 go to definition of word under the cursor
  728. in current function
  729. |ge| ge 1 go backwards to the end of the previous
  730. word
  731. |gf| gf start editing the file whose name is under
  732. the cursor
  733. |gF| gF start editing the file whose name is under
  734. the cursor and jump to the line number
  735. following the filename.
  736. |gg| gg 1 cursor to line N, default first line
  737. |gh| gh start Select mode
  738. |gi| gi 2 like "i", but first move to the |'^| mark
  739. |gj| gj 1 like "j", but when 'wrap' on go N screen
  740. lines down
  741. |gk| gk 1 like "k", but when 'wrap' on go N screen
  742. lines up
  743. |gm| gm 1 go to character at middle of the screenline
  744. |gM| gM 1 go to character at middle of the text line
  745. |gn| gn 1,2 find the next match with the last used
  746. search pattern and Visually select it
  747. |go| go 1 cursor to byte N in the buffer
  748. |gp| ["x]gp 2 put the text [from register x] after the
  749. cursor N times, leave the cursor after it
  750. |gq| gq{motion} 2 format Nmove text
  751. |gr| gr{char} 2 virtual replace N chars with {char}
  752. |gs| gs go to sleep for N seconds (default 1)
  753. |gt| gt go to the next tab page
  754. |gu| gu{motion} 2 make Nmove text lowercase
  755. |gv| gv reselect the previous Visual area
  756. |gw| gw{motion} 2 format Nmove text and keep cursor
  757. |netrw-gx| gx execute application for file name under the
  758. cursor (only with |netrw| plugin)
  759. |g@| g@{motion} call 'operatorfunc'
  760. |g~| g~{motion} 2 swap case for Nmove text
  761. |g<Down>| g<Down> 1 same as "gj"
  762. |g<End>| g<End> 1 same as "g$"
  763. |g<Home>| g<Home> 1 same as "g0"
  764. |g<LeftMouse>| g<LeftMouse> same as <C-LeftMouse>
  765. g<MiddleMouse> same as <C-MiddleMouse>
  766. |g<RightMouse>| g<RightMouse> same as <C-RightMouse>
  767. |g<Tab>| g<Tab> go to last accessed tab page
  768. |g<Up>| g<Up> 1 same as "gk"
  769. ==============================================================================
  770. 2.5 Commands starting with 'z' *z*
  771. tag char note action in Normal mode ~
  772. ------------------------------------------------------------------------------ ~
  773. |z<CR>| z<CR> redraw, cursor line to top of window,
  774. cursor on first non-blank
  775. |zN<CR>| z{height}<CR> redraw, make window {height} lines high
  776. |z+| z+ cursor on line N (default line below
  777. window), otherwise like "z<CR>"
  778. |z-| z- redraw, cursor line at bottom of window,
  779. cursor on first non-blank
  780. |z.| z. redraw, cursor line to center of window,
  781. cursor on first non-blank
  782. |z=| z= give spelling suggestions
  783. |zA| zA open a closed fold or close an open fold
  784. recursively
  785. |zC| zC close folds recursively
  786. |zD| zD delete folds recursively
  787. |zE| zE eliminate all folds
  788. |zF| zF create a fold for N lines
  789. |zG| zG temporarily mark word as correctly spelled
  790. |zH| zH when 'wrap' off scroll half a screenwidth
  791. to the right
  792. |zL| zL when 'wrap' off scroll half a screenwidth
  793. to the left
  794. |zM| zM set 'foldlevel' to zero
  795. |zN| zN set 'foldenable'
  796. |zO| zO open folds recursively
  797. |zR| zR set 'foldlevel' to the deepest fold
  798. |zW| zW temporarily mark word as incorrectly spelled
  799. |zX| zX re-apply 'foldlevel'
  800. |z^| z^ cursor on line N (default line above
  801. window), otherwise like "z-"
  802. |za| za open a closed fold, close an open fold
  803. |zb| zb redraw, cursor line at bottom of window
  804. |zc| zc close a fold
  805. |zd| zd delete a fold
  806. |ze| ze when 'wrap' off scroll horizontally to
  807. position the cursor at the end (right side)
  808. of the screen
  809. |zf| zf{motion} create a fold for Nmove text
  810. |zg| zg permanently mark word as correctly spelled
  811. |zh| zh when 'wrap' off scroll screen N characters
  812. to the right
  813. |zi| zi toggle 'foldenable'
  814. |zj| zj 1 move to the start of the next fold
  815. |zk| zk 1 move to the end of the previous fold
  816. |zl| zl when 'wrap' off scroll screen N characters
  817. to the left
  818. |zm| zm subtract one from 'foldlevel'
  819. |zn| zn reset 'foldenable'
  820. |zo| zo open fold
  821. |zp| zp paste in block-mode without trailing spaces
  822. |zP| zP paste in block-mode without trailing spaces
  823. |zr| zr add one to 'foldlevel'
  824. |zs| zs when 'wrap' off scroll horizontally to
  825. position the cursor at the start (left
  826. side) of the screen
  827. |zt| zt redraw, cursor line at top of window
  828. |zuw| zuw undo |zw|
  829. |zug| zug undo |zg|
  830. |zuW| zuW undo |zW|
  831. |zuG| zuG undo |zG|
  832. |zv| zv open enough folds to view the cursor line
  833. |zw| zw permanently mark word as incorrectly spelled
  834. |zx| zx re-apply 'foldlevel' and do "zv"
  835. |zy| zy yank without trailing spaces
  836. |zz| zz redraw, cursor line at center of window
  837. |z<Left>| z<Left> same as "zh"
  838. |z<Right>| z<Right> same as "zl"
  839. ==============================================================================
  840. 2.6 Operator-pending mode *operator-pending-index*
  841. These can be used after an operator, but before a {motion} has been entered.
  842. tag char action in Operator-pending mode ~
  843. ------------------------------------------------------------------------------ ~
  844. |o_v| v force operator to work charwise
  845. |o_V| V force operator to work linewise
  846. |o_CTRL-V| CTRL-V force operator to work blockwise
  847. ==============================================================================
  848. 3. Visual mode *visual-index*
  849. Most commands in Visual mode are the same as in Normal mode. The ones listed
  850. here are those that are different.
  851. tag command note action in Visual mode ~
  852. ------------------------------------------------------------------------------ ~
  853. |v_CTRL-\_CTRL-N| CTRL-\ CTRL-N stop Visual mode
  854. |v_CTRL-\_CTRL-G| CTRL-\ CTRL-G go to Normal mode
  855. |v_CTRL-A| CTRL-A 2 add N to number in highlighted text
  856. |v_CTRL-C| CTRL-C stop Visual mode
  857. |v_CTRL-G| CTRL-G toggle between Visual mode and Select mode
  858. |v_<BS>| <BS> 2 Select mode: delete highlighted area
  859. |v_CTRL-H| CTRL-H 2 same as <BS>
  860. |v_CTRL-O| CTRL-O switch from Select to Visual mode for one
  861. command
  862. |v_CTRL-V| CTRL-V make Visual mode blockwise or stop Visual
  863. mode
  864. |v_CTRL-X| CTRL-X 2 subtract N from number in highlighted text
  865. |v_<Esc>| <Esc> stop Visual mode
  866. |v_CTRL-]| CTRL-] jump to highlighted tag
  867. |v_!| !{filter} 2 filter the highlighted lines through the
  868. external command {filter}
  869. |v_:| : start a command-line with the highlighted
  870. lines as a range
  871. |v_<| < 2 shift the highlighted lines one
  872. 'shiftwidth' left
  873. |v_=| = 2 filter the highlighted lines through the
  874. external program given with the 'equalprg'
  875. option
  876. |v_>| > 2 shift the highlighted lines one
  877. 'shiftwidth' right
  878. |v_b_A| A 2 block mode: append same text in all lines,
  879. after the highlighted area
  880. |v_C| C 2 delete the highlighted lines and start
  881. insert
  882. |v_D| D 2 delete the highlighted lines
  883. |v_b_I| I 2 block mode: insert same text in all lines,
  884. before the highlighted area
  885. |v_J| J 2 join the highlighted lines
  886. |v_K| K run 'keywordprg' on the highlighted area
  887. |v_O| O move horizontally to other corner of area
  888. |v_P| P replace highlighted area with register
  889. contents; registers are unchanged
  890. |v_R| R 2 delete the highlighted lines and start
  891. insert
  892. |v_S| S 2 delete the highlighted lines and start
  893. insert
  894. |v_U| U 2 make highlighted area uppercase
  895. |v_V| V make Visual mode linewise or stop Visual
  896. mode
  897. |v_X| X 2 delete the highlighted lines
  898. |v_Y| Y yank the highlighted lines
  899. |v_aquote| a" extend highlighted area with a double
  900. quoted string
  901. |v_a'| a' extend highlighted area with a single
  902. quoted string
  903. |v_a(| a( same as ab
  904. |v_a)| a) same as ab
  905. |v_a<| a< extend highlighted area with a <> block
  906. |v_a>| a> same as a<
  907. |v_aB| aB extend highlighted area with a {} block
  908. |v_aW| aW extend highlighted area with "a WORD"
  909. |v_a[| a[ extend highlighted area with a [] block
  910. |v_a]| a] same as a[
  911. |v_a`| a` extend highlighted area with a backtick
  912. quoted string
  913. |v_ab| ab extend highlighted area with a () block
  914. |v_ap| ap extend highlighted area with a paragraph
  915. |v_as| as extend highlighted area with a sentence
  916. |v_at| at extend highlighted area with a tag block
  917. |v_aw| aw extend highlighted area with "a word"
  918. |v_a{| a{ same as aB
  919. |v_a}| a} same as aB
  920. |v_c| c 2 delete highlighted area and start insert
  921. |v_d| d 2 delete highlighted area
  922. |v_g_CTRL-A| g CTRL-A 2 add N to number in highlighted text
  923. |v_g_CTRL-X| g CTRL-X 2 subtract N from number in highlighted text
  924. |v_gJ| gJ 2 join the highlighted lines without
  925. inserting spaces
  926. |v_gq| gq 2 format the highlighted lines
  927. |v_gv| gv exchange current and previous highlighted
  928. area
  929. |v_iquote| i" extend highlighted area with a double
  930. quoted string (without quotes)
  931. |v_i'| i' extend highlighted area with a single
  932. quoted string (without quotes)
  933. |v_i(| i( same as ib
  934. |v_i)| i) same as ib
  935. |v_i<| i< extend highlighted area with inner <> block
  936. |v_i>| i> same as i<
  937. |v_iB| iB extend highlighted area with inner {} block
  938. |v_iW| iW extend highlighted area with "inner WORD"
  939. |v_i[| i[ extend highlighted area with inner [] block
  940. |v_i]| i] same as i[
  941. |v_i`| i` extend highlighted area with a backtick
  942. quoted string (without the backticks)
  943. |v_ib| ib extend highlighted area with inner () block
  944. |v_ip| ip extend highlighted area with inner paragraph
  945. |v_is| is extend highlighted area with inner sentence
  946. |v_it| it extend highlighted area with inner tag block
  947. |v_iw| iw extend highlighted area with "inner word"
  948. |v_i{| i{ same as iB
  949. |v_i}| i} same as iB
  950. |v_o| o move cursor to other corner of area
  951. |v_p| p replace highlighted area with register
  952. contents; deleted text in unnamed register
  953. |v_r| r 2 replace highlighted area with a character
  954. |v_s| s 2 delete highlighted area and start insert
  955. |v_u| u 2 make highlighted area lowercase
  956. |v_v| v make Visual mode charwise or stop
  957. Visual mode
  958. |v_x| x 2 delete the highlighted area
  959. |v_y| y yank the highlighted area
  960. |v_~| ~ 2 swap case for the highlighted area
  961. ==============================================================================
  962. 4. Command-line editing *ex-edit-index*
  963. Get to the command-line with the ':', '!', '/' or '?' commands.
  964. Normal characters are inserted at the current cursor position.
  965. "Completion" below refers to context-sensitive completion. It will complete
  966. file names, tags, commands etc. as appropriate.
  967. tag command action in Command-line editing mode ~
  968. ------------------------------------------------------------------------------ ~
  969. CTRL-@ not used
  970. |c_CTRL-A| CTRL-A do completion on the pattern in front of the
  971. cursor and insert all matches
  972. |c_CTRL-B| CTRL-B cursor to begin of command-line
  973. |c_CTRL-C| CTRL-C same as <Esc>
  974. |c_CTRL-D| CTRL-D list completions that match the pattern in
  975. front of the cursor
  976. |c_CTRL-E| CTRL-E cursor to end of command-line
  977. |'cedit'| CTRL-F default value for 'cedit': opens the
  978. command-line window; otherwise not used
  979. |c_CTRL-G| CTRL-G next match when 'incsearch' is active
  980. |c_<BS>| <BS> delete the character in front of the cursor
  981. |c_digraph| {char1} <BS> {char2}
  982. enter digraph when 'digraph' is on
  983. |c_CTRL-H| CTRL-H same as <BS>
  984. |c_<Tab>| <Tab> if 'wildchar' is <Tab>: Do completion on
  985. the pattern in front of the cursor
  986. |c_<S-Tab>| <S-Tab> same as CTRL-P
  987. |c_wildchar| 'wildchar' Do completion on the pattern in front of the
  988. cursor (default: <Tab>)
  989. |c_CTRL-I| CTRL-I same as <Tab>
  990. |c_<NL>| <NL> same as <CR>
  991. |c_CTRL-J| CTRL-J same as <CR>
  992. |c_CTRL-K| CTRL-K {char1} {char2}
  993. enter digraph
  994. |c_CTRL-L| CTRL-L do completion on the pattern in front of the
  995. cursor and insert the longest common part
  996. |c_<CR>| <CR> execute entered command
  997. |c_CTRL-M| CTRL-M same as <CR>
  998. |c_CTRL-N| CTRL-N after using 'wildchar' with multiple matches:
  999. go to next match, otherwise: recall older
  1000. command-line from history.
  1001. CTRL-O not used
  1002. |c_CTRL-P| CTRL-P after using 'wildchar' with multiple matches:
  1003. go to previous match, otherwise: recall older
  1004. command-line from history.
  1005. |c_CTRL-Q| CTRL-Q same as CTRL-V, unless it's used for terminal
  1006. control flow
  1007. |c_CTRL-R| CTRL-R {regname}
  1008. insert the contents of a register or object
  1009. under the cursor as if typed
  1010. |c_CTRL-R_CTRL-R| CTRL-R CTRL-R {regname}
  1011. |c_CTRL-R_CTRL-O| CTRL-R CTRL-O {regname}
  1012. insert the contents of a register or object
  1013. under the cursor literally
  1014. CTRL-S not used, or used for terminal control flow
  1015. |c_CTRL-T| CTRL-T previous match when 'incsearch' is active
  1016. |c_CTRL-U| CTRL-U remove all characters
  1017. |c_CTRL-V| CTRL-V insert next non-digit literally, insert three
  1018. digit decimal number as a single byte.
  1019. |c_CTRL-W| CTRL-W delete the word in front of the cursor
  1020. CTRL-X not used (reserved for completion)
  1021. CTRL-Y copy (yank) modeless selection
  1022. CTRL-Z not used (reserved for suspend)
  1023. |c_<Esc>| <Esc> abandon command-line without executing it
  1024. |c_CTRL-[| CTRL-[ same as <Esc>
  1025. |c_CTRL-\_CTRL-N| CTRL-\ CTRL-N go to Normal mode, abandon command-line
  1026. |c_CTRL-\_CTRL-G| CTRL-\ CTRL-G go to Normal mode, abandon command-line
  1027. CTRL-\ a - d reserved for extensions
  1028. |c_CTRL-\_e| CTRL-\ e {expr} replace the command line with the result of
  1029. {expr}
  1030. CTRL-\ f - z reserved for extensions
  1031. CTRL-\ others not used
  1032. |c_CTRL-]| CTRL-] trigger abbreviation
  1033. |c_CTRL-^| CTRL-^ toggle use of |:lmap| mappings
  1034. |c_<Del>| <Del> delete the character under the cursor
  1035. |c_<Left>| <Left> cursor left
  1036. |c_<S-Left>| <S-Left> cursor one word left
  1037. |c_<C-Left>| <C-Left> cursor one word left
  1038. |c_<Right>| <Right> cursor right
  1039. |c_<S-Right>| <S-Right> cursor one word right
  1040. |c_<C-Right>| <C-Right> cursor one word right
  1041. |c_<Up>| <Up> recall previous command-line from history that
  1042. matches pattern in front of the cursor
  1043. |c_<S-Up>| <S-Up> recall previous command-line from history
  1044. |c_<Down>| <Down> recall next command-line from history that
  1045. matches pattern in front of the cursor
  1046. |c_<S-Down>| <S-Down> recall next command-line from history
  1047. |c_<Home>| <Home> cursor to start of command-line
  1048. |c_<End>| <End> cursor to end of command-line
  1049. |c_<PageDown>| <PageDown> same as <S-Down>
  1050. |c_<PageUp>| <PageUp> same as <S-Up>
  1051. |c_<Insert>| <Insert> toggle insert/overstrike mode
  1052. |c_<LeftMouse>| <LeftMouse> cursor at mouse click
  1053. commands in wildmenu mode (see 'wildmenu')
  1054. <Up> move up to parent
  1055. <Down> move down to submenu
  1056. <Left> select the previous match
  1057. <Right> select the next match
  1058. <CR> move into submenu when doing menu completion
  1059. CTRL-E stop completion and go back to original text
  1060. CTRL-Y accept selected match and stop completion
  1061. other stop completion and insert the typed character
  1062. commands in wildmenu mode with 'wildoptions' set to "pum"
  1063. <PageUp> select a match several entries back
  1064. <PageDown> select a match several entries forward
  1065. ==============================================================================
  1066. 5. Terminal mode *terminal-mode-index*
  1067. In a |terminal| buffer all keys except CTRL-\ are forwarded to the terminal
  1068. job. If CTRL-\ is pressed, the next key is forwarded unless it is CTRL-N
  1069. or CTRL-O.
  1070. Use |CTRL-\_CTRL-N| to go to Normal mode.
  1071. Use |t_CTRL-\_CTRL-O| to execute one normal mode command and then return
  1072. to terminal mode.
  1073. You found it, Arthur! *holy-grail*
  1074. ==============================================================================
  1075. 6. EX commands *Ex-commands* *ex-cmd-index* *:index*
  1076. This is a brief but complete listing of all the ":" commands, without
  1077. mentioning any arguments. The optional part of the command name is inside [].
  1078. The commands are sorted on the non-optional part of their name.
  1079. tag command action ~
  1080. ------------------------------------------------------------------------------ ~
  1081. |:| : nothing
  1082. |:range| :{range} go to last line in {range}
  1083. |:!| :! filter lines or execute an external command
  1084. |:!!| :!! repeat last ":!" command
  1085. |:#| :# same as ":number"
  1086. |:&| :& repeat last ":substitute"
  1087. |:star| :* use the last Visual area, like ":'<,'>"
  1088. |:<| :< shift lines one 'shiftwidth' left
  1089. |:=| := print the last line number
  1090. |:>| :> shift lines one 'shiftwidth' right
  1091. |:@| :@ execute contents of a register
  1092. |:@@| :@@ repeat the previous ":@"
  1093. |:2match| :2mat[ch] define a second match to highlight
  1094. |:3match| :3mat[ch] define a third match to highlight
  1095. |:Next| :N[ext] go to previous file in the argument list
  1096. |:append| :a[ppend] append text
  1097. |:abbreviate| :ab[breviate] enter abbreviation
  1098. |:abclear| :abc[lear] remove all abbreviations
  1099. |:aboveleft| :abo[veleft] make split window appear left or above
  1100. |:all| :al[l] open a window for each file in the argument
  1101. list
  1102. |:amenu| :am[enu] enter new menu item for all modes
  1103. |:anoremenu| :an[oremenu] enter a new menu for all modes that will not
  1104. be remapped
  1105. |:args| :ar[gs] print the argument list
  1106. |:argadd| :arga[dd] add items to the argument list
  1107. |:argdedupe| :argded[upe] remove duplicates from the argument list
  1108. |:argdelete| :argd[elete] delete items from the argument list
  1109. |:argedit| :arge[dit] add item to the argument list and edit it
  1110. |:argdo| :argdo do a command on all items in the argument list
  1111. |:argglobal| :argg[lobal] define the global argument list
  1112. |:arglocal| :argl[ocal] define a local argument list
  1113. |:argument| :argu[ment] go to specific file in the argument list
  1114. |:ascii| :as[cii] print ascii value of character under the cursor
  1115. |:autocmd| :au[tocmd] enter or show autocommands
  1116. |:augroup| :aug[roup] select the autocommand group to use
  1117. |:aunmenu| :aun[menu] remove menu for all modes
  1118. |:buffer| :b[uffer] go to specific buffer in the buffer list
  1119. |:bNext| :bN[ext] go to previous buffer in the buffer list
  1120. |:ball| :ba[ll] open a window for each buffer in the buffer list
  1121. |:badd| :bad[d] add buffer to the buffer list
  1122. |:balt| :balt like ":badd" but also set the alternate file
  1123. |:bdelete| :bd[elete] remove a buffer from the buffer list
  1124. |:belowright| :bel[owright] make split window appear right or below
  1125. |:bfirst| :bf[irst] go to first buffer in the buffer list
  1126. |:blast| :bl[ast] go to last buffer in the buffer list
  1127. |:bmodified| :bm[odified] go to next buffer in the buffer list that has
  1128. been modified
  1129. |:bnext| :bn[ext] go to next buffer in the buffer list
  1130. |:botright| :bo[tright] make split window appear at bottom or far right
  1131. |:bprevious| :bp[revious] go to previous buffer in the buffer list
  1132. |:brewind| :br[ewind] go to first buffer in the buffer list
  1133. |:break| :brea[k] break out of while loop
  1134. |:breakadd| :breaka[dd] add a debugger breakpoint
  1135. |:breakdel| :breakd[el] delete a debugger breakpoint
  1136. |:breaklist| :breakl[ist] list debugger breakpoints
  1137. |:browse| :bro[wse] use file selection dialog
  1138. |:bufdo| :bufd[o] execute command in each listed buffer
  1139. |:buffers| :buffers list all files in the buffer list
  1140. |:bunload| :bun[load] unload a specific buffer
  1141. |:bwipeout| :bw[ipeout] really delete a buffer
  1142. |:change| :c[hange] replace a line or series of lines
  1143. |:cNext| :cN[ext] go to previous error
  1144. |:cNfile| :cNf[ile] go to last error in previous file
  1145. |:cabbrev| :ca[bbrev] like ":abbreviate" but for Command-line mode
  1146. |:cabclear| :cabc[lear] clear all abbreviations for Command-line mode
  1147. |:cabove| :cabo[ve] go to error above current line
  1148. |:caddbuffer| :cad[dbuffer] add errors from buffer
  1149. |:caddexpr| :cadde[xpr] add errors from expr
  1150. |:caddfile| :caddf[ile] add error message to current quickfix list
  1151. |:cafter| :caf[ter] go to error after current cursor
  1152. |:call| :cal[l] call a function
  1153. |:catch| :cat[ch] part of a :try command
  1154. |:cbefore| :cbe[fore] go to error before current cursor
  1155. |:cbelow| :cbel[ow] go to error below current line
  1156. |:cbottom| :cbo[ttom] scroll to the bottom of the quickfix window
  1157. |:cbuffer| :cb[uffer] parse error messages and jump to first error
  1158. |:cc| :cc go to specific error
  1159. |:cclose| :ccl[ose] close quickfix window
  1160. |:cd| :cd change directory
  1161. |:cdo| :cdo execute command in each valid error list entry
  1162. |:cfdo| :cfd[o] execute command in each file in error list
  1163. |:center| :ce[nter] format lines at the center
  1164. |:cexpr| :cex[pr] read errors from expr and jump to first
  1165. |:cfile| :cf[ile] read file with error messages and jump to first
  1166. |:cfirst| :cfir[st] go to the specified error, default first one
  1167. |:cgetbuffer| :cgetb[uffer] get errors from buffer
  1168. |:cgetexpr| :cgete[xpr] get errors from expr
  1169. |:cgetfile| :cg[etfile] read file with error messages
  1170. |:changes| :changes print the change list
  1171. |:chdir| :chd[ir] change directory
  1172. |:checkhealth| :che[ckhealth] run healthchecks
  1173. |:checkpath| :checkp[ath] list included files
  1174. |:checktime| :checkt[ime] check timestamp of loaded buffers
  1175. |:chistory| :chi[story] list the error lists
  1176. |:clast| :cla[st] go to the specified error, default last one
  1177. |:clearjumps| :cle[arjumps] clear the jump list
  1178. |:clist| :cl[ist] list all errors
  1179. |:close| :clo[se] close current window
  1180. |:cmap| :cm[ap] like ":map" but for Command-line mode
  1181. |:cmapclear| :cmapc[lear] clear all mappings for Command-line mode
  1182. |:cmenu| :cme[nu] add menu for Command-line mode
  1183. |:cnext| :cn[ext] go to next error
  1184. |:cnewer| :cnew[er] go to newer error list
  1185. |:cnfile| :cnf[ile] go to first error in next file
  1186. |:cnoremap| :cno[remap] like ":noremap" but for Command-line mode
  1187. |:cnoreabbrev| :cnorea[bbrev] like ":noreabbrev" but for Command-line mode
  1188. |:cnoremenu| :cnoreme[nu] like ":noremenu" but for Command-line mode
  1189. |:copy| :co[py] copy lines
  1190. |:colder| :col[der] go to older error list
  1191. |:colorscheme| :colo[rscheme] load a specific color scheme
  1192. |:command| :com[mand] create user-defined command
  1193. |:comclear| :comc[lear] clear all user-defined commands
  1194. |:compiler| :comp[iler] do settings for a specific compiler
  1195. |:continue| :con[tinue] go back to :while
  1196. |:confirm| :conf[irm] prompt user when confirmation required
  1197. |:const| :cons[t] create a variable as a constant
  1198. |:copen| :cope[n] open quickfix window
  1199. |:cprevious| :cp[revious] go to previous error
  1200. |:cpfile| :cpf[ile] go to last error in previous file
  1201. |:cquit| :cq[uit] quit Vim with an error code
  1202. |:crewind| :cr[ewind] go to the specified error, default first one
  1203. |:cunmap| :cu[nmap] like ":unmap" but for Command-line mode
  1204. |:cunabbrev| :cuna[bbrev] like ":unabbrev" but for Command-line mode
  1205. |:cunmenu| :cunme[nu] remove menu for Command-line mode
  1206. |:cwindow| :cw[indow] open or close quickfix window
  1207. |:delete| :d[elete] delete lines
  1208. |:debug| :deb[ug] run a command in debugging mode
  1209. |:debuggreedy| :debugg[reedy] read debug mode commands from normal input
  1210. |:defer| :defe[r] call function when current function is done
  1211. |:delcommand| :delc[ommand] delete user-defined command
  1212. |:delfunction| :delf[unction] delete a user function
  1213. |:delmarks| :delm[arks] delete marks
  1214. |:diffupdate| :dif[fupdate] update 'diff' buffers
  1215. |:diffget| :diffg[et] remove differences in current buffer
  1216. |:diffoff| :diffo[ff] switch off diff mode
  1217. |:diffpatch| :diffp[atch] apply a patch and show differences
  1218. |:diffput| :diffpu[t] remove differences in other buffer
  1219. |:diffsplit| :diffs[plit] show differences with another file
  1220. |:diffthis| :difft[his] make current window a diff window
  1221. |:digraphs| :dig[raphs] show or enter digraphs
  1222. |:display| :di[splay] display registers
  1223. |:djump| :dj[ump] jump to #define
  1224. |:dl| :dl short for |:delete| with the 'l' flag
  1225. |:dlist| :dli[st] list #defines
  1226. |:doautocmd| :do[autocmd] apply autocommands to current buffer
  1227. |:doautoall| :doautoa[ll] apply autocommands for all loaded buffers
  1228. |:dp| :d[elete]p short for |:delete| with the 'p' flag
  1229. |:drop| :dr[op] jump to window editing file or edit file in
  1230. current window
  1231. |:dsearch| :ds[earch] list one #define
  1232. |:dsplit| :dsp[lit] split window and jump to #define
  1233. |:edit| :e[dit] edit a file
  1234. |:earlier| :ea[rlier] go to older change, undo
  1235. |:echo| :ec[ho] echoes the result of expressions
  1236. |:echoerr| :echoe[rr] like :echo, show like an error and use history
  1237. |:echohl| :echoh[l] set highlighting for echo commands
  1238. |:echomsg| :echom[sg] same as :echo, put message in history
  1239. |:echon| :echon same as :echo, but without <EOL>
  1240. |:else| :el[se] part of an :if command
  1241. |:elseif| :elsei[f] part of an :if command
  1242. |:emenu| :em[enu] execute a menu by name
  1243. |:endif| :en[dif] end previous :if
  1244. |:endfor| :endfo[r] end previous :for
  1245. |:endfunction| :endf[unction] end of a user function started with :function
  1246. |:endtry| :endt[ry] end previous :try
  1247. |:endwhile| :endw[hile] end previous :while
  1248. |:enew| :ene[w] edit a new, unnamed buffer
  1249. |:eval| :ev[al] evaluate an expression and discard the result
  1250. |:ex| :ex same as ":edit"
  1251. |:execute| :exe[cute] execute result of expressions
  1252. |:exit| :exi[t] same as ":xit"
  1253. |:exusage| :exu[sage] overview of Ex commands
  1254. |:fclose| :fc[lose] close floating window
  1255. |:file| :f[ile] show or set the current file name
  1256. |:files| :files list all files in the buffer list
  1257. |:filetype| :filet[ype] switch file type detection on/off
  1258. |:filter| :filt[er] filter output of following command
  1259. |:find| :fin[d] find file in 'path' and edit it
  1260. |:finally| :fina[lly] part of a :try command
  1261. |:finish| :fini[sh] quit sourcing a Vim script
  1262. |:first| :fir[st] go to the first file in the argument list
  1263. |:fold| :fo[ld] create a fold
  1264. |:foldclose| :foldc[lose] close folds
  1265. |:folddoopen| :foldd[oopen] execute command on lines not in a closed fold
  1266. |:folddoclosed| :folddoc[losed] execute command on lines in a closed fold
  1267. |:foldopen| :foldo[pen] open folds
  1268. |:for| :for for loop
  1269. |:function| :fu[nction] define a user function
  1270. |:global| :g[lobal] execute commands for matching lines
  1271. |:goto| :go[to] go to byte in the buffer
  1272. |:grep| :gr[ep] run 'grepprg' and jump to first match
  1273. |:grepadd| :grepa[dd] like :grep, but append to current list
  1274. |:gui| :gu[i] start the GUI
  1275. |:gvim| :gv[im] start the GUI
  1276. |:help| :h[elp] open a help window
  1277. |:helpclose| :helpc[lose] close one help window
  1278. |:helpgrep| :helpg[rep] like ":grep" but searches help files
  1279. |:helptags| :helpt[ags] generate help tags for a directory
  1280. |:highlight| :hi[ghlight] specify highlighting methods
  1281. |:hide| :hid[e] hide current buffer for a command
  1282. |:history| :his[tory] print a history list
  1283. |:horizontal| :hor[izontal] following window command work horizontally
  1284. |:insert| :i[nsert] insert text
  1285. |:iabbrev| :ia[bbrev] like ":abbrev" but for Insert mode
  1286. |:iabclear| :iabc[lear] like ":abclear" but for Insert mode
  1287. |:if| :if execute commands when condition met
  1288. |:ijump| :ij[ump] jump to definition of identifier
  1289. |:ilist| :il[ist] list lines where identifier matches
  1290. |:imap| :im[ap] like ":map" but for Insert mode
  1291. |:imapclear| :imapc[lear] like ":mapclear" but for Insert mode
  1292. |:imenu| :ime[nu] add menu for Insert mode
  1293. |:inoremap| :ino[remap] like ":noremap" but for Insert mode
  1294. |:inoreabbrev| :inorea[bbrev] like ":noreabbrev" but for Insert mode
  1295. |:inoremenu| :inoreme[nu] like ":noremenu" but for Insert mode
  1296. |:intro| :int[ro] print the introductory message
  1297. |:isearch| :is[earch] list one line where identifier matches
  1298. |:isplit| :isp[lit] split window and jump to definition of
  1299. identifier
  1300. |:iunmap| :iu[nmap] like ":unmap" but for Insert mode
  1301. |:iunabbrev| :iuna[bbrev] like ":unabbrev" but for Insert mode
  1302. |:iunmenu| :iunme[nu] remove menu for Insert mode
  1303. |:join| :j[oin] join lines
  1304. |:jumps| :ju[mps] print the jump list
  1305. |:k| :k set a mark
  1306. |:keepalt| :keepa[lt] following command keeps the alternate file
  1307. |:keepmarks| :kee[pmarks] following command keeps marks where they are
  1308. |:keepjumps| :keepj[umps] following command keeps jumplist and marks
  1309. |:keeppatterns| :keepp[atterns] following command keeps search pattern history
  1310. |:lNext| :lN[ext] go to previous entry in location list
  1311. |:lNfile| :lNf[ile] go to last entry in previous file
  1312. |:list| :l[ist] print lines
  1313. |:labove| :lab[ove] go to location above current line
  1314. |:laddexpr| :lad[dexpr] add locations from expr
  1315. |:laddbuffer| :laddb[uffer] add locations from buffer
  1316. |:laddfile| :laddf[ile] add locations to current location list
  1317. |:lafter| :laf[ter] go to location after current cursor
  1318. |:last| :la[st] go to the last file in the argument list
  1319. |:language| :lan[guage] set the language (locale)
  1320. |:later| :lat[er] go to newer change, redo
  1321. |:lbefore| :lbe[fore] go to location before current cursor
  1322. |:lbelow| :lbel[ow] go to location below current line
  1323. |:lbottom| :lbo[ttom] scroll to the bottom of the location window
  1324. |:lbuffer| :lb[uffer] parse locations and jump to first location
  1325. |:lcd| :lc[d] change directory locally
  1326. |:lchdir| :lch[dir] change directory locally
  1327. |:lclose| :lcl[ose] close location window
  1328. |:ldo| :ld[o] execute command in valid location list entries
  1329. |:lfdo| :lfd[o] execute command in each file in location list
  1330. |:left| :le[ft] left align lines
  1331. |:leftabove| :lefta[bove] make split window appear left or above
  1332. |:let| :let assign a value to a variable or option
  1333. |:lexpr| :lex[pr] read locations from expr and jump to first
  1334. |:lfile| :lf[ile] read file with locations and jump to first
  1335. |:lfirst| :lfir[st] go to the specified location, default first one
  1336. |:lgetbuffer| :lgetb[uffer] get locations from buffer
  1337. |:lgetexpr| :lgete[xpr] get locations from expr
  1338. |:lgetfile| :lg[etfile] read file with locations
  1339. |:lgrep| :lgr[ep] run 'grepprg' and jump to first match
  1340. |:lgrepadd| :lgrepa[dd] like :grep, but append to current list
  1341. |:lhelpgrep| :lh[elpgrep] like ":helpgrep" but uses location list
  1342. |:lhistory| :lhi[story] list the location lists
  1343. |:ll| :ll go to specific location
  1344. |:llast| :lla[st] go to the specified location, default last one
  1345. |:llist| :lli[st] list all locations
  1346. |:lmake| :lmak[e] execute external command 'makeprg' and parse
  1347. error messages
  1348. |:lmap| :lm[ap] like ":map!" but includes Lang-Arg mode
  1349. |:lmapclear| :lmapc[lear] like ":mapclear!" but includes Lang-Arg mode
  1350. |:lnext| :lne[xt] go to next location
  1351. |:lnewer| :lnew[er] go to newer location list
  1352. |:lnfile| :lnf[ile] go to first location in next file
  1353. |:lnoremap| :ln[oremap] like ":noremap!" but includes Lang-Arg mode
  1354. |:loadkeymap| :loadk[eymap] load the following keymaps until EOF
  1355. |:loadview| :lo[adview] load view for current window from a file
  1356. |:lockmarks| :loc[kmarks] following command keeps marks where they are
  1357. |:lockvar| :lockv[ar] lock variables
  1358. |:lolder| :lol[der] go to older location list
  1359. |:lopen| :lop[en] open location window
  1360. |:lprevious| :lp[revious] go to previous location
  1361. |:lpfile| :lpf[ile] go to last location in previous file
  1362. |:lrewind| :lr[ewind] go to the specified location, default first one
  1363. |:ls| :ls list all buffers
  1364. |:ltag| :lt[ag] jump to tag and add matching tags to the
  1365. location list
  1366. |:lunmap| :lu[nmap] like ":unmap!" but includes Lang-Arg mode
  1367. |:lua| :lua execute |Lua| command
  1368. |:luado| :luad[o] execute Lua command for each line
  1369. |:luafile| :luaf[ile] execute |Lua| script file
  1370. |:lvimgrep| :lv[imgrep] search for pattern in files
  1371. |:lvimgrepadd| :lvimgrepa[dd] like :vimgrep, but append to current list
  1372. |:lwindow| :lw[indow] open or close location window
  1373. |:move| :m[ove] move lines
  1374. |:mark| :ma[rk] set a mark
  1375. |:make| :mak[e] execute external command 'makeprg' and parse
  1376. error messages
  1377. |:map| :map show or enter a mapping
  1378. |:mapclear| :mapc[lear] clear all mappings for Normal and Visual mode
  1379. |:marks| :marks list all marks
  1380. |:match| :mat[ch] define a match to highlight
  1381. |:menu| :me[nu] enter a new menu item
  1382. |:menutranslate| :menut[ranslate] add a menu translation item
  1383. |:messages| :mes[sages] view previously displayed messages
  1384. |:mkexrc| :mk[exrc] write current mappings and settings to a file
  1385. |:mksession| :mks[ession] write session info to a file
  1386. |:mkspell| :mksp[ell] produce .spl spell file
  1387. |:mkvimrc| :mkv[imrc] write current mappings and settings to a file
  1388. |:mkview| :mkvie[w] write view of current window to a file
  1389. |:mode| :mod[e] show or change the screen mode
  1390. |:next| :n[ext] go to next file in the argument list
  1391. |:new| :new create a new empty window
  1392. |:nmap| :nm[ap] like ":map" but for Normal mode
  1393. |:nmapclear| :nmapc[lear] clear all mappings for Normal mode
  1394. |:nmenu| :nme[nu] add menu for Normal mode
  1395. |:nnoremap| :nn[oremap] like ":noremap" but for Normal mode
  1396. |:nnoremenu| :nnoreme[nu] like ":noremenu" but for Normal mode
  1397. |:noautocmd| :noa[utocmd] following commands don't trigger autocommands
  1398. |:noremap| :no[remap] enter a mapping that will not be remapped
  1399. |:nohlsearch| :noh[lsearch] suspend 'hlsearch' highlighting
  1400. |:noreabbrev| :norea[bbrev] enter an abbreviation that will not be
  1401. remapped
  1402. |:noremenu| :noreme[nu] enter a menu that will not be remapped
  1403. |:normal| :norm[al] execute Normal mode commands
  1404. |:noswapfile| :nos[wapfile] following commands don't create a swap file
  1405. |:number| :nu[mber] print lines with line number
  1406. |:nunmap| :nun[map] like ":unmap" but for Normal mode
  1407. |:nunmenu| :nunme[nu] remove menu for Normal mode
  1408. |:oldfiles| :ol[dfiles] list files that have marks in the |shada| file
  1409. |:omap| :om[ap] like ":map" but for Operator-pending mode
  1410. |:omapclear| :omapc[lear] remove all mappings for Operator-pending mode
  1411. |:omenu| :ome[nu] add menu for Operator-pending mode
  1412. |:only| :on[ly] close all windows except the current one
  1413. |:onoremap| :ono[remap] like ":noremap" but for Operator-pending mode
  1414. |:onoremenu| :onoreme[nu] like ":noremenu" but for Operator-pending mode
  1415. |:options| :opt[ions] open the options-window
  1416. |:ounmap| :ou[nmap] like ":unmap" but for Operator-pending mode
  1417. |:ounmenu| :ounme[nu] remove menu for Operator-pending mode
  1418. |:ownsyntax| :ow[nsyntax] set new local syntax highlight for this window
  1419. |:packadd| :pa[ckadd] add a plugin from 'packpath'
  1420. |:packloadall| :packl[oadall] load all packages under 'packpath'
  1421. |:pbuffer| :pb[uffer] edit buffer in the preview window
  1422. |:pclose| :pc[lose] close preview window
  1423. |:pedit| :ped[it] edit file in the preview window
  1424. |:perl| :pe[rl] execute perl command
  1425. |:perldo| :perld[o] execute perl command for each line
  1426. |:perlfile| :perlf[ile] execute perl script file
  1427. |:print| :p[rint] print lines
  1428. |:profdel| :profd[el] stop profiling a function or script
  1429. |:profile| :prof[ile] profiling functions and scripts
  1430. |:pop| :po[p] jump to older entry in tag stack
  1431. |:popup| :popu[p] popup a menu by name
  1432. |:ppop| :pp[op] ":pop" in preview window
  1433. |:preserve| :pre[serve] write all text to swap file
  1434. |:previous| :prev[ious] go to previous file in argument list
  1435. |:psearch| :ps[earch] like ":ijump" but shows match in preview window
  1436. |:ptag| :pt[ag] show tag in preview window
  1437. |:ptNext| :ptN[ext] |:tNext| in preview window
  1438. |:ptfirst| :ptf[irst] |:trewind| in preview window
  1439. |:ptjump| :ptj[ump] |:tjump| and show tag in preview window
  1440. |:ptlast| :ptl[ast] |:tlast| in preview window
  1441. |:ptnext| :ptn[ext] |:tnext| in preview window
  1442. |:ptprevious| :ptp[revious] |:tprevious| in preview window
  1443. |:ptrewind| :ptr[ewind] |:trewind| in preview window
  1444. |:ptselect| :pts[elect] |:tselect| and show tag in preview window
  1445. |:put| :pu[t] insert contents of register in the text
  1446. |:pwd| :pw[d] print current directory
  1447. |:py3| :py3 execute Python 3 command
  1448. |:python3| :python3 same as :py3
  1449. |:py3do| :py3d[o] execute Python 3 command for each line
  1450. |:py3file| :py3f[ile] execute Python 3 script file
  1451. |:python| :py[thon] execute Python command
  1452. |:pydo| :pyd[o] execute Python command for each line
  1453. |:pyfile| :pyf[ile] execute Python script file
  1454. |:pyx| :pyx execute |python_x| command
  1455. |:pythonx| :pythonx same as :pyx
  1456. |:pyxdo| :pyxd[o] execute |python_x| command for each line
  1457. |:pyxfile| :pyxf[ile] execute |python_x| script file
  1458. |:quit| :q[uit] quit current window (when one window quit Vim)
  1459. |:quitall| :quita[ll] quit Vim
  1460. |:qall| :qa[ll] quit Vim
  1461. |:read| :r[ead] read file into the text
  1462. |:recover| :rec[over] recover a file from a swap file
  1463. |:redo| :red[o] redo one undone change
  1464. |:redir| :redi[r] redirect messages to a file or register
  1465. |:redraw| :redr[aw] force a redraw of the display
  1466. |:redrawstatus| :redraws[tatus] force a redraw of the status line(s) and
  1467. window bar(s)
  1468. |:redrawtabline| :redrawt[abline] force a redraw of the tabline
  1469. |:registers| :reg[isters] display the contents of registers
  1470. |:resize| :res[ize] change current window height
  1471. |:retab| :ret[ab] change tab size
  1472. |:return| :retu[rn] return from a user function
  1473. |:rewind| :rew[ind] go to the first file in the argument list
  1474. |:right| :ri[ght] right align text
  1475. |:rightbelow| :rightb[elow] make split window appear right or below
  1476. |:rshada| :rsh[ada] read from |shada| file
  1477. |:ruby| :rub[y] execute Ruby command
  1478. |:rubydo| :rubyd[o] execute Ruby command for each line
  1479. |:rubyfile| :rubyf[ile] execute Ruby script file
  1480. |:rundo| :rund[o] read undo information from a file
  1481. |:runtime| :ru[ntime] source vim scripts in 'runtimepath'
  1482. |:substitute| :s[ubstitute] find and replace text
  1483. |:sNext| :sN[ext] split window and go to previous file in
  1484. argument list
  1485. |:sandbox| :san[dbox] execute a command in the sandbox
  1486. |:sargument| :sa[rgument] split window and go to specific file in
  1487. argument list
  1488. |:sall| :sal[l] open a window for each file in argument list
  1489. |:saveas| :sav[eas] save file under another name.
  1490. |:sbuffer| :sb[uffer] split window and go to specific file in the
  1491. buffer list
  1492. |:sbNext| :sbN[ext] split window and go to previous file in the
  1493. buffer list
  1494. |:sball| :sba[ll] open a window for each file in the buffer list
  1495. |:sbfirst| :sbf[irst] split window and go to first file in the
  1496. buffer list
  1497. |:sblast| :sbl[ast] split window and go to last file in buffer
  1498. list
  1499. |:sbmodified| :sbm[odified] split window and go to modified file in the
  1500. buffer list
  1501. |:sbnext| :sbn[ext] split window and go to next file in the buffer
  1502. list
  1503. |:sbprevious| :sbp[revious] split window and go to previous file in the
  1504. buffer list
  1505. |:sbrewind| :sbr[ewind] split window and go to first file in the
  1506. buffer list
  1507. |:scriptnames| :scr[iptnames] list names of all sourced Vim scripts
  1508. |:scriptencoding| :scripte[ncoding] encoding used in sourced Vim script
  1509. |:set| :se[t] show or set options
  1510. |:setfiletype| :setf[iletype] set 'filetype', unless it was set already
  1511. |:setglobal| :setg[lobal] show global values of options
  1512. |:setlocal| :setl[ocal] show or set options locally
  1513. |:sfind| :sf[ind] split current window and edit file in 'path'
  1514. |:sfirst| :sfir[st] split window and go to first file in the
  1515. argument list
  1516. |:sign| :sig[n] manipulate signs
  1517. |:silent| :sil[ent] run a command silently
  1518. |:sleep| :sl[eep] do nothing for a few seconds
  1519. |:sleep!| :sl[eep]! do nothing for a few seconds, without the
  1520. cursor visible
  1521. |:slast| :sla[st] split window and go to last file in the
  1522. argument list
  1523. |:smagic| :sm[agic] :substitute with 'magic'
  1524. |:smap| :smap like ":map" but for Select mode
  1525. |:smapclear| :smapc[lear] remove all mappings for Select mode
  1526. |:smenu| :sme[nu] add menu for Select mode
  1527. |:snext| :sn[ext] split window and go to next file in the
  1528. argument list
  1529. |:snomagic| :sno[magic] :substitute with 'nomagic'
  1530. |:snoremap| :snor[emap] like ":noremap" but for Select mode
  1531. |:snoremenu| :snoreme[nu] like ":noremenu" but for Select mode
  1532. |:sort| :sor[t] sort lines
  1533. |:source| :so[urce] read Vim or Ex commands from a file
  1534. |:spelldump| :spelld[ump] split window and fill with all correct words
  1535. |:spellgood| :spe[llgood] add good word for spelling
  1536. |:spellinfo| :spelli[nfo] show info about loaded spell files
  1537. |:spellrare| :spellra[re] add rare word for spelling
  1538. |:spellrepall| :spellr[epall] replace all bad words like last |z=|
  1539. |:spellundo| :spellu[ndo] remove good or bad word
  1540. |:spellwrong| :spellw[rong] add spelling mistake
  1541. |:split| :sp[lit] split current window
  1542. |:sprevious| :spr[evious] split window and go to previous file in the
  1543. argument list
  1544. |:srewind| :sre[wind] split window and go to first file in the
  1545. argument list
  1546. |:stop| :st[op] suspend the editor or escape to a shell
  1547. |:stag| :sta[g] split window and jump to a tag
  1548. |:startinsert| :star[tinsert] start Insert mode
  1549. |:startgreplace| :startg[replace] start Virtual Replace mode
  1550. |:startreplace| :startr[eplace] start Replace mode
  1551. |:stopinsert| :stopi[nsert] stop Insert mode
  1552. |:stjump| :stj[ump] do ":tjump" and split window
  1553. |:stselect| :sts[elect] do ":tselect" and split window
  1554. |:sunhide| :sun[hide] same as ":unhide"
  1555. |:sunmap| :sunm[ap] like ":unmap" but for Select mode
  1556. |:sunmenu| :sunme[nu] remove menu for Select mode
  1557. |:suspend| :sus[pend] same as ":stop"
  1558. |:sview| :sv[iew] split window and edit file read-only
  1559. |:swapname| :sw[apname] show the name of the current swap file
  1560. |:syntax| :sy[ntax] syntax highlighting
  1561. |:syntime| :synti[me] measure syntax highlighting speed
  1562. |:syncbind| :sync[bind] sync scroll binding
  1563. |:t| :t same as ":copy"
  1564. |:tNext| :tN[ext] jump to previous matching tag
  1565. |:tabNext| :tabN[ext] go to previous tab page
  1566. |:tabclose| :tabc[lose] close current tab page
  1567. |:tabdo| :tabd[o] execute command in each tab page
  1568. |:tabedit| :tabe[dit] edit a file in a new tab page
  1569. |:tabfind| :tabf[ind] find file in 'path', edit it in a new tab page
  1570. |:tabfirst| :tabfir[st] go to first tab page
  1571. |:tablast| :tabl[ast] go to last tab page
  1572. |:tabmove| :tabm[ove] move tab page to other position
  1573. |:tabnew| :tabnew edit a file in a new tab page
  1574. |:tabnext| :tabn[ext] go to next tab page
  1575. |:tabonly| :tabo[nly] close all tab pages except the current one
  1576. |:tabprevious| :tabp[revious] go to previous tab page
  1577. |:tabrewind| :tabr[ewind] go to first tab page
  1578. |:tabs| :tabs list the tab pages and what they contain
  1579. |:tab| :tab create new tab when opening new window
  1580. |:tag| :ta[g] jump to tag
  1581. |:tags| :tags show the contents of the tag stack
  1582. |:tcd| :tc[d] change directory for tab page
  1583. |:tchdir| :tch[dir] change directory for tab page
  1584. |:terminal| :te[rminal] open a terminal buffer
  1585. |:tfirst| :tf[irst] jump to first matching tag
  1586. |:throw| :th[row] throw an exception
  1587. |:tjump| :tj[ump] like ":tselect", but jump directly when there
  1588. is only one match
  1589. |:tlast| :tl[ast] jump to last matching tag
  1590. |:tlmenu| :tlm[enu] add menu for |Terminal-mode|
  1591. |:tlnoremenu| :tln[oremenu] like ":noremenu" but for |Terminal-mode|
  1592. |:tlunmenu| :tlu[nmenu] remove menu for |Terminal-mode|
  1593. |:tmapclear| :tmapc[lear] remove all mappings for |Terminal-mode|
  1594. |:tmap| :tma[p] like ":map" but for |Terminal-mode|
  1595. |:tmenu| :tm[enu] define menu tooltip
  1596. |:tnext| :tn[ext] jump to next matching tag
  1597. |:tnoremap| :tno[remap] like ":noremap" but for |Terminal-mode|
  1598. |:topleft| :to[pleft] make split window appear at top or far left
  1599. |:tprevious| :tp[revious] jump to previous matching tag
  1600. |:trewind| :tr[ewind] jump to first matching tag
  1601. |:trust| :trust add or remove file from trust database
  1602. |:try| :try execute commands, abort on error or exception
  1603. |:tselect| :ts[elect] list matching tags and select one
  1604. |:tunmap| :tunma[p] like ":unmap" but for |Terminal-mode|
  1605. |:tunmenu| :tu[nmenu] remove menu tooltip
  1606. |:undo| :u[ndo] undo last change(s)
  1607. |:undojoin| :undoj[oin] join next change with previous undo block
  1608. |:undolist| :undol[ist] list leafs of the undo tree
  1609. |:unabbreviate| :una[bbreviate] remove abbreviation
  1610. |:unhide| :unh[ide] open a window for each loaded file in the
  1611. buffer list
  1612. |:unlet| :unl[et] delete variable
  1613. |:unlockvar| :unlo[ckvar] unlock variables
  1614. |:unmap| :unm[ap] remove mapping
  1615. |:unmenu| :unme[nu] remove menu
  1616. |:unsilent| :uns[ilent] run a command not silently
  1617. |:update| :up[date] write buffer if modified
  1618. |:vglobal| :v[global] execute commands for not matching lines
  1619. |:version| :ve[rsion] print version number and other info
  1620. |:verbose| :verb[ose] execute command with 'verbose' set
  1621. |:vertical| :vert[ical] make following command split vertically
  1622. |:vimgrep| :vim[grep] search for pattern in files
  1623. |:vimgrepadd| :vimgrepa[dd] like :vimgrep, but append to current list
  1624. |:visual| :vi[sual] same as ":edit", but turns off "Ex" mode
  1625. |:viusage| :viu[sage] overview of Normal mode commands
  1626. |:view| :vie[w] edit a file read-only
  1627. |:vmap| :vm[ap] like ":map" but for Visual+Select mode
  1628. |:vmapclear| :vmapc[lear] remove all mappings for Visual+Select mode
  1629. |:vmenu| :vme[nu] add menu for Visual+Select mode
  1630. |:vnew| :vne[w] create a new empty window, vertically split
  1631. |:vnoremap| :vn[oremap] like ":noremap" but for Visual+Select mode
  1632. |:vnoremenu| :vnoreme[nu] like ":noremenu" but for Visual+Select mode
  1633. |:vsplit| :vs[plit] split current window vertically
  1634. |:vunmap| :vu[nmap] like ":unmap" but for Visual+Select mode
  1635. |:vunmenu| :vunme[nu] remove menu for Visual+Select mode
  1636. |:windo| :wind[o] execute command in each window
  1637. |:write| :w[rite] write to a file
  1638. |:wNext| :wN[ext] write to a file and go to previous file in
  1639. argument list
  1640. |:wall| :wa[ll] write all (changed) buffers
  1641. |:while| :wh[ile] execute loop for as long as condition met
  1642. |:winsize| :wi[nsize] get or set window size (obsolete)
  1643. |:wincmd| :winc[md] execute a Window (CTRL-W) command
  1644. |:winpos| :winp[os] get or set window position
  1645. |:wnext| :wn[ext] write to a file and go to next file in
  1646. argument list
  1647. |:wprevious| :wp[revious] write to a file and go to previous file in
  1648. argument list
  1649. |:wq| :wq write to a file and quit window or Vim
  1650. |:wqall| :wqa[ll] write all changed buffers and quit Vim
  1651. |:wshada| :wsh[ada] write to ShaDa file
  1652. |:wundo| :wu[ndo] write undo information to a file
  1653. |:xit| :x[it] write if buffer changed and close window
  1654. |:xall| :xa[ll] same as ":wqall"
  1655. |:xmapclear| :xmapc[lear] remove all mappings for Visual mode
  1656. |:xmap| :xm[ap] like ":map" but for Visual mode
  1657. |:xmenu| :xme[nu] add menu for Visual mode
  1658. |:xnoremap| :xn[oremap] like ":noremap" but for Visual mode
  1659. |:xnoremenu| :xnoreme[nu] like ":noremenu" but for Visual mode
  1660. |:xunmap| :xu[nmap] like ":unmap" but for Visual mode
  1661. |:xunmenu| :xunme[nu] remove menu for Visual mode
  1662. |:yank| :y[ank] yank lines into a register
  1663. |:z| :z print some lines
  1664. |:~| :~ repeat last ":substitute"
  1665. vim:tw=78:ts=8:noet:ft=help:norl: