let s:WIN = SpaceVim#api#import('vim#window') nnoremap NeoTreeFocusToggle augroup vfinit au! autocmd FileType neo-tree call s:nvim_tree_init() augroup END function! s:nvim_tree_init() abort nnoremap . :lua require'nvim-tree.actions'.on_keypress('toggle_dotfiles') endfunction lua require('config.neo-tree')