mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:10:04 +08:00
fix(nerdtree): fix nerdtree configuration
close https://github.com/SpaceVim/SpaceVim/issues/4810
This commit is contained in:
parent
ce65aaadc8
commit
11e5a4f4b3
@ -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> <CR> :<C-u>silent! exe 'NERDTree' g:NERDTreeFileNode.GetSelected().path.str()<CR>
|
||||||
nnoremap <silent><buffer> <Home> :call cursor(2, 1)<cr>
|
nnoremap <silent><buffer> <Home> :call cursor(2, 1)<cr>
|
||||||
nnoremap <silent><buffer> <End> :call cursor(line('$'), 1)<cr>
|
nnoremap <silent><buffer> <End> :call cursor(line('$'), 1)<cr>
|
||||||
|
try
|
||||||
doautocmd User NerdTreeInit
|
doautocmd User NerdTreeInit
|
||||||
|
catch
|
||||||
|
endtry
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:paste_to_file_manager() abort
|
function! s:paste_to_file_manager() abort
|
||||||
|
Loading…
Reference in New Issue
Block a user