1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 02:00:05 +08:00

fix(neo-tree): fix default key binding

This commit is contained in:
wsdjeg 2023-06-11 17:48:40 +08:00
parent 6f9259df83
commit 81e5579af3

View File

@ -166,11 +166,11 @@ require('neo-tree').setup({
window = { window = {
mappings = { mappings = {
['<bs>'] = 'navigate_up', ['<bs>'] = 'navigate_up',
['.'] = 'set_root', ['<Cr>'] = 'set_root',
['<C-h>'] = function(state) ['<C-h>'] = function(state)
vim.cmd('call SpaceVim#plugins#projectmanager#current_root()') vim.cmd('call SpaceVim#plugins#projectmanager#current_root()')
end, end,
['H'] = 'toggle_hidden', ['.'] = 'toggle_hidden',
['/'] = 'fuzzy_finder', ['/'] = 'fuzzy_finder',
['<Space>'] = 'none', ['<Space>'] = 'none',
['D'] = 'fuzzy_finder_directory', ['D'] = 'fuzzy_finder_directory',