Don't rely on tty.
[profile.git] / .vimrc
diff --git a/.vimrc b/.vimrc
index 28d060e..1886971 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -621,6 +621,9 @@ version 5.4
 " Reuse windows when using sbuffer.
 se switchbuf=useopen
 
+" Allow persistent variable saving for localvimrc.
+se viminfo+=!
+
 " Do we have Unicode?
 fun! Has_Unicode() "{{{2
   if ! has('multi_byte')
@@ -1257,6 +1260,9 @@ let g:bufExplorerSplitOutPathName=0
 let g:NERDSpaceDelims=1
 endif "}}}1
 
+" localvimrc.
+let g:localvimrc_persistent=1
+
 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 " Handle options only available in Vim 7.2 and above.
 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""