From a20b4b88c8d619f978a4bd4581f334e235e81e6c Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Thu, 4 Feb 2021 08:38:27 +0100 Subject: [PATCH] vimrc: update viewoptions --- vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vimrc b/vimrc index 1566630..e0ba84b 100644 --- a/vimrc +++ b/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 ,/ :nohlsearch