aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-31 16:40:43 +0100
committerMateja <mail@matejamaric.com>2020-10-31 16:40:43 +0100
commitc5f36f518f23fde74b90f8e67a87abe53acca1f2 (patch)
treeee6822e0e26bafe31c340d134c7618e9c7439ebd /.config/nvim
parentddd4c5c2ed2ad5feb64b3910a5dced25f2864b12 (diff)
downloaddotfiles-c5f36f518f23fde74b90f8e67a87abe53acca1f2.tar.gz
dotfiles-c5f36f518f23fde74b90f8e67a87abe53acca1f2.zip
Hit leader s to fix spelling mistakes.
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/plug-config/coc.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/nvim/plug-config/coc.vim b/.config/nvim/plug-config/coc.vim
index 9c23439..2bfa8fb 100644
--- a/.config/nvim/plug-config/coc.vim
+++ b/.config/nvim/plug-config/coc.vim
@@ -136,7 +136,7 @@ set statusline^=%{coc#status()}%{get(b:,'coc_current_function','')}
" Mappings for CoCList
" Show all diagnostics.
-nnoremap <silent><nowait> <space>a :<C-u>CocList diagnostics<cr>
+nnoremap <silent><nowait> <space>d :<C-u>CocList diagnostics<cr>
" Manage extensions.
nnoremap <silent><nowait> <space>e :<C-u>CocList extensions<cr>
" Show commands.
@@ -152,6 +152,9 @@ nnoremap <silent><nowait> <space>k :<C-u>CocPrev<CR>
" Resume latest coc list.
nnoremap <silent><nowait> <space>p :<C-u>CocListResume<CR>
+" Spelling...
+nmap <leader>s :CocAction<cr>
+
" Explorer
nmap <space>e :CocCommand explorer<CR>
nmap <space>f :CocCommand explorer --preset floating<CR>