From: Simon Ruderich Date: Tue, 12 May 2009 15:15:32 +0000 (+0200) Subject: vimrc: Add mapping to disable spell checking. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=fc98743dbf7f11cac6d9f9a1c1b9bb57138397e9;hp=871051b22ee37e1c84b8a8debd8cd38ba71d78a2;p=config%2Fdotfiles.git vimrc: Add mapping to disable spell checking. --- diff --git a/vimrc b/vimrc index c9539b6..b0b4b72 100644 --- a/vimrc +++ b/vimrc @@ -113,9 +113,10 @@ set listchars=trail:- nnoremap nnoremap - -" Maps to change spell language between English and German. -map se :set spelllang=en_us -map sd :set spelllang=de_de +" Maps to change spell language between English and German and disable it. +map sn :set nospell +map se :set spell spelllang=en_us +map sd :set spell spelllang=de_de " Add semicolon to the end of the line. Thanks to " http://www.van-laarhoven.org/vim/.vimrc for this idea and godlygeek in #vim