-
Notifications
You must be signed in to change notification settings - Fork 610
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
bind enter to view diff (but not jump into diff view) ? #83
Comments
You are not the first one to request this, but I have never gotten around to actually do the needed refactoring to allow this sort of thing. The current navigation mode is somewhat hardwired with the behavior of 'Enter' making it difficult to just add a new keybinding. I've made a quick prototype, which I think actually works pretty natural. Enter will open the diff as you proposed, and pressing enter again on the same commit will scroll the diff view, which is similar to the behavior of the current navigation mode. |
I have compiled the lazy-nav branch. Yeah, completely sufficiant for me! Thanks a lot |
Thanks for testing this Felix. I merged the lazy-nav branch into master. To enable the lazy mode you need to add the following to ~/.tigrc:
|
Oh, yeah, and if you have comments, such as a better name for this option, please don't hesitate to send me a note. |
Hi,
I would like to rebind the enter key: Instead of showing the diff and placing the cursor into the diff view I would like to show the diff view without placing the cursor there.
So, in ~/.tigrc, I tried: bind main enter view-diff
However, this opens the diff-view in full-screen mode. I would like to keep the split-screen, though. Is there something like:
bind main enter view-diff-in-split-screen ?
Thank you for the wonderful app
Felix
The text was updated successfully, but these errors were encountered: