Daniel Hahler
|
e065e4f841
|
(Re)store the current window in s:diffoff_all
This is required to make Vim execute the "Enter" autocommands when
closing the fugitive window.
Fixes: https://github.com/tpope/vim-fugitive/issues/421
|
2015-05-31 12:14:23 -04:00 |
|
Daniel Hahler
|
933f6a1e1d
|
s:Diff: use winnr with <C-W>w instead of <C-W>p
This is more reliable and fixes an issue where the syntastic location
list of the original file would be focused after `:Gdiff`.
Ref: https://github.com/blueyed/vim-fugitive/commit/c99f0ff06bd1915b2f05c5750283aa9e826ad3d8#commitcomment-9434351
|
2015-01-25 19:23:45 -05:00 |
|
Daniel Hahler
|
2c8461db08
|
Use <nomodeline> with Fugitive autocmds, and un-silent them
Closes #580.
|
2014-11-21 03:25:20 -05:00 |
|
Daniel Hahler
|
152c9195ae
|
Check &diff first in fugitive_diff autocmds
This avoids calling `s:diff_window_count` in the common (non-diff) case.
|
2014-03-13 15:48:20 -04:00 |
|
Daniel Hahler
|
31dead6d80
|
s:Detect: only add readable files to &tags and doc
Fixes issue #104.
|
2012-10-02 10:09:53 -04:00 |
|
Daniel Hahler
|
fc0c98f5c0
|
Check for +cursorbind feature before using it
`+cursorbind` is not available with Vim on RHEL 6.1 for example.
|
2011-12-06 12:46:07 -05:00 |
|
Daniel Hahler
|
4b69204679
|
Handle non-readable .git dirs.
This can happen when a normal user edits/views some files in /etc, which
is maintained using git/etckeeper, and /etc/.git is only readable by
root.
|
2011-04-18 03:27:28 -04:00 |
|