fix: tree show hints, cheatsheet

This commit is contained in:
Anup Sebastian 2025-10-30 21:24:35 -05:00
parent ad93bbc748
commit 3f444e3892
2 changed files with 89 additions and 0 deletions

View file

@ -27,6 +27,18 @@ return {
},
},
-- Global window mappings (apply to all Neo-tree windows)
window = {
mappings = {
-- Disable <Space> for toggle_node to allow <leader> (Space) to work
['<space>'] = 'none',
-- Use <CR> (Enter) to toggle nodes instead (already default, but making it explicit)
['<cr>'] = 'toggle_node',
-- Use 'za' (vim fold toggle) as alternative for toggle node
['za'] = 'toggle_node',
},
},
filesystem = {
-- Follow the current file in the tree
follow_current_file = {