From 381b275bc97231a12537731cfd1874263273d7dd Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 28 Aug 2012 13:25:13 -0400 Subject: [PATCH] Fix in diff below :Gstatus I'll admit I can't remember the original purpose of this code. Closes #66. --- plugin/fugitive.vim | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 2c8727a..578124f 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -1357,9 +1357,6 @@ function! s:diffoff_all(dir) if exists('b:git_dir') && b:git_dir ==# a:dir call s:diffoff() endif - if exists('restorewinnr') - wincmd p - endif endif endfor endfunction