feat: add vim maps for visual mode diff

This commit is contained in:
2025-04-28 03:16:52 +02:00
parent c2fb0c3b05
commit 8d1ec154e4
+2
View File
@@ -94,6 +94,8 @@ map <Leader>P "+P
map <Leader>dp :diffput<CR> map <Leader>dp :diffput<CR>
map <Leader>do :diffget<CR> map <Leader>do :diffget<CR>
xmap <Leader>dp :diffput<CR>
xmap <Leader>do :diffget<CR>
nmap <Leader>gd :Gdiffsplit<CR> nmap <Leader>gd :Gdiffsplit<CR>
nmap <Leader>gc :G commit<CR> nmap <Leader>gc :G commit<CR>
nmap <Leader>ga :G commit --amend<CR> nmap <Leader>ga :G commit --amend<CR>