remove NERDTree.previousBuf() and related code

We were using this when closing a wintree - to go to the previous
buffer. Not sure why we weren't just using `:bprev` ...
This commit is contained in:
Martin Grenfell
2016-10-19 13:28:44 +01:00
parent 4477078170
commit 2027ae03db
3 changed files with 8 additions and 15 deletions

View File

@@ -181,11 +181,6 @@ function! s:NERDTree.PathFilters()
return s:NERDTree._PathFilters
endfunction
"FUNCTION: s:NERDTree.previousBuf() {{{1
function! s:NERDTree.previousBuf()
return self._previousBuf
endfunction
"FUNCTION: s:NERDTree.render() {{{1
"A convenience function - since this is called often
function! s:NERDTree.render()