diff --git a/doc/NERD_tree.txt b/doc/NERD_tree.txt index 7deadef..6d6cbec 100644 --- a/doc/NERD_tree.txt +++ b/doc/NERD_tree.txt @@ -210,7 +210,6 @@ i.......Open selected file in a split window.....................|NERDTree-i| gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi| s.......Open selected file in a new vsplit.......................|NERDTree-s| gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs| -!.......Execute the current file.................................|NERDTree-!| O.......Recursively open the selected directory..................|NERDTree-O| x.......Close the current nodes parent...........................|NERDTree-x| X.......Recursively close all children of the current node.......|NERDTree-X| @@ -337,14 +336,6 @@ The same as |NERDTree-s| except that the cursor is not moved. The key combo for this mapping is always "g" + NERDTreeMapOpenVSplit (see |NERDTree-s|). ------------------------------------------------------------------------------- - *NERDTree-!* -Default key: ! -Map option: NERDTreeMapExecute -Applies to: files. - -Executes the selected file, prompting for arguments first. - ------------------------------------------------------------------------------ *NERDTree-O* Default key: O diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index f88a62a..0ba5a29 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -105,7 +105,6 @@ call s:initVariable("g:NERDTreeMapChdir", "cd") call s:initVariable("g:NERDTreeMapCloseChildren", "X") call s:initVariable("g:NERDTreeMapCloseDir", "x") call s:initVariable("g:NERDTreeMapDeleteBookmark", "D") -call s:initVariable("g:NERDTreeMapExecute", "!") call s:initVariable("g:NERDTreeMapMenu", "m") call s:initVariable("g:NERDTreeMapHelp", "?") call s:initVariable("g:NERDTreeMapJumpFirstChild", "K") @@ -2755,7 +2754,6 @@ function! s:dumpHelp() let @h=@h."\" ". g:NERDTreeMapPreviewSplit .": preview split\n" let @h=@h."\" ". g:NERDTreeMapOpenVSplit .": open vsplit\n" let @h=@h."\" ". g:NERDTreeMapPreviewVSplit .": preview vsplit\n" - let @h=@h."\" ". g:NERDTreeMapExecute.": Execute file\n" let @h=@h."\"\n\" ----------------------------\n" let @h=@h."\" Directory node mappings~\n" @@ -3399,8 +3397,6 @@ function! s:bindMappings() exec "nnoremap ". g:NERDTreeMapOpenVSplit ." :call openEntrySplit(1,0)" exec "nnoremap ". g:NERDTreeMapPreviewVSplit ." :call previewNode(2)" - exec "nnoremap ". g:NERDTreeMapExecute ." :call executeNode()" - exec "nnoremap ". g:NERDTreeMapOpenRecursively ." :call openNodeRecursively()" exec "nnoremap ". g:NERDTreeMapUpdirKeepOpen ." :call upDir(1)"