Update inputs

This commit is contained in:
Paul-Henri Froidmont 2024-12-16 21:00:23 +01:00
parent 48a3f42b30
commit f39b5f76b1
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
9 changed files with 136 additions and 109 deletions

View file

@ -16,6 +16,3 @@ map("n", "<leader>wh", "<C-w>h", { desc = "Go to Left Window", remap = true })
-- File
map("n", "<leader>fs", "<cmd>w<cr>", { desc = "Save File" })
-- Buffer
map("n", "<leader>bk", LazyVim.ui.bufremove, { desc = "Delete Buffer" })

View file

@ -11,4 +11,10 @@ return {
defaults = { path_display = { "truncate" } },
},
},
{
'folke/snacks.nvim',
keys = {
{ "<leader>bk", function() Snacks.bufdelete() end, desc = "Delete Buffer" },
},
},
}

View file

@ -24,8 +24,9 @@ in
vimAlias = true;
vimdiffAlias = true;
withNodeJs = true;
plugins =
(with pkgs.vimPlugins; [
plugins = (
with pkgs.vimPlugins;
[
# base distro
LazyVim
conform-nvim
@ -49,6 +50,10 @@ in
which-key-nvim
nvim-web-devicons
mini-nvim
mini-ai
mini-comment
mini-icons
mini-pairs
noice-nvim
nui-nvim
nvim-notify
@ -57,6 +62,7 @@ in
nvim-navic
dressing-nvim
aerial-nvim
snacks-nvim
# project management
project-nvim
@ -115,6 +121,7 @@ in
nvim-dap
nvim-dap-ui
nvim-dap-virtual-text
one-small-step-for-vimkind
# neotest
neotest
@ -128,14 +135,9 @@ in
lazy-nvim
lazydev-nvim
vim-startuptime
])
++ [
# File manager
(pkgs.vimUtils.buildVimPlugin {
name = "yazi.nvim";
src = inputs.vim-yazi;
})
];
yazi-nvim
]
);
extraPackages = with pkgs; [
gcc # needed for nvim-treesitter