chore(home-manager): rework configuration
This commit is contained in:
parent
69493a7d84
commit
a8c87655ac
5 changed files with 65 additions and 18 deletions
|
@ -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'})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue