mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:40:03 +08:00
fix(nerdtree): fix key binding Home
and End
This commit is contained in:
parent
3aecd6c31b
commit
ba588581ee
@ -36,6 +36,8 @@ function! s:nerdtreeinit() abort
|
||||
nnoremap <silent><buffer> <C-Home> :<C-u>NERDTreeCWD<CR>
|
||||
nnoremap <silent><buffer> <CR> :<C-u>call <SID>nerdtree_enter()<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> <End> :call cursor(line('$'), 1)<cr>
|
||||
endfunction
|
||||
|
||||
function! s:paste_to_file_manager() abort
|
||||
|
Loading…
Reference in New Issue
Block a user