vimrc: update viewoptions
This commit is contained in:
parent
3741b10146
commit
a20b4b88c8
2
vimrc
2
vimrc
|
@ -82,6 +82,8 @@ augroup AutoSaveFolds
|
|||
autocmd BufWinLeave,BufLeave,BufWritePost,BufHidden,QuitPre ?* nested silent! mkview!
|
||||
autocmd BufWinEnter ?* silent! loadview
|
||||
augroup end
|
||||
" But, don't remember the current directory for a given file:
|
||||
set viewoptions-=curdir
|
||||
|
||||
" Key mappings:
|
||||
nmap <silent> ,/ :nohlsearch<CR>
|
||||
|
|
Loading…
Reference in New Issue