From 10ec69df642dc442041fd0aac257d9babdea7eca Mon Sep 17 00:00:00 2001 From: Calin Iorgulescu Date: Fri, 15 Jun 2012 16:35:42 +0200 Subject: [PATCH] GitStatus: '-' no longer makes the status window fullscreen --- plugin/git.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/git.vim b/plugin/git.vim index a88329b..15294a3 100644 --- a/plugin/git.vim +++ b/plugin/git.vim @@ -110,7 +110,7 @@ function! GitStatus() call OpenGitBuffer(git_output) setlocal filetype=git-status nnoremap :GitAdd :call RefreshGitStatus() - nnoremap - :silent !git reset HEAD -- =expand(''):call RefreshGitStatus() + nnoremap - :call GitDoCommand('reset '. 'HEAD ' . expand('')):call RefreshGitStatus() endfunction function! s:RefreshGitStatus()