]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Don't use mkview and loadview; use modelines instead.
authorSimon Ruderich <simon@ruderich.org>
Tue, 17 Feb 2009 13:09:22 +0000 (14:09 +0100)
committerSimon Ruderich <simon@ruderich.org>
Tue, 17 Feb 2009 13:09:22 +0000 (14:09 +0100)
vimrc

diff --git a/vimrc b/vimrc
index e44b0217d50d37d2431069f16286d27d3532b8b7..1f14e5f23944c073c9da799994db26a210b793dc 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -89,9 +89,6 @@ set listchars=trail:-
 
 " EDITOR SETTINGS
 
-" Don't use any modelines.
-set nomodeline
-
 " When completing paths first use the longest path then display a list of all
 " possible files.
 set wildmode=longest,list
@@ -169,8 +166,3 @@ endif
 let NERDCreateDefaultMappings = 0
 " Map toggle comment.
 map <Leader><Leader> <plug>NERDCommenterToggle
-
-
-" Automatically save and the load the file state (stored in ~/.vim/view).
-autocmd BufWrite * mkview
-autocmd BufRead  * loadview