mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
Revert change to tab opening method (#766)
Previously the "t" and "T" mappings were altered to open new tabs at the end of the tab line. This commit reverts that change.
This commit is contained in:
@@ -75,7 +75,7 @@ function! s:Opener._gotoTargetWin()
|
||||
elseif self._where == 'h'
|
||||
split
|
||||
elseif self._where == 't'
|
||||
$tabnew
|
||||
tabnew
|
||||
endif
|
||||
else
|
||||
call self._checkToCloseTree(1)
|
||||
@@ -85,7 +85,7 @@ function! s:Opener._gotoTargetWin()
|
||||
elseif self._where == 'h'
|
||||
call self._newSplit()
|
||||
elseif self._where == 't'
|
||||
$tabnew
|
||||
tabnew
|
||||
elseif self._where == 'p'
|
||||
call self._previousWindow()
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user