The Refined Fetch
Added:
- centre the target line in the window after jumping
- autocommand API for fetch events (
BufFetchPosPre
andBufFetchPosPost
) - API for retrieving the known specs (
fetch#specs
) - API for setting the cursor position (
fetch#setpos
– mainly groundwork for future extensions)
Fixed:
- autocommands triggering on file names starting with a spec-like pattern
- possible issues when force editing the non-spec'ed file with
!
- files on the arglist not
argedit
ed when Vim is compiled-listcmds
- some glitches in the README
Changed:
- fetch triggers on
BufNewFile
instead ofWinEnter
andTabEnter
(besides triggering onBufWinEnter
as always); this should reduce the number of autocommand events processed.
Removed:
Nothing