about summary refs log tree commit diff
path: root/fnl
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-06-02 16:19:13 +0900
committersefidel <contact@sefidel.net>2024-06-02 16:19:13 +0900
commit27ff8d9f53066351cc6d27b8db5d88a17b068aae (patch)
tree77ddc1fe54b545de99b34c156d2088cc9793dc3b /fnl
parent4923f7f734ef326e99f943815cae37fb57a61d88 (diff)
downloadnvimrc-27ff8d9f53066351cc6d27b8db5d88a17b068aae.tar.gz
nvimrc-27ff8d9f53066351cc6d27b8db5d88a17b068aae.zip
feat(keymaps): add gitsigns blame keybinds
Diffstat (limited to 'fnl')
-rw-r--r--fnl/nvrc/keymaps.fnl2
1 files changed, 2 insertions, 0 deletions
diff --git a/fnl/nvrc/keymaps.fnl b/fnl/nvrc/keymaps.fnl
index 15bb6e8..76d2f30 100644
--- a/fnl/nvrc/keymaps.fnl
+++ b/fnl/nvrc/keymaps.fnl
@@ -23,6 +23,8 @@
 
 (map! [n :silent] :<leader>sl ":set nu! | :set rnu! <cr>")
 (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>/ ((. (. (. (require :Comment.api) :toggle)
                                     :linewise)