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

📄 various.txt

📁 MSYS在windows下模拟了一个类unix的终端
💻 TXT
📖 第 1 页 / 共 2 页
字号:
*+file_in_path*		|gf|, |CTRL-W_f| and |<cfile>|*+find_in_path*		include file searches: |[I|, |:isearch|,			|CTRL-W_CTRL-I|, |:checkpath|, etc.*+fork*			Unix only: |fork| shell commands*+GUI_Athena*		Unix only: Athena |GUI|*+GUI_BeOS*		BeOS only: BeOS |GUI|*+GUI_GTK*		Unix only: GTK+ |GUI|*+GUI_Motif*		Unix only: Motif |GUI|*+hangul_input*		Hangul input support |hangul|*+insert_expand*	|insert_expand| Insert mode completion*+langmap*		|'langmap'|*+linebreak*		|'linebreak'|, |'breakat'| and |'showbreak'|*+lispindent*		|'lisp'|*+menu*			|:menu|*+mksession*		|:mksession|*+modify_fname*		|filename-modifiers|*+mouse*		Mouse handling |mouse-using|*+mouse_dec*		Unix only: Dec terminal mouse handling |dec-mouse|*+mouse_gpm*		Unix only: Linux console mouse handling |gpm-mouse|*+mouse_netterm*	Unix only: netterm mouse handling |netterm-mouse|*+mouse_xterm*		Unix only: xterm mouse handling |xterm-mouse|*+multi_byte*		Korean and other languages |multibyte|*+multi_byte_ime*	Win32 input method for multi_byte characters.*+ole*			Win32 GUI only: |ole-interface|*+osfiletype*		Support for the 'osfiletype' option and filetype			checking in automatic commands.  |autocmd-osfiletypes|*+perl*			Perl interface |perl|*+python*		Python interface |python|*+quickfix*		|:make| and |quickfix| commands*+rightleft*		Right to left typing |'rightleft'|*+scrollbind*		|'scrollbind'|*+smartindent*		|'smartindent'|*+sniff*		SniFF interface (no docs available...)*+statusline*		Options 'statusline', 'rulerformat' and special			formats of 'titlestring' and 'iconstring'*+syntax*		Syntax highlighting |syntax|*+system()*		Unix only: opposite of |+fork|*+tag_binary*		binary searching in tags file |tag-binary-search|*+tag_old_static*	old method for static tags |tag-old-static|*+tag_any_white*	any white space allowed in tags file |tag-any-white|*+tcl*			Tcl interface |tcl|*+terminfo*		uses |terminfo| instead of termcap*+textobjects*		|text-objects| selection*+tgetent*		non-Unix only: able to use external termcap*+title*		Setting the window title |'title'|*+user_commands*	User-defined commands. |user-commands|*+viminfo*		|'viminfo'|*+visualextra*		Extra Visual mode commands |blockwise-operators|*+wildignore*		|'wildignore'|*+wildmenu*		|'wildmenu'|*+writebackup*		|'writebackup'| is default on*+xim*			X input method |xim|*+xfontset*		X fontset support |xfontset|*+xterm_clipboard*	Unix only: xterm clipboard handling*+xterm_save*		Save and restore xterm screen |xterm-screens|*+X11*			Unix only: can restore window title |X11|:ve[rsion] {nr}		Is now ignored.  This was previously used to check the			version number of a .vimrc file.  It was removed,			because you can now use the ":if" command for			version-dependent behavior.  {not in Vi}							*:redi* *:redir*:redi[r][!] > {file}	Redirect messages to file {file}.  The messages which			are the output of commands are written to that file,			until redirection ends.  The messages are also still			shown on the screen.  When [!] is included, an			existing file is overwritten.  When [!] is omitted,			and {file} exists, this command fails.  {not in Vi}:redi[r] >> {file}	Redirect message to file {file}.  Append if {file}			already exists.  {not in Vi}:redi[r] @{a-zA-Z}	Redirect message to register {a-z}.  Append to the			contents of the register if its name is given			uppercase {A-Z}.  {not in Vi}:redi[r] END		End redirecting messages.  {not in Vi}							*K*K			Run a program to lookup the keyword under the			cursor.  The name of the program is given with the			'keywordprg' (kp) option (default is "man").  The			keyword is formed of letters, numbers and the			characters in 'iskeyword'.  The keyword under or			right of the cursor is used.  The same can be done			with the command>				:!{program} {keyword}			There is an example of a program to use in the tools			directory of Vim.  It is called 'ref' and does a			simple spelling check.			Special cases:			- If 'keywordprg' is empty, the ":help" command is			  used.  It's a good idea to include more characters			  in 'iskeyword' then, to be able to find more help.			- When 'keywordprg' is equal to "man", a count before			  "K" is inserted after the "man" command and before			  the keyword.  For example, using "2K" while the			  cursor is on "mkdir", results in:>				!man 2 mkdir			- When 'keywordprg' is equal to "man -s", a count			  before "K" is inserted after the "-s".  If there is			  no count, the "-s" is removed.			{not in Vi}							*v_K*{Visual}K		Like "K", but use the visually highlighted text for			the keyword.  Only works when the highlighted text is			not more than one line.  {not in Vi}[N]gs							*gs* *:sl* *:sleep*:[N]sl[eep] [N]	[m]	Do nothing for [N] seconds.  When [m] is included,			sleep for [N] milliseconds.>  :sleep	  "sleep for one second>  :5sleep	  "sleep for five seconds>  :sleep 100m    "sleep for hunderd millisonds			Can be interrupted with CTRL-C (CTRL-Break on MS-DOS).			"gs" stands for "goto sleep".  While sleeping the			cursor is positioned in the text (if visible).  {not			in Vi}							*g_CTRL-A*g CTRL-A		Only when Vim was compiled with MEM_PROFILING defined			(which is very rare): print memory usage statistics.			Only useful for debugging Vim.==============================================================================2. Online help						*online-help*			*help* *<Help>* *:h* *:help* *<F1>* *i_<F1>* *i_<Help>*<Help>		or:h[elp]			Split the window and display the help file in			read-only mode.  If there is a help window open			already, use that one.  {not in Vi}								*{subject}*:h[elp] {subject}	Like ":help", additionally jump to the tag {subject}.			{subject} can include wildcards like "*", "?" and			"[a-z]":			   :help z?	jump to help for any "z" command			   :help z.	jump to the help for "z."			If there is no full match for the pattern, or there			are several matches, the "best" match will be used.			A sophisticated algorithm is used to decide which			match is better than another one.  These items are			considered in the computation:			- A match with same case is much better than a match			  with different case.			- A match that starts after a non-alphanumeric			  character is better than a match in the middle of a			  word.			- A match at or near the beginning of the tag is			  better than a match further on.			- The more alphanumeric characters match, the better.			- The shorter the length of the match, the better.			Note that the longer the {subject} you give, the less			matches will be found.  You can get an idea how this			all works by using commandline completion (type CTRL-D			after ":help subject").			If there are several matches, you can have them listed			by hitting CTRL-D.  Example:>				:help cont<Ctrl-D>			To use a regexp |pattern|, first do ":help" and then			use ":tag {pattern}" in the help window.  The			":tnext" command can then be used to jump to other			matches, "tselect" to list matches and choose one.>				:help index| :tse z.			This command can be followed by '|' and another			command, but you don't need to escape the '|' inside a			help command.  So these both work:>				:help |>				:help k| only			Note that a space before the '|' is seen as part of			the ":help" argument.			You can also use <LF> or <CR> to separate the help			command from a following command.  You need to type			CTRL-V first to insert the <LF> or <CR>.  Example:>				:help so<C-V><CR>only			{not in Vi}The help file name can be set with the 'helpfile' option.  The initial heightof the help window can be set with the 'helpheight' option (default 20).Jump to specific subjects by using tags.  This can be done in two ways:- Use the "CTRL-]" command while standing on the name of a command or option.  This only works when the tag is a keyword.  "<C-Leftmouse>" and  "g<LeftMouse>" work just like "CTRL-]".- use the ":ta {subject}" command.  This works with all characters.Use "CTRL-T" to jump back.Use ":q" to close the help window.							*help-xterm-window*If you want to have the help in another xterm window, you could use thiscommand:	:!xterm -e vim +help &			*:helpfind* *:helpf*:helpf[ind]		Like |:help|, but use a dialog to enter the argument.			{only when compiled with |+GUI_GTK|} vim:tw=78:ts=8:sw=8:

⌨️ 快捷键说明

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