diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-03-08 21:02:35 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-03-08 21:02:35 -0500 |
commit | 077735dec4b2e2b0dbfea1e662303ce4ac2e2574 (patch) | |
tree | 2bee482105805d349c8b4d601494dc12008cbf9d | |
parent | 1f1fac254dd0da17b8b723ea175406c7dae3c986 (diff) | |
download | conf-077735dec4b2e2b0dbfea1e662303ce4ac2e2574.tar.gz conf-077735dec4b2e2b0dbfea1e662303ce4ac2e2574.zip |
use S instead of F11 for spell checking
since i don't really have F keys anymore
-rw-r--r-- | vimrc | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -19,9 +19,8 @@ let g:maplocalleader = ';' " M to :make {{{ noremap <silent>M :<C-u>make<CR><CR><C-W>k " }}} -" F11 for spell checking {{{ -noremap <silent><expr><F11> &spell ? ":\<C-u>setlocal nospell\<CR>" : ":\<C-u>setlocal spell\<CR>" -inoremap <silent><expr><F11> &spell ? "\<C-o>:setlocal nospell\<CR>" : "\<C-o>:setlocal spell\<CR>" +" S for spell checking {{{ +noremap <silent><expr>S &spell ? ":\<C-u>setlocal nospell\<CR>" : ":\<C-u>setlocal spell\<CR>" " }}} " editing binary files {{{ nnoremap <C-B> :%!xxd<CR> |