From 3b97fe6f553c236ea614a4ae24fc848d799b8eec Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 25 Apr 2015 21:38:46 +0200 Subject: vim: Add vimspell toggle keybinding --- vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vim/vimrc') diff --git a/vim/vimrc b/vim/vimrc index f80cf09..26ed2d5 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -64,6 +64,9 @@ set linebreak " Don’t wrap lines in the middle of a word map nmap / :nohlsearch +" Toggle spell checking +nmap s :set spell! + cmap w!! w !sudo tee % >/dev/null " Tabs are 4 spaces wide -- cgit v1.2.3-70-g09d2