aboutsummaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc3
1 files changed, 3 insertions, 0 deletions
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 <space> <Leader>
nmap <silent> <Leader>/ :nohlsearch<CR>
+" Toggle spell checking
+nmap <silent> <Leader>s :set spell!<CR>
+
cmap w!! w !sudo tee % >/dev/null
" Tabs are 4 spaces wide