update the fs menu to use the new api

This commit is contained in:
Martin Grenfell 2009-07-21 19:26:48 +12:00
parent f0290b08dd
commit e9d6a7209c

View File

@ -15,11 +15,11 @@ if exists("g:loaded_nerdtree_fs_menu")
endif endif
let g:loaded_nerdtree_fs_menu = 1 let g:loaded_nerdtree_fs_menu = 1
call NERDTreeAddMenuItem('(a)dd a childnode', 'a', 'NERDTreeAddNode') call NERDTreeAddMenuItem({'text': '(a)dd a childnode', 'shortcut': 'a', 'callback': 'NERDTreeAddNode'})
call NERDTreeAddMenuItem('(m)ove the curent node', 'm', 'NERDTreeMoveNode') call NERDTreeAddMenuItem({'text': '(m)ove the curent node', 'shortcut': 'm', 'callback': 'NERDTreeMoveNode'})
call NERDTreeAddMenuItem('(d)elete the curent node', 'd', 'NERDTreeDeleteNode') call NERDTreeAddMenuItem({'text': '(d)elete the curent node', 'shortcut': 'd', 'callback': 'NERDTreeDeleteNode'})
if g:NERDTreePath.CopyingSupported() if g:NERDTreePath.CopyingSupported()
call NERDTreeAddMenuItem('(c)copy the current node', 'c', 'NERDTreeCopyNode') call NERDTreeAddMenuItem({'text': '(c)copy the current node', 'shortcut': 'c', 'callback': 'NERDTreeCopyNode'})
endif endif
"FUNCTION: s:echo(msg){{{1 "FUNCTION: s:echo(msg){{{1