X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.vimrc;h=49702499dac2c1078a8f7ec7776b7e819ed4ffe1;hb=6ce04dd5e334434023621e8f109b97ea5fe02faa;hp=19b63289e72cb20ea35bebd0771015fc71ac503c;hpb=b21d57e9dcf5334ae082213f0c423a30f16f8b3f;p=dotfiles.git diff --git a/.vimrc b/.vimrc index 19b6328..4970249 100644 --- a/.vimrc +++ b/.vimrc @@ -856,5 +856,7 @@ if v:version >= 800 call timer_start(500, 'SetLazyRedraw') endif +autocmd VimLeave * call writefile([getcwd()], expand('~/tmp/vim/cwd')) + " This has to go to the very end of ~/.vimrc to allow reading the .vimrc set secure " safer working with script files in the current directory