diff options
author | sefidel <contact@sefidel.net> | 2024-06-02 16:19:13 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-06-02 16:19:13 +0900 |
commit | 27ff8d9f53066351cc6d27b8db5d88a17b068aae (patch) | |
tree | 77ddc1fe54b545de99b34c156d2088cc9793dc3b | |
parent | 4923f7f734ef326e99f943815cae37fb57a61d88 (diff) | |
download | nvimrc-27ff8d9f53066351cc6d27b8db5d88a17b068aae.tar.gz nvimrc-27ff8d9f53066351cc6d27b8db5d88a17b068aae.zip |
feat(keymaps): add gitsigns blame keybinds
-rw-r--r-- | fnl/nvrc/keymaps.fnl | 2 |
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) |