robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

robinmerge: 9a29622b3b00ddb601

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