diff options
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -242,6 +242,17 @@ if has#('persistent_undo') call path#Create($MYVIM.'/undo') endif +" Set up a directory for files generated by :mkview. To date, I think I have +" used this twice in my life, but may as well be consistent with the other +" directories of this type. This isn't a comma-separated list like the others +" ('backupdir', 'directory', 'spell', 'undodir') +" +if has#('mksession') + execute 'set viewdir=' + \.option#Escape(option#item#Escape($MYVIM.'/view')) + call path#Create($MYVIM.'/view') +endif + " Now that we have a bit more confidence in our runtime environment, set up " all of the filetype detection, plugin, and indent hooks. " |