about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-06-02 16:19:30 +0900
committersefidel <contact@sefidel.net>2024-06-02 16:19:30 +0900
commit71cdf5f7b87b89227501946427ad75d243d65e49 (patch)
tree4c0b7cca7524ab04adccd53cb8f373103347a741
parent27ff8d9f53066351cc6d27b8db5d88a17b068aae (diff)
downloadnvimrc-71cdf5f7b87b89227501946427ad75d243d65e49.tar.gz
nvimrc-71cdf5f7b87b89227501946427ad75d243d65e49.zip
feat(keymaps): add split diff view keymap
-rw-r--r--fnl/nvrc/keymaps.fnl1
1 files changed, 1 insertions, 0 deletions
diff --git a/fnl/nvrc/keymaps.fnl b/fnl/nvrc/keymaps.fnl
index 76d2f30..e8838c2 100644
--- a/fnl/nvrc/keymaps.fnl
+++ b/fnl/nvrc/keymaps.fnl
@@ -25,6 +25,7 @@
 (map! [n] :<leader>si (vim.lsp.inlay_hint.enable (not (vim.lsp.inlay_hint.is_enabled))))
 (map! [n] :<leader>sb ((. (require :gitsigns) :toggle_current_line_blame)))
 (map! [n] :<leader>sc ((. (require :gitsigns) :blame_line) {:full true}))
+(map! [n :silent] :<leader>sd ":Gvdiffsplit<cr>")
 
 (map! [n :silent] :<leader>/ ((. (. (. (require :Comment.api) :toggle)
                                     :linewise)