nvim: Add grammarous keybindings
This commit is contained in:
@ -187,6 +187,12 @@ nnoremap U :redo<Enter>
|
|||||||
nnoremap <leader>a :CocAction<Enter>
|
nnoremap <leader>a :CocAction<Enter>
|
||||||
nnoremap <leader>r :CocCommand document.renameCurrentWord<Enter>
|
nnoremap <leader>r :CocCommand document.renameCurrentWord<Enter>
|
||||||
|
|
||||||
|
" grammarous
|
||||||
|
nmap <leader>gc :GrammarousCheck<Enter>
|
||||||
|
nmap <leader>gq <Plug>(grammarous-close-info-window) <Plug>(grammarous-reset)
|
||||||
|
nmap <leader>gn <Plug>(grammarous-move-to-next-error) <Plug>(grammarous-open-info-window)
|
||||||
|
nmap <leader>gN <Plug>(grammarous-move-to-previous-error) <Plug>(grammarous-open-info-window)
|
||||||
|
|
||||||
" vim-smooth-scroll hotkey overrides
|
" vim-smooth-scroll hotkey overrides
|
||||||
noremap <silent> <c-u> :call smooth_scroll#up(&scroll, 0, 3)<CR>
|
noremap <silent> <c-u> :call smooth_scroll#up(&scroll, 0, 3)<CR>
|
||||||
noremap <silent> <c-d> :call smooth_scroll#down(&scroll, 0, 3)<CR>
|
noremap <silent> <c-d> :call smooth_scroll#down(&scroll, 0, 3)<CR>
|
||||||
|
|||||||
Reference in New Issue
Block a user