mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
parent
e01b88c799
commit
3954537b9e
@ -6700,7 +6700,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
security reasons.
|
security reasons.
|
||||||
|
|
||||||
*'viewoptions'* *'vop'*
|
*'viewoptions'* *'vop'*
|
||||||
'viewoptions' 'vop' string (default: "folds,options,cursor,curdir")
|
'viewoptions' 'vop' string (default: "folds,cursor,curdir")
|
||||||
global
|
global
|
||||||
Changes the effect of the |:mkview| command. It is a comma separated
|
Changes the effect of the |:mkview| command. It is a comma separated
|
||||||
list of words. Each word enables saving and restoring something:
|
list of words. Each word enables saving and restoring something:
|
||||||
|
@ -61,8 +61,8 @@ the differences.
|
|||||||
- 'tags' defaults to "./tags;,tags"
|
- 'tags' defaults to "./tags;,tags"
|
||||||
- 'ttimeoutlen' defaults to 50
|
- 'ttimeoutlen' defaults to 50
|
||||||
- 'ttyfast' is always set
|
- 'ttyfast' is always set
|
||||||
- 'viewoptions' includes "unix,slash"
|
|
||||||
- 'undodir' defaults to ~/.local/share/nvim/undo (|xdg|), auto-created
|
- 'undodir' defaults to ~/.local/share/nvim/undo (|xdg|), auto-created
|
||||||
|
- 'viewoptions' includes "unix,slash", excludes "options"
|
||||||
- 'viminfo' includes "!"
|
- 'viminfo' includes "!"
|
||||||
- 'wildmenu' is enabled
|
- 'wildmenu' is enabled
|
||||||
- 'wildoptions' defaults to "pum,tagfile"
|
- 'wildoptions' defaults to "pum,tagfile"
|
||||||
|
@ -2705,7 +2705,7 @@ return {
|
|||||||
type='string', list='onecomma', scope={'global'},
|
type='string', list='onecomma', scope={'global'},
|
||||||
deny_duplicates=true,
|
deny_duplicates=true,
|
||||||
varname='p_vop',
|
varname='p_vop',
|
||||||
defaults={if_true={vi="folds,options,cursor,curdir"}}
|
defaults={if_true={vi="folds,cursor,curdir"}}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
-- Alias for "shada".
|
-- Alias for "shada".
|
||||||
|
@ -21,6 +21,7 @@ set undodir^=.
|
|||||||
set wildoptions=
|
set wildoptions=
|
||||||
set startofline
|
set startofline
|
||||||
set sessionoptions+=options
|
set sessionoptions+=options
|
||||||
|
set viewoptions+=options
|
||||||
set switchbuf=
|
set switchbuf=
|
||||||
|
|
||||||
" Unmap Nvim default mappings.
|
" Unmap Nvim default mappings.
|
||||||
|
Loading…
Reference in New Issue
Block a user