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