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

📄 options.txt

📁 MSYS在windows下模拟了一个类unix的终端
💻 TXT
📖 第 1 页 / 共 5 页
字号:
	option, you must load syntax.vim again to see the result.  This can be	done with ":syntax on".							*'backspace'* *'bs'*'backspace' 'bs'	string	(default "")			global			{not in Vi}	Influences the working of <BS>, <Del>, CTRL-W and CTRL-U in Insert	mode.  This is a list of items, separated by commas.  Each item allows	a way to backspace over something:	value	effect  ~	indent  allow backspacing over autoindent	eol	allow backspacing over line breaks (join lines)	start	allow backspacing over the start of insert; CTRL-W and CTRL-U		stop once at the start of insert.	When the value is empty, Vi compatible backspacing is used.	For backwards compatibility with version 5.4 and earlier:	value	effect  ~	  0	same as "" (Vi compatible)	  1	same as "indent,eol"	  2	same as "indent,eol,start"	See |:fixdel| if your <BS> or <Del> key does not do what you want.	NOTE: This option is set to "" when 'compatible' is set.				*'backup'* *'bk'* *'nobackup'* *'nobk'*'backup' 'bk'		boolean	(default off)			global			{not in Vi}	Make a backup before overwriting a file.  Leave it around after the	file has been successfully written.  If you do not want to keep the	backup file, but you do want a backup while the file is being	written, reset this option and set the 'writebackup' option (this is	the default).  If you do not want a backup file at all reset both	options (use this if your file system is almost full).  See the	|backup-table| for more explanations.	NOTE: This option is reset when 'compatible' is set.						*'backupdir'* *'bdir'*'backupdir' 'bdir'	string	(default for Amiga: ".,t:",				 for MS-DOS and Win32: ".,c:/tmp,c:/temp"				 for Unix: ".,~/tmp,~/")			global			{not in Vi}	List of directories for the backup file, separated with commas.	- The backup file will be created in the first directory in the list	  where this is possible.	- Empty means that no backup file will be created ('patchmode' is	  impossible!).	- A directory "." means to put the backup file in the same directory	  as the edited file.	- A directory starting with "./" (or ".\" for MS-DOS et.al.) means to	  put the backup file relative to where the edited file is.  The	  leading "." is replaced with the path name of the edited file.	  ("." inside a directory name has no special meaning).	- 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 '/'.	- 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 bdir=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.	See also 'backup' and 'writebackup' options.	If you want to hide your backup files on Unix, consider this value:>		:set backupdir=./.backup,~/.backup,.,/tmp	You must create a ".backup" directory in each directory and in your	home directory for this to work properly.	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.						*'backupext'* *'bex'*'backupext' 'bex'	string	(default "~", for VMS: "_")			global			{not in Vi}	String which is appended to a file name to make the name of the	backup file.  The default is quite unusual, because this avoids	accidentally overwriting existing files with a backup file.  You might	prefer using ".bak", but make sure that you don't have files with	".bak" that you want to keep.				     *'binary'* *'bin'* *'nobinary'* *'nobin'*'binary' 'bin'		boolean	(default off)			local to buffer			{not in Vi}	This option should be set before editing a binary file.  You can also	use the "-b" Vim argument.  When this option is switched on a few	options will be changed (also when it already was on):		'textwidth'  will be set to 0		'wrapmargin' will be set to 0		'modeline'   will be off		'expandtab'  will be off	Also, 'fileformat' and 'fileformats' options will not be used, the	file is read and written like 'fileformat' was "unix" (a single <NL>	separates lines).	NOTE: When you start editing a(nother) file while the 'bin' option is	on, settings from autocommands may change the settings again (e.g.,	'textwidth'), causing trouble when editing.  You might want to set	'bin' again when the file has been loaded.	The previous values of these options are remembered and restored when	'bin' is switched from on to off.  Each buffer has its own set of	saved option values.	When writing a file the <EOL> for the last line is only written if	there was one in the original file (normally Vim appends an <EOL> to	the last line if there is none; this would make the file longer).  See	the 'endofline' option.			*'bioskey'* *'biosk'* *'nobioskey'* *'nobiosk'*'bioskey' 'biosk'	boolean	(default on)			global			{not in Vi}  {only for MS-DOS}	When on the bios is called to obtain a keyboard character.  This works	better to detect CTRL-C, but only works for the console.  When using a	terminal over a serial port reset this option.	Also see |'conskey'|.						*'breakat'* *'brk'*'breakat' 'brk'		string	(default " ^I!@*-+_;:,./?")			global			{not in Vi}			{not available when compiled without the  |+linebreak|			feature}	This option lets you choose which characters might cause a line	break if 'linebreak' is on.						*'browsedir'* *'bsdir'*'browsedir' 'bsdir'	string	(default for "last")			global			{not in Vi} {only for Motif and Win32 GUI}	Which directory to use for the file browser:	   last		Use same directory as with last file browser.	   buffer	Use the directory of the related buffer.	   current	Use the current directory.				   *'cindent'* *'cin'* *'nocindent'* *'nocin'*'cindent' 'cin'		boolean	(default off)			local to buffer			{not in Vi}			{not available when compiled without the |+cindent|			feature}	Enables automatic C program indenting  See 'cinkeys' to set the keys	that trigger reindenting in insert mode and 'cinoptions' to set your	preferred indent style.  If 'lisp' is not on and 'equalprg' is empty,	the "=" operator indents using this algorithm rather than calling an	external program.  See |C-indenting|.  This option is switched off	when 'paste' is set.  When you don't like the way 'cindent' works, try	the 'smartindent' option.	NOTE: This option is reset when 'compatible' is set.'cinkeys' 'cink'	string	(default "0{,0},:,0#,!^F,o,O,e")			local to buffer			{not in Vi}			{not available when compiled without the |+cindent|			feature}	A list of keys that, when typed in Insert mode, cause reindenting of	the current line.  Only happens if 'cindent' is on.  See	|C-indenting|.						*'cinoptions'* *'cino'*'cinoptions' 'cino'	string	(default "")			local to buffer			{not in Vi}			{not available when compiled without the |+cindent|			feature}	The 'cinoptions' affect the way 'cindent' reindents lines in a C	program.  See |cinoptions-values| for the values of this option, and	|C-indenting| for info on C indenting in general.						*'cinwords'* *'cinw'*'cinwords' 'cinw'	string	(default "if,else,while,do,for,switch")			local to buffer			{not in Vi}			{not available when compiled without both the			|+cindent| and the |+smartindent| features}	These keywords start an extra indent in the next line when	'smartindent' or 'cindent' is set.  For 'cindent' this is only done at	an appropriate place (inside {}).	Note that 'ignorecase' isn't used for 'cinwords'.  If case doesn't	matter, include the keyword both the upper case and lower case:	"if,If,IF".						*'clipboard'* *'cb'*'clipboard' 'cb'	string	(default "")			global			{not in Vi}			{only in GUI versions or when the |+xterm_clipboard|			feature is included}	This option is a list of comma separated names.	These names are recognized:	unnamed		When included, Vim will use the clipboard register '*'			for all yank, delete and put operations which would			normally go to the unnamed register.  When a register			is explictly specified, it will always be used			regardless of whether "unnamed" is in 'clipboard' or			not.  The clipboard register can always be explicitly			accessed using the "* notation.  Also see			|gui-clipboard|.	autoselect	Works like the 'a' flag in 'guioptions': If present,			then whenever Visual mode is started, or the Visual			area extended, Vim tries to become the owner of the			windowing system's global selection or put the			selected text on the clipboard.  See |guioptions_a|			for details.  When the GUI is active, the 'a' flag in			'guioptions' is used, when the GUI is not active, this			"autoselect" flag is used.						*'cmdheight'* *'ch'*'cmdheight' 'ch'	number	(default 1)			global			{not in Vi}	Number of screen lines to use for the command-line.  Helps avoiding	|hit-return| prompts.						*'columns'* *'co'*'columns' 'co'		number	(default 80 or terminal width)			global			{not in Vi}	Number of columns of the screen.  Normally this is set by the terminal	initialization and does not have to be set by hand.	When Vim is running in the GUI or in a resizable window, setting this	option may cause the window size to be changed.	When you set this option and Vim is unable to change the physical	number of columns of the display, the display may be messed up.						*'comments'* *'com'*'comments' 'com'	string	(default				"s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-")			local to buffer			{not in Vi}			{not available when compiled without the |+comments|			feature}	A comma separated list of strings that can start a comment line.  See	|format-comments|.  See |option-backslash| about using backslashes to	insert a space.			*'compatible'* *'cp'* *'nocompatible'* *'nocp'*'compatible' 'cp'	boolean	(default on, off when a .vimrc file is found)			global			{not in Vi}	This option has the effect of making Vim either more Vi-compatible, or	make Vim behave in a more useful way.	This is a special kind of option, because when it's set or reset,	other options are also changed as a side effect.  CAREFUL: Setting or	resetting this option can have a lot of unexpected effects: Mappings	are interpreted in another way, undo behaves differently, etc.  If you	set this option in your vimrc file, you should probably put it at the	very start.	By default this option is on and the Vi defaults are used for the	options.  This default was chosen for those people who want to use Vim	just like Vi, and don't even (want to) know about the 'compatible'	option.	When a ".vimrc" file is found while Vim is starting up, this option is	switched off, and all options that have not been modified will be set	to the Vim defaults.  Effectively, this means that when a ".vimrc"	file exists, Vim will use the Vim defaults, otherwise it will use the	Vi defaults.  (Note: This doesn't happen for the system-wide vimrc	file).  Also see |compatible-default|.	You can also set this option with the "-C" argument, and reset it with	"-N".  See |-C| and |-N|.	Switching this option off makes the Vim defaults be used for options	that have a different Vi and Vim default value.  See the options	marked with a '+' below.  Other options are not modified.	At the moment this option is set, several other options will be set	or reset to make Vim as Vi-compatible as possible.  See the table	below.  This can be used if you want to revert to Vi compatible	editing.	See also 'cpoptions'.	option		+ set value	effect	~	'allowrevins'	  off		no CTRL-_ command	'backspace'	  ""		normal backspace	'backup'	  off		no backup file	'cindent'	  off		no C code indentation	'cpoptions'	+ (all flags)	Vi-compatible flags	'cscopetag'	  off		don't use cscope for ":tag"	'cscopetagorder'  0		see |cscopetagorder|	'cscopeverbose'	  off		see |cscopeverbose|	'digraph'	  off		no digraphs	'esckeys'	+ off		no <Esc>-keys in Insert mode	'expandtab'	  off		tabs not expanded to spaces	'fileformats'	+ ""		no automatic file format detection,			  "dos,unix"	except for DOS, Windows and OS/2	'formatoptions'	+ "vt"		Vi compatible formatting	'gdefault'	  off		no default 'g' flag for ":s"	'history'	+ 0		no commandline history	'hkmap'		  off		no Hebrew keyboard mapping	'hkmapp'	  off		no phonetic Hebrew keyboard mapping	'hlsearch'	  off		no highlighting of search matches

⌨️ 快捷键说明

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