1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-22 03:21:30 +01:00

vim/shortcuts: update GitGutter Next/Previous hunks mappings

This commit is contained in:
bretello 2020-12-08 14:50:30 +01:00
parent 12b8cd8360
commit 8f599cc5cc
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -55,8 +55,8 @@ nnoremap <leader>gpf :Git push --force-with-lease<CR>
"" Gitutter "" Gitutter
nnoremap <leader>u :GitGutterBufferToggle<CR> nnoremap <leader>u :GitGutterBufferToggle<CR>
nnoremap <leader>L :GitGutterLineHighlightsToggle<CR> nnoremap <leader>L :GitGutterLineHighlightsToggle<CR>
nmap <leader>hn <Plug>(GitGutterNextHunk) nnoremap <leader>hn <Plug>(GitGutterNextHunk)
nmap <leader>hp <Plug>(GitGutterPrevHunk) nnoremap <leader>hp <Plug>(GitGutterPrevHunk)
"" Ale "" Ale
nmap <silent> <C-k> <Plug>(ale_previous_wrap) nmap <silent> <C-k> <Plug>(ale_previous_wrap)