205 current 2025-01-11 04:11:58 25.05.20241217.d3c42f1 6.6.66 *
This commit is contained in:
@@ -14,8 +14,9 @@ local function my_on_attach(bufnr)
|
|||||||
api.config.mappings.default_on_attach(bufnr)
|
api.config.mappings.default_on_attach(bufnr)
|
||||||
|
|
||||||
-- custom mappings
|
-- custom mappings
|
||||||
vim.keymap.set('n', '<C-t>', api.tree.change_root_to_parent, opts('Up'))
|
vim.keymap.set('n', '<C-o>', api.tree.open(), opts('Up'))
|
||||||
vim.keymap.set('n', '?', api.tree.toggle_help, opts('Help'))
|
vim.keymap.set('n', '<C-o>', api.tree.close(), opts('Down'))
|
||||||
|
-- vim.keymap.set('n', '?', api.tree.toggle_help, opts('Help'))
|
||||||
end
|
end
|
||||||
|
|
||||||
require('nvim-tree').setup()
|
require('nvim-tree').setup()
|
||||||
|
|||||||
Reference in New Issue
Block a user