vimrc: update viewoptions

This commit is contained in:
Rob Watson 2021-02-04 08:38:27 +01:00
parent 3741b10146
commit a20b4b88c8
1 changed files with 2 additions and 0 deletions

2
vimrc
View File

@ -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>