mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-09 23:06:38 -05:00
Added a toggle for the spellcheck list to F8
This commit is contained in:
parent
25667a2b05
commit
716dc8693c
2 changed files with 169 additions and 160 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -58,3 +58,6 @@
|
|||
[submodule "vim/bundle/ReplaceWithRegister"]
|
||||
path = vim/bundle/ReplaceWithRegister
|
||||
url = https://github.com/vim-scripts/ReplaceWithRegister.git
|
||||
[submodule "vim/bundle/SpellCheck"]
|
||||
path = vim/bundle/SpellCheck
|
||||
url = https://github.com/vim-scripts/SpellCheck.git
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
" <F4> | (A) -> toggle all folds
|
||||
" <F5> | (A) -> toggle spell check
|
||||
" <F6> | (A) -> toggle syntax checking
|
||||
" <F8> | (A) -> enable spellcheck + toggle list of spelling errors
|
||||
" <F9> | (A) -> toggle the gundo undo history sidebar
|
||||
" <Shift-F9> | (A) -> toggle the tagbar sidebar
|
||||
" <Ctrl-F9> | (A) -> toggle the location/error list
|
||||
|
@ -188,6 +189,11 @@
|
|||
xnoremap <silent><expr> <F6> '<Esc>:SyntasticToggleMode<CR>v'
|
||||
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
|
||||
nnoremap <silent><expr> <F9> ':GundoToggle<CR>:echo "Undo history sidebar toggled"<CR>'
|
||||
xnoremap <silent><expr> <F9> '<Esc>:GundoToggle<CR>v'
|
||||
|
|
Loading…
Reference in a new issue