ce8ddf37fc
This commit tweaks the existing autocommand for files matching `index{,.lock}` to: - Fire BufReadPre and BufReadPost on either side of the read operation for files not in a `.git/` and already extant. - Fire BufNewFile for new files not in a `.git`. - Add `keepalt` to the `read`, thus allowing alternative file operations such as Ctrl-^ to work correctly. Has been tested against: - BufReadPost,BufNewFile autocommands - A basic test case for alternate files where one is named `index` Closes https://github.com/tpope/vim-fugitive/issues/834 Closes https://github.com/tpope/vim-fugitive/issues/959 |
||
---|---|---|
.. | ||
fugitive.vim |