-" When completing paths first use the longest path then display a list of all
-" possible files.
-set wildmode=longest,list
-
-
-" MAPPINGS
-
-" 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
+" Maps to change spell language between English and German and disable it.
+if v:version >= 700
+ map <Leader>sn :set nospell<CR>
+ map <Leader>se :set spell spelllang=en_us<CR>
+ map <Leader>sd :set spell spelllang=de_de<CR>
+endif