-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gdiff: restore cursor position in original window #429
Conversation
Find a way to do this in the diff pane please. #36 explains why I switched the focus. |
@tpope #36 covers multiple issues: e.g. "stuck in diff mode" is not a problem with this pull request, as far as I can see. |
It is, actually. Losing the current line is unfortunate, and it's a tradeoff I deliberated for months before making. But I'm sticking to it. If you can find a way to restore it without regressing on window focus, great. You might look at |
There's also |
Please consider re-opening this PR, so that we can discuss this in the open field.
It is handled in s:diff_restore already, although not being set by fugitive (
|
On Wed, Jan 29, 2014 at 9:19 PM, Daniel Hahler notifications@github.comwrote:
|
I've ripped out all the hacks, as they are of dubious value on modern Vim. |
Fixes #428