Added a toggle for the spellcheck list to F8

This commit is contained in:
Kevin 2014-04-03 23:00:34 -04:00
parent 25667a2b05
commit 716dc8693c
2 changed files with 169 additions and 160 deletions

3
.gitmodules vendored
View file

@ -58,3 +58,6 @@
[submodule "vim/bundle/ReplaceWithRegister"] [submodule "vim/bundle/ReplaceWithRegister"]
path = vim/bundle/ReplaceWithRegister path = vim/bundle/ReplaceWithRegister
url = https://github.com/vim-scripts/ReplaceWithRegister.git url = https://github.com/vim-scripts/ReplaceWithRegister.git
[submodule "vim/bundle/SpellCheck"]
path = vim/bundle/SpellCheck
url = https://github.com/vim-scripts/SpellCheck.git

View file

@ -40,6 +40,7 @@
" <F4> | (A) -> toggle all folds " <F4> | (A) -> toggle all folds
" <F5> | (A) -> toggle spell check " <F5> | (A) -> toggle spell check
" <F6> | (A) -> toggle syntax checking " <F6> | (A) -> toggle syntax checking
" <F8> | (A) -> enable spellcheck + toggle list of spelling errors
" <F9> | (A) -> toggle the gundo undo history sidebar " <F9> | (A) -> toggle the gundo undo history sidebar
" <Shift-F9> | (A) -> toggle the tagbar sidebar " <Shift-F9> | (A) -> toggle the tagbar sidebar
" <Ctrl-F9> | (A) -> toggle the location/error list " <Ctrl-F9> | (A) -> toggle the location/error list
@ -188,6 +189,11 @@
xnoremap <silent><expr> <F6> '<Esc>:SyntasticToggleMode<CR>v' xnoremap <silent><expr> <F6> '<Esc>:SyntasticToggleMode<CR>v'
inoremap <silent><expr> <F6> '<C-O>:SyntasticToggleMode<CR>' inoremap <silent><expr> <F6> '<C-O>:SyntasticToggleMode<CR>'
"bindings to trigger spellcheck
nnoremap <silent><expr> <F8> ':UpdateAndSpellCheck<CR>:call ToggleQuickfixList()<CR>'
xnoremap <silent><expr> <F8> '<Esc>:UpdateAndSpellCheck<CR>:call ToggleQuickfixList()<CR>'
inoremap <silent><expr> <F8> '<Esc>:UpdateAndSpellCheck<CR>:call ToggleQuickfixList()<CR>'
"bindings to trigger the gundo undo history "bindings to trigger the gundo undo history
nnoremap <silent><expr> <F9> ':GundoToggle<CR>:echo "Undo history sidebar toggled"<CR>' nnoremap <silent><expr> <F9> ':GundoToggle<CR>:echo "Undo history sidebar toggled"<CR>'
xnoremap <silent><expr> <F9> '<Esc>:GundoToggle<CR>v' xnoremap <silent><expr> <F9> '<Esc>:GundoToggle<CR>v'