mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-23 05:57:25 +08:00
commit
9e54c48086
|
@ -1086,8 +1086,8 @@ NERDTreeAddKeyMap({options}) *NERDTreeAddKeyMap()*
|
||||||
call NERDTreeAddKeyMap({
|
call NERDTreeAddKeyMap({
|
||||||
\ 'key': 'foo',
|
\ 'key': 'foo',
|
||||||
\ 'callback': 'NERDTreeCDHandler',
|
\ 'callback': 'NERDTreeCDHandler',
|
||||||
\ 'quickhelpText': 'echo full path of current node' })
|
\ 'quickhelpText': 'echo full path of current node',
|
||||||
\ 'scope': 'DirNode'
|
\ 'scope': 'DirNode' })
|
||||||
|
|
||||||
function! NERDTreeCDHandler(dirnode)
|
function! NERDTreeCDHandler(dirnode)
|
||||||
call a:dirnode.changeToDir()
|
call a:dirnode.changeToDir()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user