Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
index.txt1808 linesDownload Raw Back to doc
1*index.txt*	For Vim version 9.2.  Last change: 2026 Feb 142 3 4		  VIM REFERENCE MANUAL	  by Bram Moolenaar5 6 7								*index*8This file contains a list of all commands for each mode, with a tag and a9short description.  The lists are sorted on ASCII value.10 11Tip: When looking for certain functionality, use a search command.  E.g.,12to look for deleting something, use: "/delete".13 141. Insert mode				|insert-index|152. Normal mode				|normal-index|16   2.1. Text objects			|objects|17   2.2. Window commands			|CTRL-W|18   2.3. Square bracket commands		|[|19   2.4. Commands starting with 'g'	|g|20   2.5. Commands starting with 'z'	|z|21   2.6. Operator-pending mode		|operator-pending-index|223. Visual mode				|visual-index|234. Command-line editing			|ex-edit-index|245. Terminal-Job mode			|terminal-job-index|256. EX commands				|ex-cmd-index|26 27For an overview of options see |option-list|.28For an overview of built-in functions see |functions|.29For a list of Vim variables see |vim-variable|.30For a complete listing of all help items see |help-tags|.31 32==============================================================================331. Insert mode						*insert-index*34 35tag		char		action in Insert mode	~36-----------------------------------------------------------------------37|i_CTRL-@|	CTRL-@		insert previously inserted text and stop38				insert39|i_CTRL-A|	CTRL-A		insert previously inserted text40		CTRL-B		not used |i_CTRL-B-gone|41|i_CTRL-C|	CTRL-C		quit insert mode, without checking for42				abbreviation, unless 'insertmode' set.43|i_CTRL-D|	CTRL-D		delete one shiftwidth of indent in the current44				line45|i_CTRL-E|	CTRL-E		insert the character which is below the cursor46		CTRL-F		not used (but by default it's in 'cinkeys' to47				re-indent the current line)48|i_CTRL-G_j|	CTRL-G CTRL-J	line down, to column where inserting started49|i_CTRL-G_j|	CTRL-G j	line down, to column where inserting started50|i_CTRL-G_j|	CTRL-G <Down>	line down, to column where inserting started51|i_CTRL-G_k|	CTRL-G CTRL-K	line up, to column where inserting started52|i_CTRL-G_k|	CTRL-G k	line up, to column where inserting started53|i_CTRL-G_k|	CTRL-G <Up>	line up, to column where inserting started54|i_CTRL-G_u|	CTRL-G u	start new undoable edit55|i_CTRL-G_U|	CTRL-G U	don't break undo with next cursor movement56|i_<BS>|	<BS>		delete character before the cursor57|i_digraph|	{char1}<BS>{char2}58				enter digraph (only when 'digraph' option set)59|i_CTRL-H|	CTRL-H		same as <BS>60|i_<Tab>|	<Tab>		insert a <Tab> character61|i_CTRL-I|	CTRL-I		same as <Tab>62|i_<NL>|	<NL>		same as <CR>63|i_CTRL-J|	CTRL-J		same as <CR>64|i_CTRL-K|	CTRL-K {char1} {char2}65				enter digraph66|i_CTRL-L|	CTRL-L		when 'insertmode' set: Leave Insert mode67|i_<CR>|	<CR>		begin new line68|i_CTRL-M|	CTRL-M		same as <CR>69|i_CTRL-N|	CTRL-N		find next match for keyword in front of the70				cursor71|i_CTRL-O|	CTRL-O		execute a single command and return to insert72				mode73|i_CTRL-P|	CTRL-P		find previous match for keyword in front of74				the cursor75|i_CTRL-Q|	CTRL-Q		same as CTRL-V, unless used for terminal76				control flow77|i_CTRL-SHIFT-Q|  CTRL-SHIFT-Q {char}78				like CTRL-Q unless |modifyOtherKeys| is active79|i_CTRL-R|	CTRL-R {register}80				insert the contents of a register81|i_CTRL-R_CTRL-R| CTRL-R CTRL-R {register}82				insert the contents of a register literally83|i_CTRL-R_CTRL-O| CTRL-R CTRL-O {register}84				insert the contents of a register literally85				and don't auto-indent86|i_CTRL-R_CTRL-P| CTRL-R CTRL-P {register}87				insert the contents of a register literally88				and fix indent.89		CTRL-S		not used or used for terminal control flow90|i_CTRL-T|	CTRL-T		insert one shiftwidth of indent in current91				line92|i_CTRL-U|	CTRL-U		delete all entered characters in the current93				line94|i_CTRL-V|	CTRL-V {char}	insert next non-digit literally95|i_CTRL-SHIFT-V|  CTRL-SHIFT-V {char}96				like CTRL-V unless |modifyOtherKeys| is active97|i_CTRL-V_digit| CTRL-V {number} insert three digit decimal number as a single98				byte.99|i_CTRL-W|	CTRL-W		delete word before the cursor100|i_CTRL-X|	CTRL-X {mode}	enter CTRL-X sub mode, see |i_CTRL-X_index|101|i_CTRL-Y|	CTRL-Y		insert the character which is above the cursor102|i_CTRL-Z|	CTRL-Z		when 'insertmode' set: suspend Vim103|i_<Esc>|	<Esc>		end insert mode (unless 'insertmode' set)104|i_CTRL-[|	CTRL-[		same as <Esc>105|i_CTRL-\_CTRL-N| CTRL-\ CTRL-N	go to Normal mode106|i_CTRL-\_CTRL-G| CTRL-\ CTRL-G	go to mode specified with 'insertmode'107		CTRL-\ a - z	reserved for extensions108		CTRL-\ others	not used109|i_CTRL-]|	CTRL-]		trigger abbreviation110|i_CTRL-^|	CTRL-^		toggle use of |:lmap| mappings111|i_CTRL-_|	CTRL-_		When 'allowrevins' set: change language112				(Hebrew, Farsi) {only when compiled with113				the |+rightleft| feature}114 115		<Space> to '~'	not used, except '0' and '^' followed by116				CTRL-D117 118|i_0_CTRL-D|	0 CTRL-D	delete all indent in the current line119|i_^_CTRL-D|	^ CTRL-D	delete all indent in the current line, restore120				it in the next line121 122|i_<Del>|	<Del>		delete character under the cursor123 124		Meta characters (0x80 to 0xff, 128 to 255)125				not used126 127|i_<Left>|	<Left>		cursor one character left128|i_<S-Left>|	<S-Left>	cursor one word left129|i_<C-Left>|	<C-Left>	cursor one word left130|i_<Right>|	<Right>		cursor one character right131|i_<S-Right>|	<S-Right>	cursor one word right132|i_<C-Right>|	<C-Right>	cursor one word right133|i_<Up>|	<Up>		cursor one line up134|i_<S-Up>|	<S-Up>		same as <PageUp>135|i_<Down>|	<Down>		cursor one line down136|i_<S-Down>|	<S-Down>	same as <PageDown>137|i_<Home>|	<Home>		cursor to start of line138|i_<C-Home>|	<C-Home>	cursor to start of file139|i_<End>|	<End>		cursor past end of line140|i_<C-End>|	<C-End>		cursor past end of file141|i_<PageUp>|	<PageUp>	one screenful backward142|i_<PageDown>|	<PageDown>	one screenful forward143|i_<F1>|	<F1>		same as <Help>144|i_<Help>|	<Help>		stop insert mode and display help window145|i_<Insert>|	<Insert>	toggle Insert/Replace mode146|i_<LeftMouse>|	<LeftMouse>	cursor at mouse click147|i_<ScrollWheelDown>|	<ScrollWheelDown>	move window three lines down148|i_<S-ScrollWheelDown>|	<S-ScrollWheelDown>	move window one page down149|i_<ScrollWheelUp>|	<ScrollWheelUp>		move window three lines up150|i_<S-ScrollWheelUp>|	<S-ScrollWheelUp>	move window one page up151|i_<ScrollWheelLeft>|	<ScrollWheelLeft>	move window six columns left152|i_<S-ScrollWheelLeft>|	<S-ScrollWheelLeft>	move window one page left153|i_<ScrollWheelRight>|	<ScrollWheelRight>	move window six columns right154|i_<S-ScrollWheelRight>| <S-ScrollWheelRight>	move window one page right155 156commands in CTRL-X submode				*i_CTRL-X_index*157 158|i_CTRL-X_CTRL-D|	CTRL-X CTRL-D	complete defined identifiers159|i_CTRL-X_CTRL-E|	CTRL-X CTRL-E	scroll up160|i_CTRL-X_CTRL-F|	CTRL-X CTRL-F	complete file names161|i_CTRL-X_CTRL-I|	CTRL-X CTRL-I	complete identifiers162|i_CTRL-X_CTRL-K|	CTRL-X CTRL-K	complete identifiers from dictionary163|i_CTRL-X_CTRL-L|	CTRL-X CTRL-L	complete whole lines164|i_CTRL-X_CTRL-N|	CTRL-X CTRL-N	next completion165|i_CTRL-X_CTRL-O|	CTRL-X CTRL-O	omni completion166|i_CTRL-X_CTRL-P|	CTRL-X CTRL-P	previous completion167|i_CTRL-X_CTRL-R|	CTRL-X CTRL-R	complete contents from registers168|i_CTRL-X_CTRL-S|	CTRL-X CTRL-S	spelling suggestions169|i_CTRL-X_CTRL-T|	CTRL-X CTRL-T	complete identifiers from thesaurus170|i_CTRL-X_CTRL-Y|	CTRL-X CTRL-Y	scroll down171|i_CTRL-X_CTRL-U|	CTRL-X CTRL-U	complete with 'completefunc'172|i_CTRL-X_CTRL-V|	CTRL-X CTRL-V	complete like in : command line173|i_CTRL-X_CTRL-Z|	CTRL-X CTRL-Z	stop completion, text is unchanged174|i_CTRL-X_CTRL-]|	CTRL-X CTRL-]	complete tags175|i_CTRL-X_s|		CTRL-X s	spelling suggestions176 177commands in completion mode (see |popupmenu-keys|)178 179|complete_CTRL-E| CTRL-E	stop completion and go back to original text180|complete_CTRL-Y| CTRL-Y	accept selected match and stop completion181		CTRL-L		insert one character from the current match182		<CR>		insert currently selected match183		<BS>		delete one character and redo search184		CTRL-H		same as <BS>185		<Up>		select the previous match186		<Down>		select the next match187		<PageUp>	select a match several entries back188		<PageDown>	select a match several entries forward189		other		stop completion and insert the typed character190 191==============================================================================1922. Normal mode						*normal-index*193 194CHAR	 any non-blank character195WORD	 a sequence of non-blank characters196N	 a number entered before the command197{motion} a cursor movement command198Nmove	 the text that is moved over with a {motion}199SECTION	 a section that possibly starts with '}' instead of '{'200 201note: 1 = cursor movement command; 2 = can be undone/redone202 203tag		char	      note action in Normal mode	~204------------------------------------------------------------------------------205		CTRL-@		   not used206|CTRL-A|	CTRL-A		2  add N to number at/after cursor207|CTRL-B|	CTRL-B		1  scroll N screens Backwards208|CTRL-C|	CTRL-C		   interrupt current (search) command209|CTRL-D|	CTRL-D		   scroll Down N lines (default: half a screen)210|CTRL-E|	CTRL-E		   scroll N lines upwards (N lines Extra)211|CTRL-F|	CTRL-F		1  scroll N screens Forward212|CTRL-G|	CTRL-G		   display current file name and position213|<BS>|		<BS>		1  same as "h"214|CTRL-H|	CTRL-H		1  same as "h"215|<Tab>|		<Tab>		1  go to N newer entry in jump list216|CTRL-I|	CTRL-I		1  same as <Tab>217|<NL>|		<NL>		1  same as "j"218|<S-NL>|	<S-NL>		1  same as CTRL-F219|CTRL-J|	CTRL-J		1  same as "j"220		CTRL-K		   not used221|CTRL-L|	CTRL-L		   redraw screen222|<CR>|		<CR>		1  cursor to the first CHAR N lines lower223|<S-CR>|	<S-CR>		1  same as CTRL-F224|CTRL-M|	CTRL-M		1  same as <CR>225|CTRL-N|	CTRL-N		1  same as "j"226|CTRL-O|	CTRL-O		1  go to N older entry in jump list227|CTRL-P|	CTRL-P		1  same as "k"228		CTRL-Q		   not used, or used for terminal control flow229|CTRL-R|	CTRL-R		2  redo changes which were undone with 'u'230		CTRL-S		   not used, or used for terminal control flow231|CTRL-T|	CTRL-T		   jump to N older Tag in tag list232|CTRL-U|	CTRL-U		   scroll N lines Upwards (default: half a233				   screen)234|CTRL-V|	CTRL-V		   start blockwise Visual mode235|CTRL-W|	CTRL-W {char}	   window commands, see |CTRL-W|236|CTRL-X|	CTRL-X		2  subtract N from number at/after cursor237|CTRL-Y|	CTRL-Y		   scroll N lines downwards238|CTRL-Z|	CTRL-Z		   suspend program (or start new shell)239		CTRL-[ <Esc>	   not used240|CTRL-\_CTRL-N|	CTRL-\ CTRL-N	   go to Normal mode (no-op)241|CTRL-\_CTRL-G|	CTRL-\ CTRL-G	   go to mode specified with 'insertmode'242		CTRL-\ a - z	   reserved for extensions243		CTRL-\ others	   not used244|CTRL-]|	CTRL-]		   :ta to ident under cursor245|CTRL-^|	CTRL-^		   edit Nth alternate file (equivalent to246				   ":e #N")247		CTRL-_		   not used248 249|<Space>|	<Space>		1  same as "l"250|!|		!{motion}{filter}251				2  filter Nmove text through the {filter}252				   command253|!!|		!!{filter}	2  filter N lines through the {filter} command254|quote|		"{register}	   use {register} for next delete, yank or put255				   ({.%#:} only work with put)256|#|		#		1  search backward for the Nth occurrence of257				   the ident under the cursor258|$|		$		1  cursor to the end of Nth next line259|%|		%		1  find the next (curly/square) bracket on260				   this line and go to its match, or go to261				   matching comment bracket, or go to matching262				   preprocessor directive.263|N%|		{count}%	1  go to N percentage in the file264|&|		&		2  repeat last :s265|'|		'{a-zA-Z0-9}	1  cursor to the first CHAR on the line with266				   mark {a-zA-Z0-9}267|''|		''		1  cursor to the first CHAR of the line where268				   the cursor was before the latest jump.269|'(|		'(		1  cursor to the first CHAR on the line of the270				   start of the current sentence271|')|		')		1  cursor to the first CHAR on the line of the272				   end of the current sentence273|'<|		'<		1  cursor to the first CHAR of the line where274				   highlighted area starts/started in the275				   current buffer.276|'>|		'>		1  cursor to the first CHAR of the line where277				   highlighted area ends/ended in the current278				   buffer.279|'[|		'[		1  cursor to the first CHAR on the line of the280				   start of last operated text or start of put281				   text282|']|		']		1  cursor to the first CHAR on the line of the283				   end of last operated text or end of put284				   text285|'{|		'{		1  cursor to the first CHAR on the line of the286				   start of the current paragraph287|'}|		'}		1  cursor to the first CHAR on the line of the288				   end of the current paragraph289|(|		(		1  cursor N sentences backward290|)|		)		1  cursor N sentences forward291|star|		*		1  search forward for the Nth occurrence of292				   the ident under the cursor293|+|		+		1  same as <CR>294|<S-Plus>|	<S-+>		1  same as CTRL-F295|,|		,		1  repeat latest f, t, F or T in opposite296				   direction N times297|-|		-		1  cursor to the first CHAR N lines higher298|<S-Minus>|	<S-->		1  same as CTRL-B299|.|		.		2  repeat last change with count replaced with300				   N301|/|		/{pattern}<CR>	1  search forward for the Nth occurrence of302				   {pattern}303|/<CR>|		/<CR>		1  search forward for {pattern} of last search304|0|		0		1  cursor to the first char of the line305|count|		1		   prepend to command to give a count306|count|		2			"307|count|		3			"308|count|		4			"309|count|		5			"310|count|		6			"311|count|		7			"312|count|		8			"313|count|		9			"314|:|		:		1  start entering an Ex command315|N:|		{count}:	   start entering an Ex command with range316				   from current line to N-1 lines down317|;|		;		1  repeat latest f, t, F or T N times318|<|		<{motion}	2  shift Nmove lines one 'shiftwidth'319				   leftwards320|<<|		<<		2  shift N lines one 'shiftwidth' leftwards321|=|		={motion}	2  filter Nmove lines through "indent"322|==|		==		2  filter N lines through "indent"323|>|		>{motion}	2  shift Nmove lines one 'shiftwidth'324				   rightwards325|>>|		>>		2  shift N lines one 'shiftwidth' rightwards326|?|		?{pattern}<CR>	1  search backward for the Nth previous327				   occurrence of {pattern}328|?<CR>|		?<CR>		1  search backward for {pattern} of last search329|@|		@{a-z}		2  execute the contents of register {a-z}330				   N times331|@:|		@:		   repeat the previous ":" command N times332|@@|		@@		2  repeat the previous @{a-z} N times333|A|		A		2  append text after the end of the line N times334|B|		B		1  cursor N WORDS backward335|C|		["x]C		2  change from the cursor position to the end336				   of the line, and N-1 more lines [into337				   register x]; synonym for "c$"338|D|		["x]D		2  delete the characters under the cursor339				   until the end of the line and N-1 more340				   lines [into register x]; synonym for "d$"341|E|		E		1  cursor forward to the end of WORD N342|F|		F{char}		1  cursor to the Nth occurrence of {char} to343				   the left344|G|		G		1  cursor to line N, default last line345|H|		H		1  cursor to line N from top of screen346|I|		I		2  insert text before the first CHAR on the347				   line N times348|J|		J		2  Join N lines; default is 2349|K|		K		   lookup Keyword under the cursor with350				   'keywordprg'351|L|		L		1  cursor to line N from bottom of screen352|M|		M		1  cursor to middle line of screen353|N|		N		1  repeat the latest '/' or '?' N times in354				   opposite direction355|O|		O		2  begin a new line above the cursor and356				   insert text, repeat N times357|P|		["x]P		2  put the text [from register x] before the358				   cursor N times359|Q|		Q		   switch to "Ex" mode360|R|		R		2  enter replace mode: overtype existing361				   characters, repeat the entered text N-1362				   times363|S|		["x]S		2  delete N lines [into register x] and start364				   insert; synonym for "cc".365|T|		T{char}		1  cursor till after Nth occurrence of {char}366				   to the left367|U|		U		2  undo all latest changes on one line368|V|		V		   start linewise Visual mode369|W|		W		1  cursor N WORDS forward370|X|		["x]X		2  delete N characters before the cursor [into371				   register x]372|Y|		["x]Y		   yank N lines [into register x]; synonym for373				   "yy"374|ZZ|		ZZ		   write if buffer changed and close window375|ZQ|		ZQ		   close window without writing376|[|		[{char}		   square bracket command (see |[| below)377		\		   not used378|]|		]{char}		   square bracket command (see |]| below)379|^|		^		1  cursor to the first CHAR of the line380|_|		_		1  cursor to the first CHAR N - 1 lines lower381|`|		`{a-zA-Z0-9}	1  cursor to the mark {a-zA-Z0-9}382|`(|		`(		1  cursor to the start of the current sentence383|`)|		`)		1  cursor to the end of the current sentence384|`<|		`<		1  cursor to the start of the highlighted area385|`>|		`>		1  cursor to the end of the highlighted area386|`[|		`[		1  cursor to the start of last operated text387				   or start of putted text388|`]|		`]		1  cursor to the end of last operated text or389				   end of putted text390|``|		``		1  cursor to the position before latest jump391|`{|		`{		1  cursor to the start of the current paragraph392|`}|		`}		1  cursor to the end of the current paragraph393|a|		a		2  append text after the cursor N times394|b|		b		1  cursor N words backward395|c|		["x]c{motion}	2  delete Nmove text [into register x] and396				   start insert397|cc|		["x]cc		2  delete N lines [into register x] and start398				   insert399|d|		["x]d{motion}	2  delete Nmove text [into register x]400|dd|		["x]dd		2  delete N lines [into register x]401|do|		do		2  same as ":diffget"402|dp|		dp		2  same as ":diffput"403|e|		e		1  cursor forward to the end of word N404|f|		f{char}		1  cursor to Nth occurrence of {char} to the405				   right406|g|		g{char}		   extended commands, see |g| below407|h|		h		1  cursor N chars to the left408|i|		i		2  insert text before the cursor N times409|j|		j		1  cursor N lines downward410|k|		k		1  cursor N lines upward411|l|		l		1  cursor N chars to the right412|m|		m{A-Za-z}	   set mark {A-Za-z} at cursor position413|n|		n		1  repeat the latest '/' or '?' N times414|o|		o		2  begin a new line below the cursor and415				   insert text, repeat N times416|p|		["x]p		2  put the text [from register x] after the417				   cursor N times418|q|		q{0-9a-zA-Z"}	   record typed characters into named register419				   {0-9a-zA-Z"} (uppercase to append)420|q|		q		   (while recording) stops recording421|q:|		q:		   edit : command-line in command-line window422|q/|		q/		   edit / command-line in command-line window423|q?|		q?		   edit ? command-line in command-line window424|r|		r{char}		2  replace N chars with {char}425|s|		["x]s		2  (substitute) delete N characters [into426				   register x] and start insert427|t|		t{char}		1  cursor till before Nth occurrence of {char}428				   to the right429|u|		u		2  undo changes430|v|		v		   start characterwise Visual mode431|w|		w		1  cursor N words forward432|x|		["x]x		2  delete N characters under and after the433				   cursor [into register x]434|y|		["x]y{motion}	   yank Nmove text [into register x]435|yy|		["x]yy		   yank N lines [into register x]436|z|		z{char}		   commands starting with 'z', see |z| below437|{|		{		1  cursor N paragraphs backward438|bar|		|		1  cursor to column N439|}|		}		1  cursor N paragraphs forward440|~|		~		2  'tildeop' off: switch case of N characters441				   under cursor and move the cursor N442				   characters to the right443|~|		~{motion}	   'tildeop' on: switch case of Nmove text444|<C-End>|	<C-End>		1  same as "G"445|<C-Home>|	<C-Home>	1  same as "gg"446|<C-Left>|	<C-Left>	1  same as "b"447|<C-LeftMouse>|	<C-LeftMouse>	   ":ta" to the keyword at the mouse click448|<C-Right>|	<C-Right>	1  same as "w"449|<C-RightMouse>| <C-RightMouse>	   same as "CTRL-T"450|<C-Tab>|	<C-Tab>		   same as "g<Tab>"451|<Del>|		["x]<Del>	2  same as "x"452|N<Del>|	{count}<Del>	   remove the last digit from {count}453|<Down>|	<Down>		1  same as "j"454|<End>|		<End>		1  same as "$"455|<F1>|		<F1>		   same as <Help>456|<Help>|	<Help>		   open a help window457|<Home>|	<Home>		1  same as "0"458|<Insert>|	<Insert>	2  same as "i"459|<Left>|	<Left>		1  same as "h"460|<LeftMouse>|	<LeftMouse>	1  move cursor to the mouse click position461|<MiddleMouse>|	<MiddleMouse>	2  same as "gP" at the mouse click position462|<PageDown>|	<PageDown>	   same as CTRL-F463|<PageUp>|	<PageUp>	   same as CTRL-B464|<Right>|	<Right>		1  same as "l"465|<RightMouse>|	<RightMouse>	   start Visual mode, move cursor to the mouse466				   click position467|<S-Down>|	<S-Down>	1  same as CTRL-F468|<S-Left>|	<S-Left>	1  same as "b"469|<S-LeftMouse>|	<S-LeftMouse>	   same as "*" at the mouse click position470|<S-Right>|	<S-Right>	1  same as "w"471|<S-RightMouse>| <S-RightMouse>	   same as "#" at the mouse click position472|<S-Up>|	<S-Up>		1  same as CTRL-B473|<Undo>|	<Undo>		2  same as "u"474|<Up>|		<Up>		1  same as "k"475|<ScrollWheelDown>|	<ScrollWheelDown>	move window three lines down476|<S-ScrollWheelDown>|	<S-ScrollWheelDown>	move window one page down477|<ScrollWheelUp>|	<ScrollWheelUp>		move window three lines up478|<S-ScrollWheelUp>|	<S-ScrollWheelUp>	move window one page up479|<ScrollWheelLeft>|	<ScrollWheelLeft>	move window six columns left480|<S-ScrollWheelLeft>|	<S-ScrollWheelLeft>	move window one page left481|<ScrollWheelRight>|	<ScrollWheelRight>	move window six columns right482|<S-ScrollWheelRight>|	<S-ScrollWheelRight>	move window one page right483 484==============================================================================4852.1 Text objects						*objects*486 487These can be used after an operator or in Visual mode to select an object.488 489tag		command		   action in op-pending and Visual mode	~490------------------------------------------------------------------------------491|v_aquote|	a"		   double quoted string492|v_a'|		a'		   single quoted string493|v_a(|		a(		   same as ab494|v_a)|		a)		   same as ab495|v_a<|		a<		   "a <>" from '<' to the matching '>'496|v_a>|		a>		   same as a<497|v_aB|		aB		   "a Block" from "[{" to "]}" (with brackets)498|v_aW|		aW		   "a WORD" (with white space)499|v_a[|		a[		   "a []" from '[' to the matching ']'500|v_a]|		a]		   same as a[501|v_a`|		a`		   string in backticks502|v_ab|		ab		   "a block" from "[(" to "])" (with braces)503|v_ap|		ap		   "a paragraph" (with white space)504|v_as|		as		   "a sentence" (with white space)505|v_at|		at		   "a tag block" (with white space)506|v_aw|		aw		   "a word" (with white space)507|v_a{|		a{		   same as aB508|v_a}|		a}		   same as aB509|v_iquote|	i"		   double quoted string without the quotes510|v_i'|		i'		   single quoted string without the quotes511|v_i(|		i(		   same as ib512|v_i)|		i)		   same as ib513|v_i<|		i<		   "inner <>" from '<' to the matching '>'514|v_i>|		i>		   same as i<515|v_iB|		iB		   "inner Block" from "[{" and "]}"516|v_iW|		iW		   "inner WORD"517|v_i[|		i[		   "inner []" from '[' to the matching ']'518|v_i]|		i]		   same as i[519|v_i`|		i`		   string in backticks without the backticks520|v_ib|		ib		   "inner block" from "[(" to "])"521|v_ip|		ip		   "inner paragraph"522|v_is|		is		   "inner sentence"523|v_it|		it		   "inner tag block"524|v_iw|		iw		   "inner word"525|v_i{|		i{		   same as iB526|v_i}|		i}		   same as iB527 528==============================================================================5292.2 Window commands						*CTRL-W*530 531tag		command		   action in Normal mode	~532------------------------------------------------------------------------------533|CTRL-W_CTRL-B|	CTRL-W CTRL-B	   same as "CTRL-W b"534|CTRL-W_CTRL-C|	CTRL-W CTRL-C	   no-op535|CTRL-W_CTRL-D|	CTRL-W CTRL-D	   same as "CTRL-W d"536|CTRL-W_CTRL-F|	CTRL-W CTRL-F	   same as "CTRL-W f"537		CTRL-W CTRL-G	   same as "CTRL-W g .."538|CTRL-W_CTRL-H|	CTRL-W CTRL-H	   same as "CTRL-W h"539|CTRL-W_CTRL-I|	CTRL-W CTRL-I	   same as "CTRL-W i"540|CTRL-W_CTRL-J|	CTRL-W CTRL-J	   same as "CTRL-W j"541|CTRL-W_CTRL-K|	CTRL-W CTRL-K	   same as "CTRL-W k"542|CTRL-W_CTRL-L|	CTRL-W CTRL-L	   same as "CTRL-W l"543|CTRL-W_CTRL-N|	CTRL-W CTRL-N	   same as "CTRL-W n"544|CTRL-W_CTRL-O|	CTRL-W CTRL-O	   same as "CTRL-W o"545|CTRL-W_CTRL-P|	CTRL-W CTRL-P	   same as "CTRL-W p"546|CTRL-W_CTRL-Q|	CTRL-W CTRL-Q	   same as "CTRL-W q"547|CTRL-W_CTRL-R|	CTRL-W CTRL-R	   same as "CTRL-W r"548|CTRL-W_CTRL-S|	CTRL-W CTRL-S	   same as "CTRL-W s"549|CTRL-W_CTRL-T|	CTRL-W CTRL-T	   same as "CTRL-W t"550|CTRL-W_CTRL-V|	CTRL-W CTRL-V	   same as "CTRL-W v"551|CTRL-W_CTRL-W|	CTRL-W CTRL-W	   same as "CTRL-W w"552|CTRL-W_CTRL-X|	CTRL-W CTRL-X	   same as "CTRL-W x"553|CTRL-W_CTRL-Z|	CTRL-W CTRL-Z	   same as "CTRL-W z"554|CTRL-W_CTRL-]|	CTRL-W CTRL-]	   same as "CTRL-W ]"555|CTRL-W_CTRL-^|	CTRL-W CTRL-^	   same as "CTRL-W ^"556|CTRL-W_CTRL-_|	CTRL-W CTRL-_	   same as "CTRL-W _"557|CTRL-W_+|	CTRL-W +	   increase current window height N lines558|CTRL-W_-|	CTRL-W -	   decrease current window height N lines559|CTRL-W_:|	CTRL-W :	   same as |:|, edit a command line560|CTRL-W_<|	CTRL-W <	   decrease current window width N columns561|CTRL-W_=|	CTRL-W =	   make all windows the same height & width562|CTRL-W_>|	CTRL-W >	   increase current window width N columns563|CTRL-W_H|	CTRL-W H	   move current window to the far left564|CTRL-W_J|	CTRL-W J	   move current window to the very bottom565|CTRL-W_K|	CTRL-W K	   move current window to the very top566|CTRL-W_L|	CTRL-W L	   move current window to the far right567|CTRL-W_P|	CTRL-W P	   go to preview window568|CTRL-W_R|	CTRL-W R	   rotate windows upwards N times569|CTRL-W_S|	CTRL-W S	   same as "CTRL-W s"570|CTRL-W_T|	CTRL-W T	   move current window to a new tab page571|CTRL-W_W|	CTRL-W W	   go to N previous window (wrap around)572|CTRL-W_]|	CTRL-W ]	   split window and jump to tag under cursor573|CTRL-W_^|	CTRL-W ^	   split current window and edit alternate574				   file N575|CTRL-W__|	CTRL-W _	   set current window height to N (default:576				   very high)577|CTRL-W_b|	CTRL-W b	   go to bottom window578|CTRL-W_c|	CTRL-W c	   close current window (like |:close|)579|CTRL-W_d|	CTRL-W d	   split window and jump to definition under580				   the cursor581|CTRL-W_f|	CTRL-W f	   split window and edit file name under the582				   cursor583|CTRL-W_F|	CTRL-W F	   split window and edit file name under the584				   cursor and jump to the line number585				   following the file name.586|CTRL-W_g_CTRL-]| CTRL-W g CTRL-]  split window and do |:tjump| to tag under587				   cursor588|CTRL-W_g]|	CTRL-W g ]	   split window and do |:tselect| for tag589				   under cursor590|CTRL-W_g}|	CTRL-W g }	   do a |:ptjump| to the tag under the cursor591|CTRL-W_gf|	CTRL-W g f	   edit file name under the cursor in a new592				   tab page593|CTRL-W_gF|	CTRL-W g F	   edit file name under the cursor in a new594				   tab page and jump to the line number595				   following the file name.596|CTRL-W_gt|	CTRL-W g t	   same as `gt`: go to next tab page597|CTRL-W_gT|	CTRL-W g T	   same as `gT`: go to previous tab page598|CTRL-W_g<Tab>|	CTRL-W g <Tab>	   same as |g<Tab>|: go to last accessed tab599				   page.600|CTRL-W_h|	CTRL-W h	   go to Nth left window (stop at first window)601|CTRL-W_i|	CTRL-W i	   split window and jump to declaration of602				   identifier under the cursor603|CTRL-W_j|	CTRL-W j	   go N windows down (stop at last window)604|CTRL-W_k|	CTRL-W k	   go N windows up (stop at first window)605|CTRL-W_l|	CTRL-W l	   go to Nth right window (stop at last window)606|CTRL-W_n|	CTRL-W n	   open new window, N lines high607|CTRL-W_o|	CTRL-W o	   close all but current window (like |:only|)608|CTRL-W_p|	CTRL-W p	   go to previous (last accessed) window609|CTRL-W_q|	CTRL-W q	   quit current window (like |:quit|)610|CTRL-W_r|	CTRL-W r	   rotate windows downwards N times611|CTRL-W_s|	CTRL-W s	   split current window in two parts, new612				   window N lines high613|CTRL-W_t|	CTRL-W t	   go to top window614|CTRL-W_v|	CTRL-W v	   split current window vertically, new window615				   N columns wide616|CTRL-W_w|	CTRL-W w	   go to N next window (wrap around)617|CTRL-W_x|	CTRL-W x	   exchange current window with window N618				   (default: next window)619|CTRL-W_z|	CTRL-W z	   close preview window620|CTRL-W_bar|	CTRL-W |	   set window width to N columns621|CTRL-W_}|	CTRL-W }	   show tag under cursor in preview window622|CTRL-W_<Down>|	CTRL-W <Down>	   same as "CTRL-W j"623|CTRL-W_<Up>|	CTRL-W <Up>	   same as "CTRL-W k"624|CTRL-W_<Left>|	CTRL-W <Left>	   same as "CTRL-W h"625|CTRL-W_<Right>| CTRL-W <Right>	   same as "CTRL-W l"626 627==============================================================================6282.3 Square bracket commands					*[* *]*629 630tag		char	      note action in Normal mode	~631------------------------------------------------------------------------------632|[_CTRL-D|	[ CTRL-D	   jump to first #define found in current and633				   included files matching the word under the634				   cursor, start searching at beginning of635				   current file636|[_CTRL-I|	[ CTRL-I	   jump to first line in current and included637				   files that contains the word under the638				   cursor, start searching at beginning of639				   current file640|[#|		[#		1  cursor to N previous unmatched #if, #else641				   or #ifdef642|['|		['		1  cursor to previous lowercase mark, on first643				   non-blank644|[(|		[(		1  cursor N times back to unmatched '('645|[star|		[*		1  same as "[/"646|[`|		[`		1  cursor to previous lowercase mark647|[/|		[/		1  cursor to N previous start of a C comment648|[D|		[D		   list all defines found in current and649				   included files matching the word under the650				   cursor, start searching at beginning of651				   current file652|[I|		[I		   list all lines found in current and653				   included files that contain the word under654				   the cursor, start searching at beginning of655				   current file656|[P|		[P		2  same as "[p"657|[[|		[[		1  cursor N sections backward658|[]|		[]		1  cursor N SECTIONS backward659|[c|		[c		1  cursor N times backwards to start of change660|[d|		[d		   show first #define found in current and661				   included files matching the word under the662				   cursor, start searching at beginning of663				   current file664|[f|		[f		   same as "gf"665|[i|		[i		   show first line found in current and666				   included files that contains the word under667				   the cursor, start searching at beginning of668				   current file669|[m|		[m		1  cursor N times back to start of member670				   function671|[p|		[p		2  like "P", but adjust indent to current line672|[s|		[s		1  move to the previous misspelled word673|[z|		[z		1  move to start of open fold674|[{|		[{		1  cursor N times back to unmatched '{'675|[<MiddleMouse>| [<MiddleMouse>	2  same as "[p"676 677|]_CTRL-D|	] CTRL-D	   jump to first #define found in current and678				   included files matching the word under the679				   cursor, start searching at cursor position680|]_CTRL-I|	] CTRL-I	   jump to first line in current and included681				   files that contains the word under the682				   cursor, start searching at cursor position683|]#|		]#		1  cursor to N next unmatched #endif or #else684|]'|		]'		1  cursor to next lowercase mark, on first685				   non-blank686|])|		])		1  cursor N times forward to unmatched ')'687|]star|		]*		1  same as "]/"688|]`|		]`		1  cursor to next lowercase mark689|]/|		]/		1  cursor to N next end of a C comment690|]D|		]D		   list all #defines found in current and691				   included files matching the word under the692				   cursor, start searching at cursor position693|]I|		]I		   list all lines found in current and694				   included files that contain the word under695				   the cursor, start searching at cursor696				   position697|]P|		]P		2  same as "[p"698|][|		][		1  cursor N SECTIONS forward699|]]|		]]		1  cursor N sections forward700|]c|		]c		1  cursor N times forward to start of change701|]d|		]d		   show first #define found in current and702				   included files matching the word under the703				   cursor, start searching at cursor position704|]f|		]f		   same as "gf"705|]i|		]i		   show first line found in current and706				   included files that contains the word under707				   the cursor, start searching at cursor708				   position709|]m|		]m		1  cursor N times forward to end of member710				   function711|]p|		]p		2  like "p", but adjust indent to current line712|]s|		]s		1  move to next misspelled word713|]z|		]z		1  move to end of open fold714|]}|		]}		1  cursor N times forward to unmatched '}'715|]<MiddleMouse>| ]<MiddleMouse>	2  same as "]p"716 717==============================================================================7182.4 Commands starting with 'g'						*g*719 720tag		char	      note action in Normal mode	~721------------------------------------------------------------------------------722|g_CTRL-A|	g CTRL-A	   only when compiled with MEM_PROFILE723				   defined: dump a memory profile724|g_CTRL-G|	g CTRL-G	   show information about current cursor725				   position726|g_CTRL-H|	g CTRL-H	   start Select block mode727|g_CTRL-]|	g CTRL-]	   |:tjump| to the tag under the cursor728|g#|		g#		1  like "#", but without using "\<" and "\>"729|g$|		g$		1  when 'wrap' off go to rightmost character of730				   the current line that is on the screen;731				   when 'wrap' on go to the rightmost character732				   of the current screen line733|g&|		g&		2  repeat last ":s" on all lines734|g'|		g'{mark}	1  like |'| but without changing the jumplist735|g`|		g`{mark}	1  like |`| but without changing the jumplist736|gstar|		g*		1  like "*", but without using "\<" and "\>"737|g+|		g+		   go to newer text state N times738|g,|		g,		1  go to N newer position in change list739|g-|		g-		   go to older text state N times740|g0|		g0		1  when 'wrap' off go to leftmost character of741				   the current line that is on the screen;742				   when 'wrap' on go to the leftmost character743				   of the current screen line744|g8|		g8		   print hex value of bytes used in UTF-8745				   character under the cursor746|g;|		g;		1  go to N older position in change list747|g<|		g<		   display previous command output748|g?|		g?		2  Rot13 encoding operator749|g?g?|		g??		2  Rot13 encode current line750|g?g?|		g?g?		2  Rot13 encode current line751|gD|		gD		1  go to definition of word under the cursor752				   in current file753|gE|		gE		1  go backwards to the end of the previous754				   WORD755|gH|		gH		   start Select line mode756|gI|		gI		2  like "I", but always start in column 1757|gJ|		gJ		2  join lines without inserting space758|gN|		gN	      1,2  find the previous match with the last used759				   search pattern and Visually select it760|gP|		["x]gP		2  put the text [from register x] before the761				   cursor N times, leave the cursor after it762|gQ|		gQ		   switch to "Ex" mode with Vim editing763|gR|		gR		2  enter Virtual Replace mode764|gT|		gT		   go to the previous tab page765|gU|		gU{motion}	2  make Nmove text uppercase766|gV|		gV		   don't reselect the previous Visual area767				   when executing a mapping or menu in Select768				   mode769|g]|		g]		   :tselect on the tag under the cursor770|g^|		g^		1  when 'wrap' off go to leftmost non-white771				   character of the current line that is on772				   the screen; when 'wrap' on go to the773				   leftmost non-white character of the current774				   screen line775|g_|		g_		1  cursor to the last CHAR N - 1 lines lower776|ga|		ga		   print ascii value of character under the777				   cursor778|gd|		gd		1  go to definition of word under the cursor779				   in current function780|ge|		ge		1  go backwards to the end of the previous781				   word782|gf|		gf		   start editing the file whose name is under783				   the cursor784|gF|		gF		   start editing the file whose name is under785				   the cursor and jump to the line number786				   following the filename.787|gg|		gg		1  cursor to line N, default first line788|gh|		gh		   start Select mode789|gi|		gi		2  like "i", but first move to the |'^| mark790|gj|		gj		1  like "j", but when 'wrap' on go N screen791				   lines down792|gk|		gk		1  like "k", but when 'wrap' on go N screen793				   lines up794|gm|		gm		1  go to character at middle of the screenline795|gM|		gM		1  go to character at middle of the text line796|gn|		gn	      1,2  find the next match with the last used797				   search pattern and Visually select it798|go|		go		1  cursor to byte N in the buffer799|gp|		["x]gp		2  put the text [from register x] after the800				   cursor N times, leave the cursor after it801|gq|		gq{motion}	2  format Nmove text802|gr|		gr{char}	2  virtual replace N chars with {char}803|gs|		gs		   go to sleep for N seconds (default 1)804|gt|		gt		   go to the next tab page805|gu|		gu{motion}	2  make Nmove text lowercase806|gv|		gv		   reselect the previous Visual area807|gw|		gw{motion}	2  format Nmove text and keep cursor808|g@|		g@{motion}	   call 'operatorfunc'809|g~|		g~{motion}	2  swap case for Nmove text810|g<Down>|	g<Down>		1  same as "gj"811|g<End>|	g<End>		1  same as "g$" but go to the rightmost812				   non-blank character instead813|g<Home>|	g<Home>		1  same as "g0"814|g<LeftMouse>|	g<LeftMouse>	   same as <C-LeftMouse>815		g<MiddleMouse>	   same as <C-MiddleMouse>816|g<RightMouse>|	g<RightMouse>	   same as <C-RightMouse>817|g<Tab>|	g<Tab>		   go to the last accessed tab page.818|g<Up>|		g<Up>		1  same as "gk"819 820==============================================================================8212.5 Commands starting with 'z'						*z*822 823tag		char	      note action in Normal mode	~824------------------------------------------------------------------------------825|z<CR>|		z<CR>		   redraw, cursor line to top of window,826				   cursor on first non-blank827|zN<CR>|	z{height}<CR>	   redraw, make window {height} lines high828|z+|		z+		   cursor on line N (default line below829				   window), otherwise like "z<CR>"830|z-|		z-		   redraw, cursor line at bottom of window,831				   cursor on first non-blank832|z.|		z.		   redraw, cursor line to center of window,833				   cursor on first non-blank834|z=|		z=		   give spelling suggestions835|zA|		zA		   open a closed fold or close an open fold836				   recursively837|zC|		zC		   close folds recursively838|zD|		zD		   delete folds recursively839|zE|		zE		   eliminate all folds840|zF|		zF		   create a fold for N lines841|zG|		zG		   temporarily mark word as correctly spelled842|zH|		zH		   when 'wrap' off scroll half a screenwidth843				   to the right844|zL|		zL		   when 'wrap' off scroll half a screenwidth845				   to the left846|zM|		zM		   set 'foldlevel' to zero847|zN|		zN		   set 'foldenable'848|zO|		zO		   open folds recursively849|zR|		zR		   set 'foldlevel' to the deepest fold850|zW|		zW		   temporarily mark word as incorrectly spelled851|zX|		zX		   re-apply 'foldlevel'852|z^|		z^		   cursor on line N (default line above853				   window), otherwise like "z-"854|za|		za		   open a closed fold, close an open fold855|zb|		zb		   redraw, cursor line at bottom of window856|zc|		zc		   close a fold857|zd|		zd		   delete a fold858|ze|		ze		   when 'wrap' off scroll horizontally to859				   position the cursor at the end (right side)860				   of the screen861|zf|		zf{motion}	   create a fold for Nmove text862|zg|		zg		   permanently mark word as correctly spelled863|zh|		zh		   when 'wrap' off scroll screen N characters864				   to the right865|zi|		zi		   toggle 'foldenable'866|zj|		zj		1  move to the start of the next fold867|zk|		zk		1  move to the end of the previous fold868|zl|		zl		   when 'wrap' off scroll screen N characters869				   to the left870|zm|		zm		   subtract one from 'foldlevel'871|zn|		zn		   reset 'foldenable'872|zo|		zo		   open fold873|zp|		zp		   paste in block-mode without trailing spaces874|zP|		zP		   paste in block-mode without trailing spaces875|zr|		zr		   add one to 'foldlevel'876|zs|		zs		   when 'wrap' off scroll horizontally to877				   position the cursor at the start (left878				   side) of the screen879|zt|		zt		   redraw, cursor line at top of window880|zuw|		zuw		   undo |zw|881|zug|		zug		   undo |zg|882|zuW|		zuW		   undo |zW|883|zuG|		zuG		   undo |zG|884|zv|		zv		   open enough folds to view the cursor line885|zw|		zw		   permanently mark word as incorrectly spelled886|zx|		zx		   re-apply 'foldlevel' and do "zv"887|zy|		zy		   yank without trailing spaces888|zz|		zz		   redraw, cursor line at center of window889|z<Left>|	z<Left>		   same as "zh"890|z<Right>|	z<Right>	   same as "zl"891 892==============================================================================8932.6 Operator-pending mode			*operator-pending-index*894 895These can be used after an operator, but before a {motion} has been entered.896 897tag		char		action in Operator-pending mode	~898-----------------------------------------------------------------------899|o_v|		v		force operator to work characterwise900|o_V|		V		force operator to work linewise901|o_CTRL-V|	CTRL-V		force operator to work blockwise902 903==============================================================================9043. Visual mode						*visual-index*905 906Most commands in Visual mode are the same as in Normal mode.  The ones listed907here are those that are different.908 909tag		command	      note action in Visual mode	~910------------------------------------------------------------------------------911|v_CTRL-\_CTRL-N| CTRL-\ CTRL-N	   stop Visual mode912|v_CTRL-\_CTRL-G| CTRL-\ CTRL-G	   go to mode specified with 'insertmode'913|v_CTRL-A|	CTRL-A		2  add N to number in highlighted text914|v_CTRL-C|	CTRL-C		   stop Visual mode915|v_CTRL-G|	CTRL-G		   toggle between Visual mode and Select mode916|v_<BS>|	<BS>		2  Select mode: delete highlighted area917|v_CTRL-H|	CTRL-H		2  same as <BS>918|v_CTRL-O|	CTRL-O		   switch from Select to Visual mode for one919				   command920|v_CTRL-V|	CTRL-V		   make Visual mode blockwise or stop Visual921				   mode922|v_CTRL-X|	CTRL-X		2  subtract N from number in highlighted text923|v_<Esc>|	<Esc>		   stop Visual mode924|v_CTRL-]|	CTRL-]		   jump to highlighted tag925|v_!|		!{filter}	2  filter the highlighted lines through the926				   external command {filter}927|v_:|		:		   start a command-line with the highlighted928				   lines as a range929|v_<|		<		2  shift the highlighted lines one930				   'shiftwidth' left931|v_=|		=		2  filter the highlighted lines through the932				   external program given with the 'equalprg'933				   option934|v_>|		>		2  shift the highlighted lines one935				   'shiftwidth' right936|v_b_A|		A		2  block mode: append same text in all lines,937				   after the highlighted area938|v_C|		C		2  delete the highlighted lines and start939				   insert940|v_D|		D		2  delete the highlighted lines941|v_b_I|		I		2  block mode: insert same text in all lines,942				   before the highlighted area943|v_J|		J		2  join the highlighted lines944|v_K|		K		   run 'keywordprg' on the highlighted area945|v_O|		O		   move horizontally to other corner of area946|v_P|		P		   replace highlighted area with register947				   contents; registers are unchanged948		Q		   does not start Ex mode949|v_R|		R		2  delete the highlighted lines and start950				   insert951|v_S|		S		2  delete the highlighted lines and start952				   insert953|v_U|		U		2  make highlighted area uppercase954|v_V|		V		   make Visual mode linewise or stop Visual955				   mode956|v_X|		X		2  delete the highlighted lines957|v_Y|		Y		   yank the highlighted lines958|v_aquote|	a"		   extend highlighted area with a double959				   quoted string960|v_a'|		a'		   extend highlighted area with a single961				   quoted string962|v_a(|		a(		   same as ab963|v_a)|		a)		   same as ab964|v_a<|		a<		   extend highlighted area with a <> block965|v_a>|		a>		   same as a<966|v_aB|		aB		   extend highlighted area with a {} block967|v_aW|		aW		   extend highlighted area with "a WORD"968|v_a[|		a[		   extend highlighted area with a [] block969|v_a]|		a]		   same as a[970|v_a`|		a`		   extend highlighted area with a backtick971				   quoted string972|v_ab|		ab		   extend highlighted area with a () block973|v_ap|		ap		   extend highlighted area with a paragraph974|v_as|		as		   extend highlighted area with a sentence975|v_at|		at		   extend highlighted area with a tag block976|v_aw|		aw		   extend highlighted area with "a word"977|v_a{|		a{		   same as aB978|v_a}|		a}		   same as aB979|v_c|		c		2  delete highlighted area and start insert980|v_d|		d		2  delete highlighted area981|v_g_CTRL-A|	g CTRL-A	2  add N to number in highlighted text982|v_g_CTRL-X|	g CTRL-X	2  subtract N from number in highlighted text983|v_gJ|		gJ		2  join the highlighted lines without984				   inserting spaces985|v_gq|		gq		2  format the highlighted lines986|v_gv|		gv		   exchange current and previous highlighted987				   area988|v_iquote|	i"		   extend highlighted area with a double989				   quoted string (without quotes)990|v_i'|		i'		   extend highlighted area with a single991				   quoted string (without quotes)992|v_i(|		i(		   same as ib993|v_i)|		i)		   same as ib994|v_i<|		i<		   extend highlighted area with inner <> block995|v_i>|		i>		   same as i<996|v_iB|		iB		   extend highlighted area with inner {} block997|v_iW|		iW		   extend highlighted area with "inner WORD"998|v_i[|		i[		   extend highlighted area with inner [] block999|v_i]|		i]		   same as i[1000|v_i`|		i`		   extend highlighted area with a backtick1001				   quoted string (without the backticks)1002|v_ib|		ib		   extend highlighted area with inner () block1003|v_ip|		ip		   extend highlighted area with inner paragraph1004|v_is|		is		   extend highlighted area with inner sentence1005|v_it|		it		   extend highlighted area with inner tag block1006|v_iw|		iw		   extend highlighted area with "inner word"1007|v_i{|		i{		   same as iB1008|v_i}|		i}		   same as iB1009|v_o|		o		   move cursor to other corner of area1010|v_p|		p		   replace highlighted area with register1011				   contents; deleted text in unnamed register1012|v_r|		r		2  replace highlighted area with a character1013|v_s|		s		2  delete highlighted area and start insert1014|v_u|		u		2  make highlighted area lowercase1015|v_v|		v		   make Visual mode characterwise or stop1016				   Visual mode1017|v_x|		x		2  delete the highlighted area1018|v_y|		y		   yank the highlighted area1019|v_~|		~		2  swap case for the highlighted area1020 1021==============================================================================10224. Command-line editing					*ex-edit-index*1023 1024Get to the command-line with the ':', '!', '/' or '?' commands.1025Normal characters are inserted at the current cursor position.1026"Completion" below refers to context-sensitive completion.  It will complete1027file names, tags, commands etc. as appropriate.1028 1029tag		command		action in Command-line editing mode	~1030------------------------------------------------------------------------------1031		CTRL-@		not used1032|c_CTRL-A|	CTRL-A		do completion on the pattern in front of the1033				cursor and insert all matches1034|c_CTRL-B|	CTRL-B		cursor to begin of command-line1035|c_CTRL-C|	CTRL-C		same as <Esc>1036|c_CTRL-D|	CTRL-D		list completions that match the pattern in1037				front of the cursor1038|c_CTRL-E|	CTRL-E		cursor to end of command-line1039'cedit'		CTRL-F		default value for 'cedit': opens the1040				command-line window; otherwise not used1041|c_CTRL-G|	CTRL-G		next match when 'incsearch' is active1042|c_<BS>|	<BS>		delete the character in front of the cursor1043|c_digraph|	{char1} <BS> {char2}1044				enter digraph when 'digraph' is on1045|c_CTRL-H|	CTRL-H		same as <BS>1046|c_<Tab>|	<Tab>		if 'wildchar' is <Tab>: Do completion on1047				the pattern in front of the cursor1048|c_<S-Tab>|	<S-Tab>		same as CTRL-P1049|c_wildchar|	'wildchar'	Do completion on the pattern in front of the1050				cursor (default: <Tab>)1051|c_CTRL-I|	CTRL-I		same as <Tab>1052|c_<NL>|	<NL>		same as <CR>1053|c_CTRL-J|	CTRL-J		same as <CR>1054|c_CTRL-K|	CTRL-K {char1} {char2}1055				enter digraph1056|c_CTRL-L|	CTRL-L		do completion on the pattern in front of the1057				cursor and insert the longest common part1058|c_<CR>|	<CR>		execute entered command1059|c_CTRL-M|	CTRL-M		same as <CR>1060|c_CTRL-N|	CTRL-N		after using 'wildchar' with multiple matches:1061				go to next match, otherwise: recall older1062				command-line from history.1063		CTRL-O		not used1064|c_CTRL-P|	CTRL-P		after using 'wildchar' with multiple matches:1065				go to previous match, otherwise: recall older1066				command-line from history.1067|c_CTRL-Q|	CTRL-Q		same as CTRL-V, unless it's used for terminal1068				control flow1069|c_CTRL-R|	CTRL-R {regname}1070				insert the contents of a register or object1071				under the cursor as if typed1072|c_CTRL-R_CTRL-R| CTRL-R CTRL-R {regname}1073|c_CTRL-R_CTRL-O| CTRL-R CTRL-O {regname}1074				insert the contents of a register or object1075				under the cursor literally1076		CTRL-S		not used, or used for terminal control flow1077|c_CTRL-T|	CTRL-T		previous match when 'incsearch' is active1078|c_CTRL-U|	CTRL-U		remove all characters1079|c_CTRL-V|	CTRL-V		insert next non-digit literally, insert three1080				digit decimal number as a single byte.1081|c_CTRL-W|	CTRL-W		delete the word in front of the cursor1082		CTRL-X		not used (reserved for completion)1083		CTRL-Y		copy (yank) modeless selection1084		CTRL-Z		not used (reserved for suspend)1085|c_<Esc>|	<Esc>		abandon command-line without executing it1086|c_CTRL-[|	CTRL-[		same as <Esc>1087|c_CTRL-\_CTRL-N| CTRL-\ CTRL-N	go to Normal mode, abandon command-line1088|c_CTRL-\_CTRL-G| CTRL-\ CTRL-G	go to mode specified with 'insertmode',1089				abandon command-line1090		CTRL-\ a - d	reserved for extensions1091|c_CTRL-\_e|	CTRL-\ e {expr} replace the command line with the result of1092				{expr}1093		CTRL-\ f - z	reserved for extensions1094		CTRL-\ others	not used1095|c_CTRL-]|	CTRL-]		trigger abbreviation1096|c_CTRL-^|	CTRL-^		toggle use of |:lmap| mappings1097|c_CTRL-_|	CTRL-_		when 'allowrevins' set: change language1098				(Hebrew, Farsi)1099|c_<Del>|	<Del>		delete the character under the cursor1100 1101|c_<Left>|	<Left>		cursor left1102|c_<S-Left>|	<S-Left>	cursor one word left1103|c_<C-Left>|	<C-Left>	cursor one word left1104|c_<Right>|	<Right>		cursor right1105|c_<S-Right>|	<S-Right>	cursor one word right1106|c_<C-Right>|	<C-Right>	cursor one word right1107|c_<Up>|	<Up>		recall previous command-line from history that1108				matches pattern in front of the cursor1109|c_<S-Up>|	<S-Up>		recall previous command-line from history1110|c_<Down>|	<Down>		recall next command-line from history that1111				matches pattern in front of the cursor1112|c_<S-Down>|	<S-Down>	recall next command-line from history1113|c_<Home>|	<Home>		cursor to start of command-line1114|c_<End>|	<End>		cursor to end of command-line1115|c_<PageDown>|	<PageDown>	same as <S-Down>1116|c_<PageUp>|	<PageUp>	same as <S-Up>1117|c_<Insert>|	<Insert>	toggle insert/overstrike mode1118|c_<LeftMouse>|	<LeftMouse>	cursor at mouse click1119 1120commands in wildmenu mode (see 'wildmenu')1121 1122		<Up>		move up to parent / select the previous match1123		<Down>		move down to submenu / select the next match1124		<Left>		select the previous match / move up to parent1125		<Right>		select the next match / move down to submenu1126		<CR>		move into submenu when doing menu completion1127		CTRL-E		stop completion and go back to original text1128		CTRL-Y		accept selected match and stop completion1129		other		stop completion and insert the typed character1130 1131commands in wildmenu mode with 'wildoptions' set to "pum"1132 1133		<PageUp>	select a match several entries back1134		<PageDown>	select a match several entries forward1135 1136==============================================================================11375. Terminal-Job mode				*terminal-job-index*1138 1139Most Normal mode commands except for window commands (|CTRL-W|) do not work in1140a terminal window. Switch to Terminal-Normal mode to use them.1141This assumes 'termwinkey' is not set.1142 1143tag		char		action in Terminal-Job mode	~1144-----------------------------------------------------------------------1145|t_CTRL-\_CTRL-N| CTRL-\ CTRL-N	switch to Terminal-Normal mode1146|t_CTRL-W_N|	CTRL-W N	switch to Terminal-Normal mode1147|t_CTRL-W_:|	CTRL-W :	enter an Ex command1148|t_CTRL-W_.|	CTRL-W .	type CTRL-W in the terminal1149		CTRL-W CTRL-\	send a CTRL-\ to the job in the terminal1150|t_CTRL-W_quote|  CTRL-W " {register}1151				paste register in the terminal1152|t_CTRL-W_CTRL-C| CTRL-W CTRL-C	forcefully ends the job1153|t_CTRL-W_CTRL-W| CTRL-W CTRL-W	move focus to the next window1154|t_CTRL-W_gt|	CTRL-W gt	go to next tabpage, same as `gt`1155|t_CTRL-W_gT|	CTRL-W gT	go to previous tabpage, same as `gT`1156 1157You found it, Arthur!				*holy-grail* *:smile*1158 1159==============================================================================11606. EX commands					*ex-cmd-index* *:index*1161 1162This is a brief but complete listing of all the ":" commands, without1163mentioning any arguments.  The optional part of the command name is inside [].1164The commands are sorted on the non-optional part of their name.1165 1166tag		command		action ~1167------------------------------------------------------------------------------1168|:|		:		nothing1169|:range|	:{range}	go to last line in {range}1170|:!|		:!		filter lines or execute an external command1171|:!!|		:!!		repeat last ":!" command1172|:#|		:#		same as ":number"1173|:&|		:&		repeat last ":substitute"1174|:star|		:*		use the last Visual area, like :'<,'>1175|:<|		:<		shift lines one 'shiftwidth' left1176|:=|		:=		print the last line number1177|:>|		:>		shift lines one 'shiftwidth' right1178|:@|		:@		execute contents of a register1179|:@@|		:@@		repeat the previous ":@"1180|:2match|	:2mat[ch]	define a second match to highlight1181|:3match|	:3mat[ch]	define a third match to highlight1182|:Next|		:N[ext]		go to previous file in the argument list1183|:Print|	:P[rint]	print lines1184|:X|		:X		ask for encryption key1185|:append|	:a[ppend]	append text1186|:abbreviate|	:ab[breviate]	enter abbreviation1187|:abclear|	:abc[lear]	remove all abbreviations1188|:aboveleft|	:abo[veleft]	make split window appear left or above1189|:abstract|	:abstract	declare a Vim9 abstract class1190|:all|		:al[l]		open a window for each file in the argument1191				list1192|:amenu|	:am[enu]	enter new menu item for all modes1193|:anoremenu|	:an[oremenu]	enter a new menu for all modes that will not1194				be remapped1195|:args|		:ar[gs]		print the argument list1196|:argadd|	:arga[dd]	add items to the argument list1197|:argdedupe|	:argded[upe]	remove duplicates from the argument list1198|:argdelete|	:argd[elete]	delete items from the argument list1199|:argedit|	:arge[dit]	add item to the argument list and edit it1200|:argdo|	:argdo		do a command on all items in the argument list

Showing the first 1,200 of 1808 lines. Download the file for the rest.

codekingpro/portable-devtools · Team Ai