mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-02 09:05:00 +02:00
feat(git): <leader>gb
for Git Blame Line
This commit is contained in:
parent
32eacde793
commit
9e3af1070f
2 changed files with 19 additions and 0 deletions
|
@ -127,6 +127,7 @@ map("n", "<leader>ub", function() LazyVim.toggle("background", false, {"light",
|
|||
-- lazygit
|
||||
map("n", "<leader>gg", function() LazyVim.lazygit( { cwd = LazyVim.root.git() }) end, { desc = "Lazygit (Root Dir)" })
|
||||
map("n", "<leader>gG", function() LazyVim.lazygit() end, { desc = "Lazygit (cwd)" })
|
||||
map("n", "<leader>gb", LazyVim.lazygit.blame_line, { desc = "Git Blame Line" })
|
||||
|
||||
map("n", "<leader>gf", function()
|
||||
local git_path = vim.api.nvim_buf_get_name(0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue