⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.txt

📁 MSYS在windows下模拟了一个类unix的终端
💻 TXT
📖 第 1 页 / 共 4 页
字号:
				   characters, repeat the entered text N-1				   times|S|		["x]S		2  delete N lines [into buffer x] and start				   insert; synonym for "^cc" or "0cc",				   depending on autoindent|T|		T{char}		1  cursor till after Nth occurrence of {char}				   to the left|U|		U		2  undo all latest changes on one line|V|		V		   start linewise Visual mode|W|		W		1  cursor N WORDS forward|X|		["x]X		2  delete N characters before the cursor [into				   buffer x]|Y|		["x]Y		   yank N lines [into buffer x]; synonym for				   "yy"|ZZ|		ZZ		   store current file if modified, and exit|ZQ|		ZQ		   exit current file always|[|		[{char}		   square bracket command (see below)		\		   not used|]|		]{char}		   square bracket command (see below)|^|		^		1  cursor to the first CHAR of the line|_|		_		1  cursor to the first CHAR N - 1 lines lower|`|		`{a-zA-Z0-9}	1  cursor to the mark {a-zA-Z0-9}|`<|		`<		1  cursor to the start of the highlighted area|`>|		`>		1  cursor to the end of the highlighted area|`[|		`[		1  cursor to the start of last operated text				   or start of putted text|`]|		`]		1  cursor to the end of last operated text or				   end of putted text|``|		``		1  cursor to the position before latest jump|a|		a		2  append text after the cursor N times|b|		b		1  cursor N words backward|c|		["x]c{motion}	2  delete Nmove text [into buffer x] and start				   insert|cc|		["x]cc		2  delete N lines [into buffer x] and start				   insert|d|		["x]d{motion}	2  delete Nmove text [into buffer x]|dd|		["x]dd		2  delete N lines [into buffer x]|e|		e		1  cursor forward to the end of word N|f|		f{char}		1  cursor to Nth occurrence of {char} to the				   right|g|		g{char}		   extended commands, see below|h|		h		1  cursor N chars to the left|i|		i		2  insert text before the cursor N times|j|		j		1  cursor N lines downward|k|		k		1  cursor N lines upward|l|		l		1  cursor N chars to the right|m|		m{A-Za-z}	   set mark {A-Za-z} at cursor position|n|		n		1  repeat the latest '/' or '?' N times|o|		o		2  begin a new line below the cursor and				   insert text, repeat N times|p|		["x]p		2  put the text [from register x] after the				   cursor N times|q|		q{0-9a-zA-Z"}	   record typed characters into named register				   {0-9a-zA-Z"} (upper case to append)|q|		q		   (while recording) stops recording|r|		r{char}		2  replace N chars with {char}|s|		["x]s		2  (substitute) delete N characters [into				   buffer x] and start insert|t|		t{char}		1  cursor till before Nth occurrence of {char}				   to the right|u|		u		2  undo changes|v|		v		   start characterwise Visual mode|w|		w		1  cursor N words forward|x|		["x]x		2  delete N characters under and after the				   cursor [into buffer x]|y|		["x]y{motion}	   yank Nmove text [into buffer x]|yy|		["x]yy		   yank N lines [into buffer x]|z<CR>|		z<CR>		   redraw, cursor line to top of window,				   cursor on first non-blank|zN<CR>|	z{height}<CR>	   redraw, make window {height} lines high|z+|		z+		   cursor on line N (default line below				   window), otherwise like "z<CR>"|z-|		z-		   redraw, cursor line at bottom of window,				   cursor on first non-blank|z.|		z.		   redraw, cursor line to center of window,				   cursor on first non-blank|z^|		z^		   cursor on line N (default line above				   window), otherwise like "z-"|zb|		zb		   redraw, cursor line at bottom of window|ze|		ze		   when 'wrap' off scroll horizontally to				   position the cursor at the end (right side)				   of the screen|zh|		zh		   when 'wrap' off scroll screen N characters				   to the right|zl|		zl		   when 'wrap' off scroll screen N characters				   to the left|zs|		zs		   when 'wrap' off scroll horizontally to				   position the cursor at the start (left				   side) of the screen|zt|		zt		   redraw, cursor line at top of window|zz|		zz		   redraw, cursor line at center of window|z<Left>|	z<Left>		   same as "zh"|z<Right>|	z<Right>	   same as "zl"|{|		{		1  cursor N paragraphs backward|bar|		|		1  cursor to column N|}|		}		1  cursor N paragraphs forward|~|		~		2  'tildeop' off: switch case of N characters				   under cursor and move the cursor N				   characters to the right|~|		~{motion}	   'tildeop' on: switch case of Nmove text|<C-End>|	<C-End>		1  same as "G"|<C-Home>|	<C-Home>	1  same as "gg"|<C-Left>|	<C-Left>	1  same as "b"|<C-LeftMouse>|	<C-LeftMouse>	   ":ta" to the keyword at the mouse click|<C-Right>|	<C-Right>	1  same as "w"|<C-RightMouse>| <C-RightMouse>	   same as "CTRL-T"|<Del>|		["x]<Del>	2  same as "x"|N<Del>|	{count}<Del>	   remove the last digit from {count}|<Down>|	<Down>		1  same as "j"|<End>|		<End>		1  same as "$"|<F1>|		<F1>		   same as <Help>|<Help>|	<Help>		   open a help window|<Home>|	<Home>		1  same as "0"|<Insert>|	<Insert>	2  same as "i"|<Left>|	<Left>		1  same as "h"|<LeftMouse>|	<LeftMouse>	1  move cursor to the mouse click position|<MiddleMouse>| <MiddleMouse>	2  same as "P" at the mouse click position|<PageDown>|	<PageDown>	   same as CTRL-F|<PageUp>|	<PageUp>	   same as CTRL-B|<Right>|	<Right>		1  same as "l"|<RightMouse>|	<RightMouse>	   start Visual mode, move cursor to the mouse				   click position|<S-Down>|	<S-Down>	1  same as CTRL-F|<S-Left>|	<S-Left>	1  same as "b"|<S-LeftMouse>|	<S-LeftMouse>	   same as "*" at the mouse click position|<S-Right>|	<S-Right>	1  same as "w"|<S-RightMouse>| <S-RightMouse>	   same as "#" at the mouse click position|<S-Up>|	<S-Up>		1  same as CTRL-B|<Undo>|	<Undo>		2  same as "u"|<Up>|		<Up>		1  same as "k"|<MouseDown>|	<MouseDown>	   scroll three lines downwards|<S-MouseDown>|	<S-MouseDown>	   scroll a full page downwards|<MouseUp>|	<MouseUp>	   scroll three lines upwards|<S-MouseUp>|	<S-MouseUp>	   scroll a full page upwards==============================================================================2.1 Text objects						*objects*These can be used after an operator or in Visual mode to select an object.tag		command		   action in Normal mode	~------------------------------------------------------------------------------|v_a(|		a(		   same as ab|v_a)|		a)		   same as ab|v_a<|		a<		   "a <>" from '<' to the matching '>'|v_a>|		a>		   same as a<|v_aB|		aB		   "a Block" from "[{" to "]}" (with brackets)|v_aW|		aW		   "a WORD" (with white space)|v_a[|		a[		   "a []" from '[' to the matching ']'|v_a]|		a]		   same as a[|v_ab|		ab		   "a block" from "[(" to "])" (with braces)|v_ap|		ap		   "a paragraph" (with white space)|v_as|		as		   "a sentence" (with white space)|v_aw|		aw		   "a word" (with white space)|v_a{|		a{		   same as aB|v_a}|		a}		   same as aB|v_i(|		i(		   same as ib|v_i)|		i)		   same as ib|v_i<|		i<		   "inner <>" from '<' to the matching '>'|v_i>|		i>		   same as i<|v_iB|		iB		   "inner Block" from "[{" and "]}"|v_iW|		iW		   "inner WORD"|v_i[|		i[		   "inner []" from '[' to the matching ']'|v_i]|		i]		   same as i[|v_ib|		ib		   "inner block" from "[(" to "])"|v_ip|		ip		   "inner paragraph"|v_is|		is		   "inner sentence"|v_iw|		iw		   "inner word"|v_i{|		i{		   same as iB|v_i}|		i}		   same as iB==============================================================================2.2 Window commands						*CTRL-W*tag		command		   action in Normal mode	~------------------------------------------------------------------------------|CTRL-W_CTRL-B|	CTRL-W CTRL-B	   same as "CTRL-W b"|CTRL-W_CTRL-C|	CTRL-W CTRL-C	   same as "CTRL-W c"|CTRL-W_CTRL-D|	CTRL-W CTRL-D	   same as "CTRL-W d"|CTRL-W_CTRL-F|	CTRL-W CTRL-F	   same as "CTRL-W f"		CTRL-W CTRL-G	   same as "CTRL-W g .."|CTRL-W_CTRL-I|	CTRL-W CTRL-I	   same as "CTRL-W i"|CTRL-W_CTRL-J|	CTRL-W CTRL-J	   same as "CTRL-W j"|CTRL-W_CTRL-K|	CTRL-W CTRL-K	   same as "CTRL-W k"|CTRL-W_CTRL-N|	CTRL-W CTRL-N	   same as "CTRL-W n"|CTRL-W_CTRL-O|	CTRL-W CTRL-O	   same as "CTRL-W o"|CTRL-W_CTRL-P|	CTRL-W CTRL-P	   same as "CTRL-W p"|CTRL-W_CTRL-Q|	CTRL-W CTRL-Q	   same as "CTRL-W q"|CTRL-W_CTRL-R|	CTRL-W CTRL-R	   same as "CTRL-W r"|CTRL-W_CTRL-S|	CTRL-W CTRL-S	   same as "CTRL-W s"|CTRL-W_CTRL-T|	CTRL-W CTRL-T	   same as "CTRL-W t"|CTRL-W_CTRL-W|	CTRL-W CTRL-W	   same as "CTRL-W w"|CTRL-W_CTRL-X|	CTRL-W CTRL-X	   same as "CTRL-W x"|CTRL-W_CTRL-Z|	CTRL-W CTRL-Z	   same as "CTRL-W z"|CTRL-W_CTRL-]|	CTRL-W CTRL-]	   same as "CTRL-W ]"|CTRL-W_CTRL-^|	CTRL-W CTRL-^	   same as "CTRL-W ^"|CTRL-W_CTRL-_|	CTRL-W CTRL-_	   same as "CTRL-W _"|CTRL-W_+|	CTRL-W +	   increase current window height N lines|CTRL-W_-|	CTRL-W -	   decrease current window height N lines|CTRL-W_=|	CTRL-W =	   make all windows the same height|CTRL-W_R|	CTRL-W R	   rotate windows upwards N times|CTRL-W_S|	CTRL-W S	   same as "CTRL-W s"|CTRL-W_W|	CTRL-W W	   go to N previous window (wrap around)|CTRL-W_]|	CTRL-W ]	   split window and jump to tag under cursor|CTRL-W_^|	CTRL-W ^	   split current window and edit alternate				   file N|CTRL-W__|	CTRL-W _	   set current window height to N (default:				   very high)|CTRL-W_b|	CTRL-W b	   go to bottom window|CTRL-W_c|	CTRL-W c	   close current window (like |:close|)|CTRL-W_d|	CTRL-W d	   split window and jump to definition under				   the cursor|CTRL-W_f|	CTRL-W f	   split window and edit file name under the				   cursor|CTRL-W_g_CTRL-]| CTRL-W g CTRL-]  split window and do |:tjump| to tag under				   cursor|CTRL-W_g]|	CTRL-W g ]	   split window and do |:tselect| for tag				   under cursor|CTRL-W_g}|	CTRL-W g }	   do a |:ptjump| to the tag under the cursor|CTRL-W_i|	CTRL-W i	   split window and jump to declaration of				   identifier under the cursor|CTRL-W_j|	CTRL-W j	   go to N next window (stop at last window)|CTRL-W_k|	CTRL-W k	   go to N previous window (stop at first				   window)|CTRL-W_n|	CTRL-W n	   open new window, N lines high|CTRL-W_o|	CTRL-W o	   close all but current window (like |:only|)|CTRL-W_p|	CTRL-W p	   go to previous (last accessed) window|CTRL-W_q|	CTRL-W q	   quit current window (like |:quit|)|CTRL-W_r|	CTRL-W r	   rotate windows downwards N times|CTRL-W_s|	CTRL-W s	   split current window in two parts, new				   window N lines high|CTRL-W_t|	CTRL-W t	   go to top window|CTRL-W_w|	CTRL-W w	   go to N next window (wrap around)|CTRL-W_x|	CTRL-W x	   exchange current window with window N				   (default: next window)|CTRL-W_z|	CTRL-W z	   close preview window|CTRL-W_}|	CTRL-W }	   show tag under cursor in preview window|CTRL-W_<Down>|	CTRL-W <Down>	   same as "CTRL-W j"|CTRL-W_<Up>|	CTRL-W <Up>	   same as "CTRL-W k"==============================================================================2.3 Square bracket commands					*[* *]*tag		char	      note action in Normal mode	~------------------------------------------------------------------------------|[_CTRL-D|	[_CTRL-D	   jump to first #define found in current and				   included files matching the word under the				   cursor, start searching at beginning of				   current file|[_CTRL-I|	[_CTRL-I	   jump to first line in current and included				   files that contains the word under the				   cursor, start searching at beginning of				   current file|[#|		[#		1  cursor to N previous unmatched #if, #else				   or #ifdef|[(|		[(		1  cursor N times back to unmatched '('|[star|		[*		1  same as "[/"|[/|		[/		1  cursor to N previous start of a C comment|[D|		[D		   list all defines found in current and				   included files matching the word under the				   cursor, start searching at beginning of				   current file|[I|		[I		   list all lines found in current and				   included files that contain the word under				   the cursor, start searching at beginning of				   current file|[P|		[P		2  same as "[p"|[[|		[[		1  cursor N sections backward|[]|		[]		1  cursor N SECTIONS backward|[d|		[d		   show first #define found in current and				   included files matching the word under the				   cursor, start searching at beginning of				   current file|[f|		[f		   same as "gf"|[i|		[i		   show first line found in current and				   included files that contains the word under				   the cursor, start searching at beginning of				   current file|[p|		[p		2  like "P", but adjust indent to current line|[m|		[m		1  cursor N times back to start of member				   function|[{|		[{		1  cursor N times back to unmatched '{'|[<MiddleMouse> [<MiddleMouse>	2  same as "[p"|]_CTRL-D|	]_CTRL-D	   jump to first #define found in current and				   included files matching the word under the				   cursor, start searching at cursor position|]_CTRL-I|	]_CTRL-I	   jump to first line in current and included				   files that contains the word under the				   cursor, start searching at cursor position|]#|		]#		1  cursor to N next unmatched #endif or #else|])|		])		1  cursor N times forward to unmatched ')'|]star|		]*		1  same as "]/"|]/|		]/		1  cursor to N next end of a C comment|]D|		]D		   list all #defines found in current and				   included files matching the word under the				   cursor, start searching at cursor position|]I|		]I		   list all lines found in current and				   included files that contain the word under				   the cursor, start searching at cursor				   position|]P|		]P		2  same as "[p"|][|		][		1  cursor N SECTIONS forward|]]|		]]		1  cursor N sections forward

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -