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

📄 options.txt

📁 MSYS在windows下模拟了一个类unix的终端
💻 TXT
📖 第 1 页 / 共 5 页
字号:
	'incsearch'	  off		no incremental searching	'insertmode'	  off		do not start in Insert mode	'iskeyword'	+ "@,48-57,_"	keywords contain alphanumeric						characters and '_'	'joinspaces'	  on		insert 2 spaces after period	'modeline'	+ off		no modelines	'more'		+ off		no pauses in listings	'revins'	  off		no reverse insert	'ruler'		  off		no ruler	'scrolljump'	  1		no jump scroll	'scrolloff'	  0		no scroll offset	'shiftround'	  off		indent not rounded to shiftwidth	'shortmess'	+ ""		no shortening of messages	'showcmd'	+ off		command characters not shown	'showmode'	+ off		current mode not shown	'smartcase'	  off		no automatic ignore case switch	'smartindent'	  off		no smart indentation	'smarttab'	  off		no smart tab size	'softtabstop'	  0		tabs are always 'tabstop' positions	'startofline'	  on		goto startofline with some commands	'tagrelative'	+ off		tag file names are not relative	'textauto'	+ off		no automatic textmode detection	'textwidth'	  0		no automatic line wrap	'tildeop'	  off		tilde is not an operator	'ttimeout'	  off		no terminal timeout	'whichwrap'	+ ""		left-right movements don't wrap	'wildchar'	+ CTRL-E	only when the current value is <Tab>					use CTRL-E for cmdline completion	'writebackup'	  on or off	depends on +writebackup feature						*'complete'* *'cpt'*'complete' 'cpt'	string	(default: ".,w,b,u,t,i")			local to buffer			{not in Vi}	This option specifies how keyword completion |ins-completion| works	when CTRL-P or CTRL-N are used.  It indicates the type of completion	and the places to scan.  It is a comma separated list of flags:	.	scan the current buffer ('wrapscan' is ignored)	w	scan buffers from other windows	b	scan other loaded buffers	u	scan the unloaded buffers	k	scan the files given with the 'dictionary' option	k[dict]	scan the file [dict].  Several "k" flags can be given,		patterns are valid too.  For example:>			:set cpt=k/usr/dict/*,k~/spanish	i	scan current and included files	d	scan current and included files for defined name or macro		|i_CTRL-X_CTRL-D|	]	tag completion	t	same as "]"	Unloaded buffers are not loaded, thus their autocmds |:autocmd| are	not executed, this may lead to unexpected completions from some files	(gzipped files for example)	The default is ".,w,b,u,t,i", which means to scan:	   1. the current buffer	   2. buffers in other windows	   3. other loaded buffers	   4. unloaded buffers	   5. tags	   6. included files	As you can see, CTRL-N and CTRL-P can be used to do any 'iskeyword'-	based expansion (eg dictionary |i_CTRL-X_CTRL-K|, included patterns	|i_CTRL-X_CTRL-I|, tags |i_CTRL-X_CTRL-]| and normal expansions)				*'confirm'* *'cf'* *'noconfirm'* *'nocf'*'confirm' 'cf'		boolean (default off)			global			{not in Vi}	When 'confirm' is on, certain operations that would normally	fail because of unsaved changes to a buffer, e.g. ":q" and ":e",	instead raise a |dialog| asking if you wish to save the current	file(s).  You can still use a ! to unconditionally |abandon| a buffer.	If 'confirm' is off you can still activate confirmation for one	command only (this is most useful in mappings) with the |:confirm|	command.	Also see the |confirm()| function and the 'v' flag in 'guioptions'.			*'conskey'* *'consk'* *'noconskey'* *'noconsk'*'conskey' 'consk'	boolean	(default off)			global			{not in Vi}  {only for MS-DOS}	When on direct console I/O is used to obtain a keyboard character.	This should work in most cases.  Also see |'bioskey'|.  Together,	three methods of console input are available:	'conskey'   'bioskey'	    action ~	   on	     on or off	    direct console input	   off		on	    BIOS	   off		off	    STDIN						*'cpoptions'* *'cpo'*'cpoptions' 'cpo'	string	(Vim default: "aABceFs",				 Vi default:  all flags)			global			{not in Vi}	A sequence of single character flags.  When a character is present	this indicates vi-compatible behavior.  This is used for things where	not being vi-compatible is mostly or sometimes preferred.	'cpoptions' stands for "compatible-options".	Commas can be added for readability.	To avoid problems with flags that are added in the future, use the	"+=" and "-=" feature of ":set" |add-option-flags|.	NOTE: This option is set to the Vi default value when 'compatible' is	set and to the Vim default value when 'compatible' is reset.	    contains	behaviour	~		a	When included, a ":read" command with a file name			argument will set the alternate file name for the			current window.		A	When included, a ":write" command with a file name			argument will set the alternate file name for the			current window.		b	"\|" in a ":map" command is recognized as the end of			the map command.  The '\' is included in the mapping,			the text after the '|' is interpreted as the next			command.  Use a CTRL-V instead of a backslash to			include the '|' in the mapping.  Applies to all			mapping, abbreviation, menu and autocmd commands.			See also |map_bar|.		B	A backslash has no special meaning in mappings,			abbreviations and the "to" part of the menu commands.			Remove this flag to be able to use a backslash like a			CTRL-V.  For example, the command ":map X \<Esc>"			results in X being mapped to:				'B' included:	"\^["    (^[ is a real <Esc>)				'B' excluded:   "<Esc>"  (5 characters)				('<' excluded in both cases)		C	Do not concatenate sourced lines that start with a			backslash.  See |line-continuation|.		<	Disable the recognition of special key codes in |<>|			form in mappings, abbreviations, and the "to" part of			menu commands.  For example, the command			":map X <Tab>" results in X being mapped to:				'<' included:   "<Tab>"  (5 characters)				'<' excluded:   "^I"     (^I is a real <Tab>)			Also see the 'k' flag below.		c	Searching continues at the end of any match at the			cursor position.  When not present searching continues			one character from the cursor position.  With 'c'			"abababababab" only gets three matches when repeating			"/abab", without 'c' there are five matches.		d	Using "./" in the 'tags' option doesn't mean to use			the tags file relative to the current file, but the			tags file in the current directory.		e	When executing a register with ":@r", always add a			<CR> to the last line, also when the register is not			linewise.  If this flag is not present, the register			is not linewise and the last line does not end in a			<CR>, then the last line is put on the command-line			and can be edited before hitting <CR>.		E	It is an error when using "y", "d", "c", "g~", "gu" or			"gU" on an Empty region.  The operators only work when			at least one character is to be operate on.  Example:			This makes "y0" fail in the first column.		f	When included, a ":read" command with a file name			argument will set the file name for the current buffer,			if the current buffer doesn't have a file name yet.		F	When included, a ":write" command with a file name			argument will set the file name for the current			buffer, if the current buffer doesn't have a file name			yet.		j	When joining lines, only add two spaces after a '.',			not after '!' or '?'.  Also see 'joinspaces'.		J	A |sentence| has to be followed by two spaces after			the '.', '!' or '?'. A <Tab> is not recognized as			white space.		k	Disable the recognition of raw key codes in			mappings, abbreviations, and the "to" part of menu			commands.  For example, if <Key> sends ^[OA (where ^[			is <Esc>), the command ":map X ^[OA" results in X			being mapped to:				'k' included:   "^[OA"   (3 characters)				'k' excluded:   "<Key>"  (one key code)			Also see the '<' flag above.		K	Don't wait for a key code to complete when it is			halfway a mapping.  This breaks mapping <F1><F1> when			only part of the second <F1> has been read.  It			enables cancelling the mapping by typing <F1><Esc>.		l	Backslash in a [] range in a search pattern is taken			literally, only "\]" is special  See |/[]|			   'l' included: "/[ \t]"  finds <Space>, '\' and 't'			   'l' excluded: "/[ \t]"  finds <Space> and <Tab>		L	When the 'list' option is set, 'wrapmargin',			'textwidth' and Virtual replace mode (see |gR|) count			a <Tab> as two characters, instead of the normal			behavior of a <Tab>.		m	When included, a showmatch will always wait half a			second.  When not included, a showmatch will wait half			a second or until a character is typed.  |'showmatch'|		o	Line offset to search command is not remembered for			next search.		O	Don't complain if a file is being overwritten, even			when it didn't exist when editing it.  This is a			protection agains a file unexpectedly created by			someone else.  Vi didn't complain about this.		p	Vi compatible Lisp indenting.  When not present, a			slightly better algorithm is used.		r	Redo ("." command) uses "/" to repeat a search			command, instead of the actually used search string.		s	Set buffer options when entering the buffer for the			first time.  This is like it is in Vim version 3.0.			And it is the default.  If not present the options are			set when the buffer is created.		S	Set buffer options always when entering a buffer			(except 'readonly', 'fileformat', 'filetype' and			'syntax').  This is the (most) Vi compatible setting.			The options are set to the values in the current			buffer.  When you change an option and go to another			buffer, the value is copied.  Effectively makes the			buffer options global to all buffers.			's'    'S'     copy buffer options			no     no      when buffer created			yes    no      when buffer first entered (default)			 X     yes     each time when buffer entered (vi comp.)		t	Search pattern for the tag command is remembered for			"n" command.  Otherwise Vim only puts the pattern in			the history for search pattern, but doesn't change the			last used search pattern.		u	Undo is Vi compatible.  See |undo-two-ways|.		w	When using "cw" on a blank character, only change one			character and not all blanks until the start of the			next word.		W	Don't overwrite a readonly file.  When omitted, ":w!"			overwrites a readonly file, if possible.		x	<Esc> on the command-line executes the command-line.			The default in Vim is to abandon the command-line,			because <Esc> normally aborts a command.  |c_<Esc>|		y	A yank command can be redone with ".".		$	When making a change to one line, don't redisplay the			line, but put a '$' at the end of the changed text.			The changed text will be overwritten when you type the			new text.  The line is redisplayed if you type any			command that moves the cursor from the insertion			point.		!	When redoing a filter command, use the last used			external command, whatever it was.  Otherwise the last			used -filter- command is used.		*	Use ":*" in the same way as ":@".  When not included,			":*" is an alias for ":'<,'>", select the Visual area.		%	Vi-compatible matching is done for the "%" command.			Does not recognize "#if", "#endif", etc.			Does not recognize "/*" and "*/".			Parens inside single and double quotes are also			counted, causing a string that contains a paren to			disturb the matching.  For example, in a line like			"if (strcmp("foo(", s))" the first paren does not			match the last one.  When this flag is not included,			parens inside single and double quotes are treated			specially.  When matching a paren outside of quotes,			everything inside quotes is ignored.  When matching a			paren inside quotes, it will find the matching one (if			there is one).  This works very well for C programs.						*'cscopeprg'* *'csprg'*'cscopeprg' 'csprg'	string	(default "cscope")			global			{not available when compiled without the |+cscope|			feature}			{not in Vi}	Specifies the command to execute cscope.  See |cscopeprg|.	When this option is set from a |modeline|, while the 'secure' option	is set, you will get a warning message.				*'cscopetag'* *'cst'* *'nocscopetag'* *'nocst'*'cscopetag' 'cst'	boolean (default off)			global			{not available when compiled without the |+cscope|			feature}			{not in Vi}	Use cscope for tag commands.  See |cscope-options|.	NOTE: This option is reset when 'compatible' is set.						*'cscopetagorder'* *'csto'*'cscopetagorder' 'csto'	number	(default 0)			global			{not available when compiled without the |+cscope|			feature}			{not in Vi}	Determines the order in which ":cstag" performs a search.  See	|cscopetagorder|.	NOTE: This option is set to 0 when 'compatible' is set.					*'cscopeverbose'* *'csverb'*					*'nocscopeverbose'* *'nocsverb'*'cscopeverbose' 'csverb' boolean (default off)			global			{not available when compiled without the |+cscope|			feature}			{not in Vi}	Give messages when adding a cscope database.  See |cscopeverbose|.	NOTE: This option is reset when 'compatible' is set.						*'define'* *'def'*'define' 'def'		string	(default "^#\s*define")

⌨️ 快捷键说明

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