chore(home-manager): rework configuration

This commit is contained in:
Yorick Barbanneau 2025-04-18 00:34:43 +02:00
parent 69493a7d84
commit a8c87655ac
No known key found for this signature in database
GPG key ID: 4447A19BBEDB8DBA
5 changed files with 65 additions and 18 deletions

View file

@ -3,14 +3,14 @@ neotree.setup({
close_if_last_window = true,
filesystem = {
filtered_items = {
-- when true, they will just be displayed differently
-- when true, they will just be displayed differently
-- than normal items
visible = false,
hide_dotfiles = false,
hide_gitignored = true,
},
follow_current_file = {
-- follow file in current buffer even iof the file is
-- follow file in current buffer even iof the file is
-- loaded while tree is open
enabled = true,
-- do not autoclose expanded dirs
@ -18,8 +18,3 @@ neotree.setup({
},
}
})
vim.keymap.set('n', '<leader>nc', ':Neotree close<cr>', {desc='Neotree [c]lose'})
vim.keymap.set('n', '<leader>nf', ':Neotree focus filesystem<cr>', {desc='Neotree [f]ocus'})
vim.keymap.set('n', '<leader>nb', ':Neotree focus buffers<cr>', {desc='Neotree Nvim [b]uffers'})
vim.keymap.set('n', '<leader>ng', ':Neotree focus git_status<cr>', {desc='Neotree [g]it status'})