From 27ff8d9f53066351cc6d27b8db5d88a17b068aae Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 2 Jun 2024 16:19:13 +0900 Subject: feat(keymaps): add gitsigns blame keybinds --- fnl/nvrc/keymaps.fnl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fnl/nvrc') 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] :sl ":set nu! | :set rnu! ") (map! [n] :si (vim.lsp.inlay_hint.enable (not (vim.lsp.inlay_hint.is_enabled)))) +(map! [n] :sb ((. (require :gitsigns) :toggle_current_line_blame))) +(map! [n] :sc ((. (require :gitsigns) :blame_line) {:full true})) (map! [n :silent] :/ ((. (. (. (require :Comment.api) :toggle) :linewise) -- cgit 1.4.1