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>
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