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

📄 options.txt

📁 MSYS在windows下模拟了一个类unix的终端
💻 TXT
📖 第 1 页 / 共 5 页
字号:
			global			{not in Vi}	Pattern to be used to find a macro definition.  It is a search	pattern, just like for the "/" command.  This option is used for the	commands like "[i" and "[d" |include-search|.  The 'isident' option is	used to recognize the identifier name after the match.  See	|option-backslash| about inserting backslashes to include a space or	backslash.	The default value is for C programs.  For C++ this value would be	useful, to include const type declarations:>		^\(#\s*define\|[a-z]*\s*const\s*[a-z]*\)	When using the ":set" command, you need to double the backslashes!						*'dictionary'* *'dict'*'dictionary' 'dict'	string	(default "")			global			{not in Vi}	List of file names, separated by commas, that are used to lookup words	for keyword completion commands |i_CTRL-X_CTRL-K|.  Each file should	contain a list of words.  This can be one word per line, or several	words per line, separated by non-keyword characters (white space is	preferred).	To include a comma in a file name precede it with a backslash.  Spaces	after a comma are ignored, otherwise spaces are included in the file	name.  See |option-backslash| about using backslashes.	Where to find a list of words?	- On FreeBSD, there is the file "/usr/share/dict/words".	- In the Simtel archive, look in the "msdos/linguist" directory.	- In "miscfiles" of the GNU collection.	The use of |:set+=| and |:set-=| is preferred when adding or removing	directories from the list.  This avoids problems when a future version	uses another default.				     *'digraph'* *'dg'* *'nodigraph'* *'nodg'*'digraph' 'dg'		boolean	(default off)			global			{not in Vi}			{not available when compiled without the |+digraphs|			feature}	Enable the entering of digraphs in Insert mode with {char1} <BS>	{char2}.  See |digraphs|.	NOTE: This option is reset when 'compatible' is set.						*'directory'* *'dir'*'directory' 'dir'	string	(default for Amiga: ".,t:",				 for MS-DOS and Win32: ".,c:\tmp,c:\temp"				 for Unix: ".,~/tmp,/var/tmp,/tmp")			global	List of directory names for the swap file, separated with commas.	- The swap file will be created in the first directory where this is	  possible.	- Empty means that no swap file will be used (recovery is	  impossible!).	- A directory "." means to put the swap file in the same directory as	  the edited file.  On Unix, a dot is prepended to the file name, so	  it doesn't show in a directory listing.	- A directory starting with "./" (or ".\" for MS-DOS et.al.) means to	  put the swap file relative to where the edited file is.  The leading	  "." is replaced with the path name of the edited file.	- For Unix and Win32, if a directory ends in two path separators, the	  swap file name will be built from the complete path to the file	  with all path separators substituted to percent '%' signs. This will	  ensure file name uniqueness in the preserve directory.	- Spaces after the comma are ignored, other spaces are considered part	  of the directory name.  To have a space at the start of a directory	  name, precede it with a backslash.	- To include a comma in a directory name precede it with a backslash.	- A directory name may end in an ':' or '/'.	- Environment variables are expanded |:set_env|.	- Careful with '\' characters, type one before a space, type two to	  get one in the option (see |option-backslash|), for example:>	    :set dir=c:\\tmp,\ dir\\,with\\,commas,\\\ dir\ with\ spaces	- For backwards compatibility with Vim version 3.0 a '>' at the start	  of the option is removed.	Using "." first in the list is recommended.  This means that editing	the same file twice will result in a warning.  Using "/tmp" on Unix is	discouraged: When the system crashes you lose the swap file.	"/var/tmp" is often not cleared when rebooting, thus is a better	choice than "/tmp".  But it can contain a lot of files, your swap	files get lost in the crowd.  That is why a "tmp" directory in your	home directory is tried first.	The use of |:set+=| and |:set-=| is preferred when adding or removing	directories from the list.  This avoids problems when a future version	uses another default.	{Vi: directory to put temp file in, defaults to "/tmp"}					*'display'* *'dy'*'display' 'dy'		string	(default "")			global			{not in Vi}	Change the way text is displayed.  This is comma separated list of	flags.  Currently only one is supported:	lastline	When included, as much as possible of the last line			in a window will be displayed.  When not included, a			last line that doesn't fit is replaced with "@" lines.			   *'ed'* *'edcompatible'* *'noed'* *'noedcompatible'*'edcompatible' 'ed'	boolean	(default off)			global	Makes the 'g' and 'c' flags of the ":substitute" command to be	toggled each time the flag is given.  See |complex-change|.  See	also 'gdefault' option.	Switching this option on is discouraged!			*'endofline'* *'eol'* *'noendofline'* *'noeol'*'endofline' 'eol'	boolean	(default on)			local to buffer			{not in Vi}	When writing a file and this option is off and the 'binary' option	is on, no <EOL> will be written for the last line in the file.  This	option is automatically set when starting to edit a new file, unless	the file does not have an <EOL> for the last line in the file, in	which case it is reset.  Normally you don't have to set or reset this	option.  When 'binary' is off the value is not used when writing the	file.  When 'binary' is on it is used to remember the presence of a	<EOL> for the last line in the file, so that when you write the file	the situation from the original file can be kept.  But you can change	it if you want to.			     *'equalalways'* *'ea'* *'noequalalways'* *'noea'*'equalalways' 'ea'	boolean	(default on)			global			{not in Vi}	When on, all the windows are automatically made the same size after	splitting or closing a window.  When off, splitting a window will	reduce the size of the current window and leave the other windows the	same.  When closing a window the extra lines are given to the window	above it.						*'equalprg'* *'ep'*'equalprg' 'ep'		string	(default "")			global			{not in Vi}	External program to use for "=" command.  When this option is empty	the internal formatting functions are used ('lisp' or 'cindent').	Environment variables are expanded |:set_env|.  See |option-backslash|	about including spaces and backslashes.	When this option is set from a |modeline|, while the 'secure' option	is set, you will get a warning message.			*'errorbells'* *'eb'* *'noerrorbells'* *'noeb'*'errorbells' 'eb'	boolean	(default off)			global	Ring the bell (beep or screen flash) for error messages.  This only	makes a difference for error messages, the bell will be used always	for a lot of errors without a message (e.g., hitting <Esc> in Normal	mode).  See 'visualbell' on how to make the bell behave like a beep,	screen flash or do nothing.						*'errorfile'* *'ef'*'errorfile' 'ef'	string	(Amiga default: "AztecC.Err",					others: "errors.err")			global			{not in Vi}			{not available when compiled without the |+quickfix|			feature}	Name of the errorfile for the QuickFix mode (see |:cf|).	When the "-q" command-line argument is used, 'errorfile' is set to the	following argument.  See |-q|.	NOT used for the ":make" command.  See 'makeef' for that.	Environment variables are expanded |:set_env|.	See |option-backslash| about including spaces and backslashes.						*'errorformat'* *'efm'*'errorformat' 'efm'	string	(default is very long)			global			{not in Vi}			{not available when compiled without the |+quickfix|			feature}	Scanf-like description of the format for the lines in the error file	(see |errorformat|).				     *'esckeys'* *'ek'* *'noesckeys'* *'noek'*'esckeys' 'ek'		boolean	(Vim default: on, Vi default: off)			global			{not in Vi}	Function keys that start with an <Esc> are recognized in Insert	mode.  When this option is off, the cursor and function keys cannot be	used in Insert mode if they start with an <Esc>.  The advantage of	this is that the single <Esc> is recognized immediately, instead of	after one second.  Instead of resetting this option, you might want to	try changing the values for 'timeoutlen' and 'ttimeoutlen'.  Note that	when 'esckeys' is off, you can still map anything, but the cursor keys	won't work by default.	NOTE: This option is set to the Vi default value when 'compatible' is	set and to the Vim default value when 'compatible' is reset.						*'eventignore'* *'ei'*'eventignore' 'ei'	string	(default "")			global			{not in Vi}	A list of autocommand event names, which are to be ignored.	When set to "all", all autocommand events are ignored, autocommands	will not be executed.	Otherwise this is a comma separated list of event names.  Example:>	    :set ei=WinEnter,WinLeave				 *'expandtab'* *'et'* *'noexpandtab'* *'noet'*'expandtab' 'et'	boolean	(default off)			local to buffer			{not in Vi}	In Insert mode: Use the appropriate number of spaces to insert a	<Tab>.  Spaces are used in indents with the '>' and '<' commands and	when 'autoindent' is on.  To insert a real tab when 'expandtab' is	on, use CTRL-V<Tab>.  See also |:retab| and |ins-expandtab|.	NOTE: This option is reset when 'compatible' is set.					*'exrc'* *'ex'* *'noexrc'* *'noex'*'exrc' 'ex'		boolean (default off)			global			{not in Vi}	Enables the reading of .vimrc, .exrc and .gvimrc in the current	directory.  If you switch this option on you should also consider	setting the 'secure' option (see |initialization|).  Using a local	.exrc, .vimrc or .gvimrc is a potential security leak, use with care!	also see |.vimrc| and |gui-init|.	This option cannot be set from a |modeline|.					*'fileencoding'* *'fe'*'fileencoding' 'fe'	string (default: "ansi")			local to buffer			{only available when compiled with the |+multi_byte|			feature}			{not in Vi}	Enables editing of alternative encoded files, for example shift-JIS or	Unicode.  When you set this option, it fires of a 'FileEncoding'	autocommand so you can set up fonts if necessary.	See |multibyte|.	Possible values are:	    ansi	default setting, good for most Western languages	    unicode	(to be implemented>	    japan	set to use shift-JIS (Windows CP 932) encoding	    korea	set to use Korean DBCS	    prc		use simplified Chinese encoding	    taiwan	use traditional Chinese encoding	    hebrew	(to be implemented)	    farsi	(to be implemented)	This lets you view, for example, a Japanese S-JIS encoded file	(provided you have a suitable font).  The DBCS characters are treated	as a unit, i.e. you cursor past them or delete them, etc as a unit,	rather than deleting half a character.					*'fileformat'* *'ff'*'fileformat' 'ff'	string (DOS, Win32, OS/2 default: "dos",				Unix default: "unix",				Macintosh default: "mac")			local to buffer			{not in Vi}	This gives the <EOL> of the current buffer, which is used for	reading/writing the buffer from/to a file:	    dos	    <CR> <NL>	    unix    <NL>	    mac	    <CR>	When "dos" is used, CTRL-Z at the end of a file is ignored.	See |file-formats| and |file-read|.	When 'binary' is set, the value of 'fileformat' is ignored, file I/O	works like it was set to "unix'.	This option is set automatically when starting to edit a file and	'fileformats' is not empty and 'binary' is off.	When this option is set, after starting to edit a file, the 'modified'	option is set, because the file would be different when written.	For backwards compatibility: When this option is set to "dos",	'textmode' is set, otherwise 'textmode' is reset.					*'fileformats'* *'ffs'*'fileformats' 'ffs'	string (Vim+Vi	DOS, Win32, OS/2 default: "dos,unix",				Vim	Unix default: "unix,dos",				Vim	Mac default: "mac,unix,dos",				Vi	others default: "")			global			{not in Vi}	This gives the end-of-line (<EOL>) formats that will be tried.  It is	used when starting to edit a new buffer and when reading a file into	an existing buffer:	- When empty, the format defined with 'fileformat' will be used	  always.  It is not set automatically.	- When set to one name, that format will be used whenever a new buffer	  is opened.  'fileformat' is set accordingly for that buffer.  The	  'fileformats' name will be used when a file is read into an existing	  buffer, no matter what 'fileformat' for that buffer is set to.	- When more than one name is present, separated by commas, automatic	  <EOL> detection will be done when reading a file.  When starting to	  edit a file, a check is done for the <EOL>:	  1. If all lines end in <CR><NL>, and 'fileformats' includes "dos",	     'fileformat' is set to "dos".	  2. If a <NL> is found and 'fileformats' includes "unix, 'fileformat'	     is set to "unix".  Note that when a <NL> is found without a	     preceding <CR>, "unix" is preferred over "dos".	  3. If 'fileformats' includes "mac", 'fileformat' is set to "mac".	     This means that "mac" is only chosen when "unix" is not present,	     or when no <NL> is found in the file, and when "dos" is not

⌨️ 快捷键说明

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