1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:10:04 +08:00
SpaceVim/config/plugins/neo-tree.vim
2024-07-05 23:11:59 +08:00

11 lines
312 B
VimL

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