aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 544b8eb..a62bd61 100644
--- a/vimrc
+++ b/vimrc
@@ -258,6 +258,10 @@
" * Add command mode mappings to allow movement forward and backward by
" word. OS X Terminal doesn't handle the Shift & Control mappings.
"
+" 2014.11.12:
+" * Set sessionoptions-=options so that options and mappings are not
+" saved in vim sessions.
+"
" Pathogen
@@ -305,6 +309,9 @@ set grepprg=ack " Use ack instead of grep
set ignorecase " Case insensitive
set smartcase " Case insensitive unless an uppercase character is entered
+" Don't persist options & mappings in saved sessions
+set sessionoptions-=options
+
" Store swap files in .vim/ directory
" http://stackoverflow.com/a/15317146
set backupdir=~/.vim/backup/backup//