Permalink
Browse files

Map ,s to toggle spellcheck.

  • Loading branch information...
1 parent f053e87 commit 3ca99e95a129d07f7364538d8c19d1919f089e96 @jgm committed Jan 26, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 vimrc
View
3 vimrc
@@ -152,6 +152,9 @@ map <C-Left> <C-W><Left>
" S skips preceding whitespace and puts cursor on last non-whitespace char
:map S :call search('\S','bceW')<cr>
+" toggle spelling
+:map <Leader>s :set invspell<cr>
+
" If for aesthetic reasons you want a left margin in writing text...
function! GutterLeft()
set number

0 comments on commit 3ca99e9

Please sign in to comment.