From ba588581ee5f97392add04b9cfd87c833a869bda Mon Sep 17 00:00:00 2001 From: Shidong Wang Date: Sat, 25 Sep 2021 00:41:22 +0800 Subject: [PATCH] fix(nerdtree): fix key binding `Home` and `End` --- config/plugins/nerdtree.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/plugins/nerdtree.vim b/config/plugins/nerdtree.vim index 32af7253e..90edb327d 100644 --- a/config/plugins/nerdtree.vim +++ b/config/plugins/nerdtree.vim @@ -36,6 +36,8 @@ function! s:nerdtreeinit() abort nnoremap :NERDTreeCWD nnoremap :call nerdtree_enter() " nnoremap :silent! exe 'NERDTree' g:NERDTreeFileNode.GetSelected().path.str() + nnoremap :call cursor(2, 1) + nnoremap :call cursor(line('$'), 1) endfunction function! s:paste_to_file_manager() abort