]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vimrc
Add move settings for normal mode like in mutt.
[config/dotfiles.git] / vimrc
diff --git a/vimrc b/vimrc
index 8e64ca0204701c964fc05040a4532fcff0cead7c..631c84405a266078608de28c8243b7b2c124bc88 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -102,17 +102,15 @@ if v:version >= 700
 endif
 
 
-" MAPPINGS
+" MAPPINGS (except for plugins, see PLUGIN SETTINGS below)
 
 " Use "," as my mapleader.
 let mapleader = ","
 let maplocalleader = ","
 
-" Settings for the NERD commenter.
-" Don't create any mappings I don't want to use.
-let NERDCreateDefaultMappings=0
-" Map toggle comment.
-map <Leader><Leader> <plug>NERDCommenterToggle
+" Use <space> to move down a page and - to move up one like in mutt.
+nnoremap <Space> <C-f>
+nnoremap - <C-b>
 
 " Maps to change spell language between English and German.
 map <Leader>se :set spelllang=en_us<CR>
@@ -150,6 +148,15 @@ endif
 syntax enable
 
 
+" PLUGIN SETTINGS
+
+" Settings for the NERD commenter.
+" Don't create any mappings I don't want to use.
+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