mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-11 21:03:53 -05:00
Map R to reload :Gstatus
This commit is contained in:
@@ -1706,6 +1706,7 @@ function! s:BufReadIndex()
|
|||||||
endif
|
endif
|
||||||
setlocal ro noma nomod nomodeline bufhidden=delete
|
setlocal ro noma nomod nomodeline bufhidden=delete
|
||||||
nnoremap <buffer> <silent> q :<C-U>bdelete<CR>
|
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> 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> i :<C-U>let b:fugitive_display_format -= 1<Bar>exe <SID>BufReadIndex()<CR>
|
||||||
nnoremap <buffer> <silent> D :<C-U>execute <SID>StageDiff()<CR>
|
nnoremap <buffer> <silent> D :<C-U>execute <SID>StageDiff()<CR>
|
||||||
|
|||||||
Reference in New Issue
Block a user