[neovim] added gitsigns plugin
This commit is contained in:
parent
5c091b8b86
commit
fb158f7d41
@ -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
|
||||
|
Reference in New Issue
Block a user