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.
|
||||
|
||||
*'viewoptions'* *'vop'*
|
||||
'viewoptions' 'vop' string (default: "folds,options,cursor,curdir")
|
||||
'viewoptions' 'vop' string (default: "folds,cursor,curdir")
|
||||
global
|
||||
Changes the effect of the |:mkview| command. It is a comma separated
|
||||
list of words. Each word enables saving and restoring something:
|
||||
|
@ -61,8 +61,8 @@ the differences.
|
||||
- 'tags' defaults to "./tags;,tags"
|
||||
- 'ttimeoutlen' defaults to 50
|
||||
- 'ttyfast' is always set
|
||||
- 'viewoptions' includes "unix,slash"
|
||||
- 'undodir' defaults to ~/.local/share/nvim/undo (|xdg|), auto-created
|
||||
- 'viewoptions' includes "unix,slash", excludes "options"
|
||||
- 'viminfo' includes "!"
|
||||
- 'wildmenu' is enabled
|
||||
- 'wildoptions' defaults to "pum,tagfile"
|
||||
|
@ -2705,7 +2705,7 @@ return {
|
||||
type='string', list='onecomma', scope={'global'},
|
||||
deny_duplicates=true,
|
||||
varname='p_vop',
|
||||
defaults={if_true={vi="folds,options,cursor,curdir"}}
|
||||
defaults={if_true={vi="folds,cursor,curdir"}}
|
||||
},
|
||||
{
|
||||
-- Alias for "shada".
|
||||
|
@ -21,6 +21,7 @@ set undodir^=.
|
||||
set wildoptions=
|
||||
set startofline
|
||||
set sessionoptions+=options
|
||||
set viewoptions+=options
|
||||
set switchbuf=
|
||||
|
||||
" Unmap Nvim default mappings.
|
||||
|
Loading…
Reference in New Issue
Block a user