diff options
| author | Teddy Wing | 2018-01-20 17:20:06 +0100 | 
|---|---|---|
| committer | Teddy Wing | 2018-01-20 17:20:06 +0100 | 
| commit | ff222d0a8cd72f5bdc1b2be5e6c207e31be4ad10 (patch) | |
| tree | 6e543ea0b0cc2edf48c2c502a4209b77979f9323 | |
| parent | a4d9cd7491b7b63318318a86c5e64df86fb4e56a (diff) | |
| download | dotvim-ff222d0a8cd72f5bdc1b2be5e6c207e31be4ad10.tar.bz2 | |
vimrc: Add <leader>sp mapping to toggle spell checking
One frustration that happens every so often is having to manually type
`:set spe<Tab><CR>` or `:set nosp<Tab><CR>` to turn spell checking on
and off. It's not often that I need to toggle spell checking, but when I
do, I notice it as being bothersome. I think it's finally time to add a
mapping for this.
| -rw-r--r-- | vimrc | 6 | 
1 files changed, 6 insertions, 0 deletions
| @@ -388,6 +388,9 @@  "   2017.11.28:  "       * Log statistics of RSpec commands to gather usage data.  " +"   2018.01.10: +"       * Add <leader>sp mapping to toggle spell checking. +"  " Pathogen @@ -753,6 +756,9 @@ nnoremap <leader>cf :call system('pbcopy', expand('%'))<cr>  " Save the current session to a file  nnoremap <leader>mk :mksession! vimsession<cr> +" Toggle spell checking +nnoremap <leader>sp :set spell! spell?<cr> +  " Project Settings | 
