From 8fc72fd352394a6e183bb5fd9bc8a3bae6987dde Mon Sep 17 00:00:00 2001 From: marty Date: Wed, 26 Aug 2009 16:44:28 +1200 Subject: [PATCH] remove s:executeNode since it is now unused --- plugin/NERD_tree.vim | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 80ace9f..b6439c6 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -3605,26 +3605,6 @@ function! s:displayHelp() call s:centerView() endfunction -" FUNCTION: s:executeNode() {{{2 -function! s:executeNode() - let treenode = s:TreeFileNode.GetSelected() - if treenode ==# {} || treenode.path.isDirectory - call s:echo("Select an executable file node first" ) - else - echo "NERDTree executor\n" . - \ "==========================================================\n". - \ "Complete the command to execute (add arguments etc): \n\n" - let cmd = treenode.path.strForOS(1) - let cmd = input(':!', cmd . ' ') - - if cmd != '' - exec ':!' . cmd - else - call s:echo("command aborted") - endif - endif -endfunction - " FUNCTION: s:handleMiddleMouse() {{{2 function! s:handleMiddleMouse() let curNode = s:TreeFileNode.GetSelected()