Compare commits

...

2 Commits

Author SHA1 Message Date
109d1b46a6 nvim: Add grammarous keybindings 2022-04-11 16:48:29 +02:00
efa3e34d02 Use difftastic for git diff 2022-04-11 16:48:03 +02:00
2 changed files with 9 additions and 0 deletions

View File

@ -187,6 +187,12 @@ nnoremap U :redo<Enter>
nnoremap <leader>a :CocAction<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
noremap <silent> <c-u> :call smooth_scroll#up(&scroll, 0, 3)<CR>
noremap <silent> <c-d> :call smooth_scroll#down(&scroll, 0, 3)<CR>

View File

@ -21,5 +21,8 @@
reflog = delta
show = delta
[diff]
external = difft
[interactive]
diffFilter = delta --color-only