diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-06 14:40:26 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-06 14:40:26 +1200 |
commit | ee4f0c50e9e8a99435607326f14985625b9129f9 (patch) | |
tree | 172d74b7326b6526c590fd5be1d26214912c4a97 /vim/vimrc | |
parent | Adjust layout of 'formatoptions' (diff) | |
download | dotfiles-ee4f0c50e9e8a99435607326f14985625b9129f9.tar.gz dotfiles-ee4f0c50e9e8a99435607326f14985625b9129f9.zip |
Remove overkill environment variable
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -173,11 +173,10 @@ endif " Keep the viminfo file in the home Vim directory, mostly to stop history " getting clobbered when something runs Vim without using this vimrc -let $VIMINFO = $MYVIM.'/cache/viminfo' if exists('+viminfofile') " Use new option method if we can (v8.1.716) - set viminfofile=$VIMINFO + set viminfofile=$MYVIM/cache/viminfo else " Resort to clunkier method with 'viminfo' option flag - execute 'set viminfo+=n'.vimrc#EscapeSet($VIMINFO) + execute 'set viminfo+=n'.vimrc#EscapeSet($MYVIM.'/cache/viminfo') endif " Let me move beyond buffer text in visual block mode |