From fc98743dbf7f11cac6d9f9a1c1b9bb57138397e9 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 12 May 2009 17:15:32 +0200 Subject: [PATCH] vimrc: Add mapping to disable spell checking. --- vimrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.45.2