feat: add vim maps for visual mode diff

This commit is contained in:
Oscar Wallberg
2025-04-28 03:16:52 +02:00
parent 22000d0191
commit 922b02c4ea
+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>