1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 07:00:04 +08:00

fix(nerdtree): fix nerdtree configuration

close https://github.com/SpaceVim/SpaceVim/issues/4810
This commit is contained in:
wsdjeg 2023-04-15 18:26:13 +08:00
parent ce65aaadc8
commit 11e5a4f4b3

View File

@ -38,7 +38,10 @@ function! s:nerdtreeinit() abort
" nnoremap <silent><buffer> <CR> :<C-u>silent! exe 'NERDTree' g:NERDTreeFileNode.GetSelected().path.str()<CR>
nnoremap <silent><buffer> <Home> :call cursor(2, 1)<cr>
nnoremap <silent><buffer> <End> :call cursor(line('$'), 1)<cr>
doautocmd User NerdTreeInit
try
doautocmd User NerdTreeInit
catch
endtry
endfunction
function! s:paste_to_file_manager() abort