mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
remove some old code left over for the ! mapping
This commit is contained in:
@@ -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|
|
gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi|
|
||||||
s.......Open selected file in a new vsplit.......................|NERDTree-s|
|
s.......Open selected file in a new vsplit.......................|NERDTree-s|
|
||||||
gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs|
|
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|
|
O.......Recursively open the selected directory..................|NERDTree-O|
|
||||||
x.......Close the current nodes parent...........................|NERDTree-x|
|
x.......Close the current nodes parent...........................|NERDTree-x|
|
||||||
X.......Recursively close all children of the current node.......|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
|
The key combo for this mapping is always "g" + NERDTreeMapOpenVSplit (see
|
||||||
|NERDTree-s|).
|
|NERDTree-s|).
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
|
||||||
*NERDTree-!*
|
|
||||||
Default key: !
|
|
||||||
Map option: NERDTreeMapExecute
|
|
||||||
Applies to: files.
|
|
||||||
|
|
||||||
Executes the selected file, prompting for arguments first.
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
*NERDTree-O*
|
*NERDTree-O*
|
||||||
Default key: O
|
Default key: O
|
||||||
|
|||||||
@@ -105,7 +105,6 @@ call s:initVariable("g:NERDTreeMapChdir", "cd")
|
|||||||
call s:initVariable("g:NERDTreeMapCloseChildren", "X")
|
call s:initVariable("g:NERDTreeMapCloseChildren", "X")
|
||||||
call s:initVariable("g:NERDTreeMapCloseDir", "x")
|
call s:initVariable("g:NERDTreeMapCloseDir", "x")
|
||||||
call s:initVariable("g:NERDTreeMapDeleteBookmark", "D")
|
call s:initVariable("g:NERDTreeMapDeleteBookmark", "D")
|
||||||
call s:initVariable("g:NERDTreeMapExecute", "!")
|
|
||||||
call s:initVariable("g:NERDTreeMapMenu", "m")
|
call s:initVariable("g:NERDTreeMapMenu", "m")
|
||||||
call s:initVariable("g:NERDTreeMapHelp", "?")
|
call s:initVariable("g:NERDTreeMapHelp", "?")
|
||||||
call s:initVariable("g:NERDTreeMapJumpFirstChild", "K")
|
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:NERDTreeMapPreviewSplit .": preview split\n"
|
||||||
let @h=@h."\" ". g:NERDTreeMapOpenVSplit .": open vsplit\n"
|
let @h=@h."\" ". g:NERDTreeMapOpenVSplit .": open vsplit\n"
|
||||||
let @h=@h."\" ". g:NERDTreeMapPreviewVSplit .": preview 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."\"\n\" ----------------------------\n"
|
||||||
let @h=@h."\" Directory node mappings~\n"
|
let @h=@h."\" Directory node mappings~\n"
|
||||||
@@ -3399,8 +3397,6 @@ function! s:bindMappings()
|
|||||||
exec "nnoremap <silent> <buffer> ". g:NERDTreeMapOpenVSplit ." :call <SID>openEntrySplit(1,0)<cr>"
|
exec "nnoremap <silent> <buffer> ". g:NERDTreeMapOpenVSplit ." :call <SID>openEntrySplit(1,0)<cr>"
|
||||||
exec "nnoremap <silent> <buffer> ". g:NERDTreeMapPreviewVSplit ." :call <SID>previewNode(2)<cr>"
|
exec "nnoremap <silent> <buffer> ". g:NERDTreeMapPreviewVSplit ." :call <SID>previewNode(2)<cr>"
|
||||||
|
|
||||||
exec "nnoremap <silent> <buffer> ". g:NERDTreeMapExecute ." :call <SID>executeNode()<cr>"
|
|
||||||
|
|
||||||
exec "nnoremap <silent> <buffer> ". g:NERDTreeMapOpenRecursively ." :call <SID>openNodeRecursively()<cr>"
|
exec "nnoremap <silent> <buffer> ". g:NERDTreeMapOpenRecursively ." :call <SID>openNodeRecursively()<cr>"
|
||||||
|
|
||||||
exec "nnoremap <silent> <buffer> ". g:NERDTreeMapUpdirKeepOpen ." :call <SID>upDir(1)<cr>"
|
exec "nnoremap <silent> <buffer> ". g:NERDTreeMapUpdirKeepOpen ." :call <SID>upDir(1)<cr>"
|
||||||
|
|||||||
Reference in New Issue
Block a user