Fix :0Gread to operate at very top of file
This commit is contained in:
parent
43e752dcfd
commit
26edba9dec
@ -78,7 +78,8 @@ that are part of Git repositories).
|
|||||||
:Gpedit [revision] |:pedit| a |fugitive-revision|
|
:Gpedit [revision] |:pedit| a |fugitive-revision|
|
||||||
|
|
||||||
*fugitive-:Gread*
|
*fugitive-:Gread*
|
||||||
:Gread [revision] |:read| a |fugitive-revision|
|
:[range]Gread [revision]
|
||||||
|
|:read| a |fugitive-revision|
|
||||||
|
|
||||||
*fugitive-:Gread!*
|
*fugitive-:Gread!*
|
||||||
:Gread! [revision] Empty the buffer and |:read| a |fugitive-revision|.
|
:Gread! [revision] Empty the buffer and |:read| a |fugitive-revision|.
|
||||||
|
@ -653,7 +653,7 @@ call s:command("-bar -bang -nargs=? -complete=customlist,s:EditComplete Gpedit
|
|||||||
call s:command("-bar -bang -nargs=? -complete=customlist,s:EditComplete Gsplit :execute s:Edit('split<bang>',<f-args>)")
|
call s:command("-bar -bang -nargs=? -complete=customlist,s:EditComplete Gsplit :execute s:Edit('split<bang>',<f-args>)")
|
||||||
call s:command("-bar -bang -nargs=? -complete=customlist,s:EditComplete Gvsplit :execute s:Edit('vsplit<bang>',<f-args>)")
|
call s:command("-bar -bang -nargs=? -complete=customlist,s:EditComplete Gvsplit :execute s:Edit('vsplit<bang>',<f-args>)")
|
||||||
call s:command("-bar -bang -nargs=? -complete=customlist,s:EditComplete Gtabedit :execute s:Edit('tabedit<bang>',<f-args>)")
|
call s:command("-bar -bang -nargs=? -complete=customlist,s:EditComplete Gtabedit :execute s:Edit('tabedit<bang>',<f-args>)")
|
||||||
call s:command("-bar -bang -nargs=? -range -complete=customlist,s:EditComplete Gread :execute s:Edit('<line1>,<line2>read<bang>',<f-args>)")
|
call s:command("-bar -bang -nargs=? -count -complete=customlist,s:EditComplete Gread :execute s:Edit((!<count> && <line1> ? '' : <count>).'read<bang>',<f-args>)")
|
||||||
|
|
||||||
" }}}1
|
" }}}1
|
||||||
" Gwrite {{{1
|
" Gwrite {{{1
|
||||||
|
Loading…
Reference in New Issue
Block a user