X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vimrc;h=825aa4e33faab82ce710552c3e5b48cb1384ec51;hb=da7b1cd63c5ed062102aecdbff66ac195a22d61f;hp=3f94aefb7f20fe2677880a59f7b2eeb17540567b;hpb=7692f9da9c5437cfd3f8636b9c539d6cab5c8201;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