]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: don't save local options in views
[dotfiles.git] / vim / vimrc
index e17be892f5a6c588efbdaae78565114d51aa7f90..111300a59120aed2acb5cfdd80b0b7467acb1c92 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -12,7 +12,6 @@ set rtp+=$XDG_DATA_HOME/vim/vundle
 call vundle#rc('$XDG_DATA_HOME/vim')
 
 Bundle 'gmarik/vundle'
 call vundle#rc('$XDG_DATA_HOME/vim')
 
 Bundle 'gmarik/vundle'
-Bundle 'wincent/Command-T'
 Bundle 'bling/vim-airline'
 Bundle 'ctrlp.vim'
 Bundle 'fugitive.vim'
 Bundle 'bling/vim-airline'
 Bundle 'ctrlp.vim'
 Bundle 'fugitive.vim'
@@ -87,7 +86,7 @@ endif
 set background=dark             " Dark background, d'uh!
 syntax on
 
 set background=dark             " Dark background, d'uh!
 syntax on
 
-set spelllang=en,de,fr          " list of accepted languages
+set spelllang=en_gb             " list of accepted languages
 set dictionary=spell            " list of dictionary files for keyword completion
 " toggle spell-checking
 map <silent><F10> :set nospell!<CR>:set nospell?<CR>
 set dictionary=spell            " list of dictionary files for keyword completion
 " toggle spell-checking
 map <silent><F10> :set nospell!<CR>:set nospell?<CR>
@@ -193,6 +192,7 @@ nnoremap <silent> <Space> @=(foldlevel('.')?'za':"\<Space>")<CR>
 vnoremap <Space> zf
 
 " save and restore folds
 vnoremap <Space> zf
 
 " save and restore folds
+set viewoptions=folds,cursor    " don't save local options
 autocmd BufWinLeave *.* mkview
 autocmd BufWinEnter *.* silent loadview
 
 autocmd BufWinLeave *.* mkview
 autocmd BufWinEnter *.* silent loadview