X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vimrc;h=825aa4e33faab82ce710552c3e5b48cb1384ec51;hb=d319377b1890b64314310c48b0aa64bfd8685496;hp=3f94aefb7f20fe2677880a59f7b2eeb17540567b;hpb=cbf6334225a37daa7e89cdd9797358acef12e68d;p=config%2Fdotfiles.git diff --git a/vimrc b/vimrc index 3f94aef..825aa4e 100644 --- a/vimrc +++ b/vimrc @@ -542,6 +542,11 @@ if exists('+spell') nnoremap sn :set nospell nnoremap se :set spell spelllang=en_us nnoremap sd :set spell spelllang=de_de +" If no spell support is available, these mappings do nothing. +else + nmap sn + nmap se + nmap sd endif " Add semicolon to the end of the line. Thanks to