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

📄 index.txt

📁 MSYS在windows下模拟了一个类unix的终端
💻 TXT
📖 第 1 页 / 共 4 页
字号:
|]d|		]d		   show first #define found in current and				   included files matching the word under the				   cursor, start searching at cursor position|]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 cursor				   position|]p|		]p		2  like "p", but adjust indent to current line|]m|		]m		1  cursor N times forward to end of member				   function|]}|		]}		1  cursor N times forward to unmatched '}'|]<MiddleMouse> ]<MiddleMouse>	2  same as "]p"==============================================================================2.4 Commands starting with 'g'						*g*tag		char	      note action in Normal mode	~------------------------------------------------------------------------------|g_CTRL-A|	g_CTRL-A	   only when compiled with MEM_PROFILE				   defined: dump a memory profile|g_CTRL-G|	g_CTRL-G	   show information about current cursor				   position|g_CTRL-H|	g_CTRL-H	   start Select block mode|g_CTRL-]|	g_CTRL-]	   |:tjump| to the tag under the cursor|g#|		g#		1  like "#", but without using "\<" and "\>"|g$|		g$		1  when 'wrap' off go to rightmost character of				   the current line that is on the screen;				   when 'wrap' on go to the rightmost character				   of the current screen line|gstar|		g*		1  like "*", but without using "\<" and "\>"|g0|		g0		1  when 'wrap' off go to leftmost character of				   the current line that is on the screen;				   when 'wrap' on go to the leftmost character				   of the current screen line|g?|		g?		2  Rot13 encoding operator|g?g?|		g??		2  Rot13 encode current line|g?g?|		g?g?		2  Rot13 encode current line|gD|		gD		1  go to definition of word under the cursor				   in current file|gE|		gE		1  go backwards to the end of the previous				   WORD|gH|		gH		   start Select line mode|gI|		gI		2  like "I", but always start in column 1|gJ|		gJ		2  join lines without inserting space|gP|		["x]gP		2  put the text [from register x] before the				   cursor N times, leave the cursor after it|gR|		gR		2  enter virtual replace mode|gU|		gU{motion}	2  make Nmove text uppercase|gV|		gV		   don't reselect the previous Visual area				   when executing a mapping or menu in Select				   mode|g]|		g]		   :tselect on the tag under the cursor|g^|		g^		1  when 'wrap' off go to leftmost non-white				   character of the current line that is on				   the screen; when 'wrap' on go to the				   leftmost non-white character of the current				   screen line|ga|		ga		   print ascii value of character under the				   cursor|gd|		gd		1  go to definition of word under the cursor				   in current function|ge|		ge		1  go backwards to the end of the previous				   word|gf|		gf		   start editing the file whose name is under				   the cursor|gg|		gg		1  cursor to line N, default first line|gh|		gh		   start Select mode|gj|		gj		1  like "j", but when 'wrap' on go N screen				   lines down|gk|		gk		1  like "k", but when 'wrap' on go N screen				   lines up|gm|		gm		1  go to character at middle of the screenline|go|		go		1  cursor to byte N in the buffer|gp|		["x]gp		2  put the text [from register x] after the				   cursor N times, leave the cursor after it|gq|		gq{motion}	2  format Nmove text|gr|		gr{char}	2  virtual replace N chars with {char}|gs|		gs		   go to sleep for N seconds (default 1)|gu|		gu{motion}	2  make Nmove text lowercase|gv|		gv		   reselect the previous Visual area|g~|		g~{motion}	2  swap case for Nmove text|g<Down>|	g<Down>		1  same as "gj"|g<End>|	g<End>		1  same as "g$"|g<Home>|	g<Home>		1  same as "g0"|g<LeftMouse>|	g<LeftMouse>	   same as <C-LeftMouse>		g<MiddleMouse>	   same as <C-MiddleMouse>|g<RightMouse>|	g<RightMouse>	   same as <C-RightMouse>|g<Up>|		g<Up>		1  same as "gk"==============================================================================3. Visual mode						*visual-index*Most commands in Visual mode are the same as in Normal mode. The ones listedhere are those that are different.tag		command	      note action in Visual mode	~------------------------------------------------------------------------------|v_CTRL-\_CTRL-N| CTRL-\ CTRL-N	   stop Visual mode|v_CTRL-G|	CTRL-G		   toggle between Visual mode and Select mode|v_<BS>|	<BS>		2  Select mode: delete highlighted area|v_CTRL-H|	CTRL-H		2  same as <BS>|v_CTRL-O|	CTRL-O		   switch from Select to Visual mode for one				   command|v_CTRL-V|	CTRL-V		   make Visual mode blockwise or stop Visual				   mode|v_CTRL-]|	CTRL-]		   jump to highlighted tag|v_!|		!{filter}	2  filter the highlighted lines through the				   external command {filter}|v_:|		:		   start a command-line with the highlighted				   lines as a range|v_<|		<		2  shift the highlighted lines one				   'shiftwidth' left|v_=|		=		2  filter the highlighted lines through the				   external program given with the 'equalprg'				   option|v_>|		>		2  shift the highlighted lines one				   'shiftwidth' right|v_b_A|		A		2  block mode: append same text in all lines,				   after the highlighted area|v_C|		C		2  delete the highlighted lines and start				   insert|v_D|		D		2  delete the highlighted lines|v_b_I|		I		2  block mode: insert same text in all lines,				   before the highlighted area|v_J|		J		2  join the highlighted lines|v_K|		K		   run 'keywordprg' on the highlighted area|v_O|		O		   Move horizontally to other corner of area.		Q		   does not start Ex mode|v_R|		R		2  delete the highlighted lines and start				   insert|v_S|		S		2  delete the highlighted lines and start				   insert|v_U|		U		2  make highlighted area uppercase|v_V|		V		   make Visual mode linewise or stop Visual				   mode|v_X|		X		2  delete the highlighted lines|v_Y|		Y		   yank the highlighted lines|v_a(|		a(		   same as ab|v_a)|		a)		   same as ab|v_a<|		a<		   extend highlighted area with a <> block|v_a>|		a>		   same as a<|v_aB|		aB		   extend highlighted area with a {} block|v_aW|		aW		   extend highlighted area with "a WORD"|v_a[|		a[		   extend highlighted area with a [] block|v_a]|		a]		   same as a[|v_ab|		ab		   extend highlighted area with a () block|v_ap|		ap		   extend highlighted area with a paragraph|v_as|		as		   extend highlighted area with a sentence|v_aw|		aw		   extend highlighted area with "a word"|v_a{|		a{		   same as aB|v_a}|		a}		   same as aB|v_c|		c		2  delete highlighted area and start insert|v_d|		d		2  delete highlighted area|v_gJ|		gJ		2  join the highlighted lines without				   inserting spaces|v_gq|		gq		2  format the highlighted lines|v_gv|		gv		   exchange current and previous highlighted				   area|v_i(|		i(		   same as ib|v_i)|		i)		   same as ib|v_i<|		i<		   extend highlighted area with inner <> block|v_i>|		i>		   same as i<|v_iB|		iB		   extend highlighted area with inner {} block|v_iW|		iW		   extend highlighted area with "inner WORD"|v_i[|		i[		   extend highlighted area with inner [] block|v_i]|		i]		   same as i[|v_ib|		ib		   extend highlighted area with inner () block|v_ip|		ip		   extend highlighted area with inner paragraph|v_is|		is		   extend highlighted area with inner sentence|v_iw|		iw		   extend highlighted area with "inner word"|v_i{|		i{		   same as iB|v_i}|		i}		   same as iB|v_o|		o		   move cursor to other corner of area|v_r|		r		2  delete highlighted area and start insert|v_s|		s		2  delete highlighted area and start insert|v_u|		u		2  make highlighted area lowercase|v_v|		v		   make Visual mode characterwise or stop				   Visual mode|v_x|		x		2  delete the highlighted area|v_y|		y		   yank the highlighted area|v_~|		~		2  swap case for the highlighted area==============================================================================4. Command-line editing					*ex-edit-index*Get to the command-line with the ':', '!', '/' or '?' commands.Normal characters are inserted at the current cursor position."Completion" below refers to context-sensitive completion.  It will completefile names, tags, commands etc. as appropriate.		CTRL-@		not used|c_CTRL-A|	CTRL-A		do completion on the pattern in front of the				cursor and insert all matches|c_CTRL-B|	CTRL-B		cursor to begin of command-line|c_CTRL-C|	CTRL-C		same as <ESC>|c_CTRL-D|	CTRL-D		list completions that match the pattern in				front of the cursor|c_CTRL-E|	CTRL-E		cursor to end of command-line		CTRL-F		not used		CTRL-G		not used|c_<BS>|	<BS>		delete the character in front of the cursor|c_digraph|	{char1} <BS> {char2}				enter digraph when 'digraph' is on|c_CTRL-H|	CTRL-H		same as <BS>|c_<Tab>|	<Tab>		if 'wildchar' is <Tab>: Do completion on				the pattern in front of the cursor|c_<S-Tab>|	<S-Tab>		same as CTRL-P|c_wildchar|	'wildchar'	Do completion on the pattern in front of the				cursor (default: <Tab>)|c_CTRL-I|	CTRL-I		same as <Tab>|c_<NL>|	<NL>		same as <CR>|c_CTRL-J|	CTRL-J		same as <CR>|c_CTRL-K|	CTRL-K {char1} {char2}				enter digraph|c_CTRL-L|	CTRL-L		do completion on the pattern in front of the				cursor and insert the longest common part|c_<CR>|	<CR>		execute entered command|c_<CR>|	CTRL-M		same as <CR>|c_CTRL-N|	CTRL-N		after using 'wildchar' with multiple matches:				go to next match, otherwise: same as <Down>		CTRL-O		not used|c_CTRL-P|	CTRL-P		after using 'wildchar' with multiple matches:				go to previous match, otherwise: same as <Up>|c_CTRL-Q|	CTRL-Q		same as CTRL-V (used for terminal control flow)|c_CTRL-R|	CTRL-R {0-9a-z"%#*:= CTRL-F CTRL-P CTRL-W CTRL-A}				insert the contents of a register or object				under the cursor as if typed|c_CTRL-R_CTRL-R| CTRL-R CTRL-R {0-9a-z"%#*:= CTRL-F CTRL-P CTRL-W CTRL-A}				insert the contents of a register or object				under the cursor literally		CTRL-S		(used for terminal control flow)|c_CTRL-U|	CTRL-U		remove all characters|c_CTRL-V|	CTRL-V		insert next non-digit literally, insert three				digit decimal number as a single byte.|c_CTRL-W|	CTRL-W		delete the word in front of the cursor		CTRL-X		not used (reserved for completion)		CTRL-Y		not used		CTRL-Z		not used (reserved for suspend)|c_<Esc>|	<Esc>		abandon command-line without executing it|c_<Esc>|	CTRL-[		same as <Esc>|c_CTRL-\_CTRL-N| CTRL-\ CTRL-N	 go to Normal mode, abandon command-line		CTRL-\ a - z	reserved for extensions		CTRL-\ others	not used		CTRL-]		not used		CTRL-^		not used|c_CTRL-_|	CTRL-_		when 'allowrevins' set: change language				(Hebrew, Farsi)|c_<Del>|	<Del>		delete the character under the cursor|c_<Left>|	<Left>		cursor left|c_<S-Left>|	<S-Left>	cursor one word left|c_<C-Left>|	<C-Left>	cursor one word left|c_<Right>|	<Right>		cursor right|c_<S-Right>|	<S-Right>	cursor one word right|c_<C-Right>|	<C-Right>	cursor one word right|c_<Up>|	<Up>		recall previous command-line from history that				matches pattern in front of the cursor|c_<S-Up>|	<S-Up>		recall previous command-line from history|c_<Down>|	<Down>		recall next command-line from history that				matches pattern in front of the cursor|c_<S-Down>|	<S-Down>	recall next command-line from history|c_<Home>|	<Home>		cursor to start of command-line|c_<End>|	<End>		cursor to end of command-line|c_<PageDown>|	<PageDown>	same as <S-Down>|c_<PageUp>|	<PageUp>	same as <S-Up>|c_<Insert>|	<Insert>	toggle insert/overstrike mode|c_<LeftMouse>|	<LeftMouse>	cursor at mouse click==============================================================================5. EX commands						*ex-cmd-index*This is a brief but complete listing of all the ":" commands, withoutmentioning any arguments.  The optional part of the command name is inside [].The commands are sorted on the non-optional part of their name.|:!|		:!		filter lines or execute an external command|:!!|		:!!		repeat last ":!" command|:#|		:#		same as ":number"|:&|		:&		repeat last ":substitute"|:star|		:*		execute contents of a register|:<|		:<		shift lines one 'shiftwidth' left|:=|		:=		print the cursor line number|:>|		:>		shift lines one 'shiftwidth' right|:@|		:@		execute contents of a register|:@@|		:@@		repeat the previous ":@"|:Next|		:N[ext]		go to previous file in the argument list|:Print|	:P[rint]	print lines|:X|		:X		ask for encryption key|:append|	:a[ppend]	append text|:abbreviate|	:ab[breviate]	enter abbreviation|:abclear|	:abc[lear]	remove all abbreviations|:all|		:al[l]		open a window for each file in the argument				list|:amenu|	:am[enu]	enter new menu item for all modes|:anoremenu|	:an[oremenu]	enter a new menu for all modes that will not				be remapped|:args|		:ar[gs]		print the argument list|:argument|	:argu[ment]	go to specific file in the argument list|:ascii|	:as[cii]	print ascii value of character under the cursor|:autocmd|	:au[tocmd]	enter or show autocommands|:augroup|	:aug[roup]	select the autocommand group to use|:aunmenu|	:aun[menu]	remove menu for all modes|:buffer|	:b[uffer]	go to specific buffer in the buffer list

⌨️ 快捷键说明

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