Enable automatic save/restore of views when starting/closing vim.

This commit is contained in:
2014-04-12 00:44:15 +02:00
parent 08a9b02a8f
commit 3c509795d4

View File

@@ -254,3 +254,6 @@ nnoremap <C-l> <C-w>l
nnoremap <F3> :NERDTreeToggle<CR>
" Autosave views when closing and restoring when opening again.
autocmd BufWinLeave *.* mkview
autocmd BufWinEnter *.* silent loadview