let mapleader = ","
let maplocalleader = ","
+" 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>
map <Leader>sd :set spelllang=de_de<CR>
" Activate syntax coloring.
syntax enable
+" Highlight text longer then 78 characters. Thanks to Tony Mechelynck
+" <antoine.mechelynck@gmail.com> from the Vim mailing list.
+if v:version >= 700
+ 2match Todo /\%>78v./
+else
+ match Todo /\%>78v./
+endif
+
" PLUGIN SETTINGS
" Settings for the NERD commenter.
" Don't create any mappings I don't want to use.
-let NERDCreateDefaultMappings=0
+let NERDCreateDefaultMappings = 0
" Map toggle comment.
map <Leader><Leader> <plug>NERDCommenterToggle