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 2aae91c3edaf6de53d6ae4384488d71dc54b7d65 (tree)
parent 0d3419ecc4f9464a2b4bb32a4456e1b054bbe458
Author: Tim Pope <code@tpope.net>
Date:   Fri, 19 Aug 2011 14:30:32 -0400

Map R to reload :Gstatus

Diffstat:
Mplugin/fugitive.vim | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -1706,6 +1706,7 @@ function! s:BufReadIndex() endif setlocal ro noma nomod nomodeline bufhidden=delete nnoremap <buffer> <silent> q :<C-U>bdelete<CR> + nnoremap <buffer> <silent> R :<C-U>edit<CR> nnoremap <buffer> <silent> a :<C-U>let b:fugitive_display_format += 1<Bar>exe <SID>BufReadIndex()<CR> nnoremap <buffer> <silent> i :<C-U>let b:fugitive_display_format -= 1<Bar>exe <SID>BufReadIndex()<CR> nnoremap <buffer> <silent> D :<C-U>execute <SID>StageDiff()<CR>