From 21c470c316f27721dc12eb507e8da05492aa53c2 Mon Sep 17 00:00:00 2001 From: Jason Franklin Date: Tue, 14 Nov 2017 08:29:40 -0500 Subject: [PATCH] Have new tabs open as the last tab (with '$') --- lib/nerdtree/opener.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nerdtree/opener.vim b/lib/nerdtree/opener.vim index 974d99d..82a0349 100644 --- a/lib/nerdtree/opener.vim +++ b/lib/nerdtree/opener.vim @@ -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