nvim: add pulgin to return to last location
This commit is contained in:
parent
a7356cabbe
commit
1da7930115
2 changed files with 7 additions and 0 deletions
|
@ -54,6 +54,7 @@ in
|
||||||
yamlfmt
|
yamlfmt
|
||||||
];
|
];
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
|
nvim-lastplace
|
||||||
catppuccin-nvim
|
catppuccin-nvim
|
||||||
cmp-nvim-lsp
|
cmp-nvim-lsp
|
||||||
cmp_luasnip
|
cmp_luasnip
|
||||||
|
|
|
@ -432,3 +432,9 @@ orgmode.setup({
|
||||||
})
|
})
|
||||||
|
|
||||||
require("gitsigns").setup()
|
require("gitsigns").setup()
|
||||||
|
|
||||||
|
require("nvim-lastplace").setup({
|
||||||
|
lastplace_ignore_buftype = { "quickfix", "nofile", "help" },
|
||||||
|
lastplace_ignore_filetype = { "gitcommit", "gitrebase", "svn", "hgcommit" },
|
||||||
|
lastplace_open_folds = true,
|
||||||
|
})
|
||||||
|
|
Loading…
Reference in a new issue