Refactor gitsigns plugin to git.lua and add more shortcuts
This commit is contained in:
parent
2f76742b1c
commit
017099cfe0
2 changed files with 7 additions and 3 deletions
|
@ -52,9 +52,6 @@ vim.keymap.set("n", "<leader>fb", builtin.buffers, { desc = "Open Editors" })
|
|||
-- Configure NeoTree (FS View)
|
||||
vim.keymap.set("n", "<leader>ft", ":Neotree filesystem toggle left<CR>")
|
||||
|
||||
-- Configure Git
|
||||
vim.keymap.set("n", "<leader>gd", ":Gitsigns preview_hunk<CR>", { desc = "Git Diff" })
|
||||
vim.keymap.set("n", "<leader>gb", ":Gitsigns toggle_current_line_blame<CR>", { desc = "Git Blame" })
|
||||
|
||||
-- Configure Copilot
|
||||
--vim.keymap.set("n", "<leader>cp", ":Copilot panel<CR>", { desc = "Open Copilot Panel" })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue