aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-10 00:41:24 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-10 00:41:24 +1200
commita94bd206f8587b59386443bffb7a2a2f11c8b8c5 (patch)
treea4d06fdfce91525cee52a28c3aa09f301fe95e78
parentFix some spelling and grammar errors (diff)
downloaddotfiles-a94bd206f8587b59386443bffb7a2a2f11c8b8c5.tar.gz
dotfiles-a94bd206f8587b59386443bffb7a2a2f11c8b8c5.zip
Use expansion $ prefix for env vars consistently
-rw-r--r--vim/vimrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/vimrc b/vim/vimrc
index e8a6fec4..6164b9fb 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -56,7 +56,7 @@ scriptencoding utf-8
" location for Vim-related files.
"
" I think the absence of a variable like this is a glaring omission from Vim.
-" We have $VIM, $VIMRUNTIME, and $MYVIMRC, so why is there not an environment
+" We have VIM, VIMRUNTIME, and MYVIMRC, so why is there not an environment
" variable for the user's Vim runtime directory? It is a mystery.
"
" We'll use the first path specified in 'runtimepath' as a default value.
@@ -223,8 +223,8 @@ if exists('##SourceCmd')
endif
endif
-" Keep the viminfo file in a cache subdirectory of $MYVIM, creating that
-" subdirectory first if necessary.
+" Keep the viminfo file in a cache subdirectory of the user runtime directory,
+" creating that subdirectory first if necessary.
"
" Using this non-default location for viminfo has the nice benefit of
" preventing command and search history from getting clobbered when something