Guest User

VIm 8.1 full list of commands compiled from index.txt

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