parent
c8070aec7e
commit
e7c7149434
@ -34,7 +34,7 @@ that are part of Git repositories).
|
|||||||
window. The following maps, which work on the cursor
|
window. The following maps, which work on the cursor
|
||||||
line file where sensible, are provided:
|
line file where sensible, are provided:
|
||||||
|
|
||||||
<F1> this help
|
g? show this help
|
||||||
<C-N> next file
|
<C-N> next file
|
||||||
<C-P> previous file
|
<C-P> previous file
|
||||||
<CR> |:Gedit|
|
<CR> |:Gedit|
|
||||||
@ -178,6 +178,7 @@ that are part of Git repositories).
|
|||||||
along to git-blame. The following maps, which work on
|
along to git-blame. The following maps, which work on
|
||||||
the cursor line commit where sensible, are provided:
|
the cursor line commit where sensible, are provided:
|
||||||
|
|
||||||
|
g? show this help
|
||||||
A resize to end of author column
|
A resize to end of author column
|
||||||
C resize to end of commit column
|
C resize to end of commit column
|
||||||
D resize to end of date/time column
|
D resize to end of date/time column
|
||||||
|
@ -1705,6 +1705,8 @@ function! s:Blame(bang,line1,line2,count,args) abort
|
|||||||
setlocal norelativenumber
|
setlocal norelativenumber
|
||||||
endif
|
endif
|
||||||
execute "vertical resize ".(s:linechars('.\{-\}\ze\s\+\d\+)')+1)
|
execute "vertical resize ".(s:linechars('.\{-\}\ze\s\+\d\+)')+1)
|
||||||
|
nnoremap <buffer> <silent> <F1> :help fugitive-:Gblame<CR>
|
||||||
|
nnoremap <buffer> <silent> g? :help fugitive-:Gblame<CR>
|
||||||
nnoremap <buffer> <silent> q :exe substitute(bufwinnr(b:fugitive_blamed_bufnr).' wincmd w<Bar>'.bufnr('').'bdelete','^-1','','')<CR>
|
nnoremap <buffer> <silent> q :exe substitute(bufwinnr(b:fugitive_blamed_bufnr).' wincmd w<Bar>'.bufnr('').'bdelete','^-1','','')<CR>
|
||||||
nnoremap <buffer> <silent> gq :exe substitute(bufwinnr(b:fugitive_blamed_bufnr).' wincmd w<Bar>'.bufnr('').'bdelete<Bar>if expand("%:p") =~# "^fugitive:[\\/][\\/]"<Bar>Gedit<Bar>endif','^-1','','')<CR>
|
nnoremap <buffer> <silent> gq :exe substitute(bufwinnr(b:fugitive_blamed_bufnr).' wincmd w<Bar>'.bufnr('').'bdelete<Bar>if expand("%:p") =~# "^fugitive:[\\/][\\/]"<Bar>Gedit<Bar>endif','^-1','','')<CR>
|
||||||
nnoremap <buffer> <silent> <CR> :<C-U>exe <SID>BlameCommit("exe 'norm q'<Bar>edit")<CR>
|
nnoremap <buffer> <silent> <CR> :<C-U>exe <SID>BlameCommit("exe 'norm q'<Bar>edit")<CR>
|
||||||
@ -2143,6 +2145,7 @@ function! s:BufReadIndex() abort
|
|||||||
xnoremap <buffer> <silent> p :<C-U>execute <SID>StagePatch(line("'<"),line("'>"))<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>bdelete<Bar>endif<CR>
|
||||||
nnoremap <buffer> <silent> R :<C-U>edit<CR>
|
nnoremap <buffer> <silent> R :<C-U>edit<CR>
|
||||||
|
nnoremap <buffer> <silent> g? :help fugitive-:Gstatus<CR>
|
||||||
nnoremap <buffer> <silent> <F1> :help fugitive-:Gstatus<CR>
|
nnoremap <buffer> <silent> <F1> :help fugitive-:Gstatus<CR>
|
||||||
catch /^fugitive:/
|
catch /^fugitive:/
|
||||||
return 'echoerr v:errmsg'
|
return 'echoerr v:errmsg'
|
||||||
|
Loading…
Reference in New Issue
Block a user