aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VERSION4
-rw-r--r--vim/vimrc20
2 files changed, 10 insertions, 14 deletions
diff --git a/VERSION b/VERSION
index 1256afde..53ebef03 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-tejr dotfiles v8.21.1
-Tue, 28 Apr 2020 01:14:50 +0000
+tejr dotfiles v8.22.0
+Wed, 29 Apr 2020 01:40:23 +0000
diff --git a/vim/vimrc b/vim/vimrc
index 7e8806ce..6ae05ff0 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -138,21 +138,17 @@ command! -bang -bar -complete=dir -nargs=1 CreatePath
" Using a logical but non-default location for viminfo has the nice benefit of
" preventing command and search history from getting clobbered when something
" runs Vim without using this vimrc, because such an instance will safely
-" write its own history to the default viminfo path instead. It also
-" contributes to our aim of having everything related to the Vim runtime
-" process in one dedicated directory tree.
+" write its own history to the default viminfo path instead.
"
-" The normal method of specifying the path to the viminfo file, as applied
-" here, is an addendum of the path to the 'viminfo' option with an ‘n’ prefix.
-" Vim v8.1.716 introduced a nicer way to set this with an option named
-" 'viminfofile', but that’s still too new for us to use just yet.
-"
-" <https://github.com/vim/vim/releases/tag/v8.1.0716>
+" This is the portable way to specify the path to the viminfo file, as an
+" addendum of the path to the 'viminfo' option with an ‘n’ prefix. Vim
+" v8.1.716 introduced a way to set this with an option named 'viminfofile',
+" but I don't see a reason to use that.
"
if xdg#['cache']['home'] !=# '' && path#Create(xdg#['cache']['home'])
- execute 'set viminfo+='.option#Escape(
- \ 'n'.xdg#['cache']['home'].'/viminfo'
- \)
+ execute 'set viminfo+='.option#Escape(
+ \ 'n'.xdg#['cache']['home'].'/viminfo'
+ \)
endif
" Speaking of recorded data in viminfo files, the default Vim limit of a mere