nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit e9d6a7209ce80d042356f2eff79203f305140d8c
parent f0290b08ddd4719b5b0c9129d2566d317f597b9b
Author: Martin Grenfell <martin_grenfell@msn.com>
Date:   Tue, 21 Jul 2009 19:26:48 +1200

update the fs menu to use the new api

Diffstat:
Mftplugin/nerdtree_fs_menu.vim | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ftplugin/nerdtree_fs_menu.vim b/ftplugin/nerdtree_fs_menu.vim
@@ -15,11 +15,11 @@ if exists("g:loaded_nerdtree_fs_menu")
 endif
 let g:loaded_nerdtree_fs_menu = 1
 
-call NERDTreeAddMenuItem('(a)dd a childnode', 'a', 'NERDTreeAddNode')
-call NERDTreeAddMenuItem('(m)ove the curent node', 'm', 'NERDTreeMoveNode')
-call NERDTreeAddMenuItem('(d)elete the curent node', 'd', 'NERDTreeDeleteNode')
+call NERDTreeAddMenuItem({'text': '(a)dd a childnode', 'shortcut': 'a', 'callback': 'NERDTreeAddNode'})
+call NERDTreeAddMenuItem({'text': '(m)ove the curent node', 'shortcut': 'm', 'callback': 'NERDTreeMoveNode'})
+call NERDTreeAddMenuItem({'text': '(d)elete the curent node', 'shortcut': 'd', 'callback': 'NERDTreeDeleteNode'})
 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
 
 "FUNCTION: s:echo(msg){{{1