diff --git a/nix/home/neovim/neovim.nix b/nix/home/neovim/neovim.nix index fae391a..c9598fa 100644 --- a/nix/home/neovim/neovim.nix +++ b/nix/home/neovim/neovim.nix @@ -76,6 +76,10 @@ -- load plugins + require("gitsigns").setup() + vim.keymap.set("n", "gp", ":Gitsigns preview_hunk", {}) + vim.keymap.set("n", "gb", ":Gitsigns toggle_current_line_blame", {}) + -- 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