[neovim] added gitsigns plugin

This commit is contained in:
Simon Cornet 2024-04-07 00:20:53 +02:00
parent 5c091b8b86
commit fb158f7d41

View File

@ -76,6 +76,10 @@
-- load plugins
require("gitsigns").setup()
vim.keymap.set("n", "<leader>gp", ":Gitsigns preview_hunk<CR>", {})
vim.keymap.set("n", "<leader>gb", ":Gitsigns toggle_current_line_blame<CR>", {})
-- neo-tree
require("neo-tree").setup({
filesystem = {
@ -148,6 +152,7 @@
# plugins
plugins = with pkgs.vimPlugins; [
gitsigns-nvim
neo-tree-nvim
nvim-treesitter
telescope-nvim