motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit ea3b4a73155203dd484b62872814a91df39dbf9f (tree)
parent 1de030e2d0919d8e8f6ea15df702e0e42e2e43a4
Author: Tim Pope <code@tpope.net>
Date:   Fri,  2 Sep 2011 14:56:49 -0400

Partial workaround for symlinked .git

Closes #105

Diffstat:
Mplugin/fugitive.vim | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -564,7 +564,7 @@ function! s:Status() abort try Gpedit : wincmd P - nnoremap <buffer> <silent> q :<C-U>bdelete<CR> + nnoremap <buffer> <silent> q :<C-U>bwipe<CR> catch /^fugitive:/ return 'echoerr v:errmsg' endtry @@ -1816,7 +1816,7 @@ function! s:BufReadIndex() nnoremap <buffer> <silent> dv :<C-U>execute <SID>StageDiff('Gvdiff')<CR> nnoremap <buffer> <silent> p :<C-U>execute <SID>StagePatch(line('.'),line('.')+v:count1-1)<CR> xnoremap <buffer> <silent> p :<C-U>execute <SID>StagePatch(line("'<"),line("'>"))<CR> - nnoremap <buffer> <silent> q :<C-U>if bufnr('$') == 1<Bar>quit<Bar>else<Bar>bdelete<Bar>endif<CR> + nnoremap <buffer> <silent> q :<C-U>if bufnr('$') == 1<Bar>quit<Bar>else<Bar>bwipe<Bar>endif<CR> nnoremap <buffer> <silent> R :<C-U>edit<CR> catch /^fugitive:/ return 'echoerr v:errmsg'