-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Home/End keys do not work in diff view #6295
Comments
Thanks for creating this issue, @jessetan This is likely because all the engineers (4 of us) use MacBook Pros for development. As far as I know, there is no Home or End keys on our keyboards. This could be 100% false, two of our engineers are not based in America, so maybe their keyboards have it 馃 . In any case, I'm going to add the |
@iAmWillShepherd Aren't Cmd + Up/Down same than Home End key ? I'm not sure |
@jessetan, CTRL-HOME and CTRL-END seem to work for me in the DIFF view. Both (CTRL or no CTRL) seem to work in the changed files list of a commit view. They only seem to work once while in the commit history list; in this case, the selection is removed from the item, the display moves accordingly and then nothing happens if you try HOME or END or CTRL-HOME or CTRL-END until another item is selected. |
Cmd+Up and Cmd+Down also work for me in diff view, but the native Home and End keys don't. I also see what @msftrncs is reporting in the Changes file list: only if the focused item is visible on the screen the Home and End keys work, otherwise they do nothing. I've updated the report to include this, although it might be a separate issue. |
I wanna take a swing at this one.
Without messing with the current shortcuts. |
Description
It can be convenient to jump to the end of a long list of changed files using the End key. It can also be convenient to jump to the end of a long diff by pressing the End key.
The first one works, the second doesn't 馃槩
Version
Steps to Reproduce
Expected Behavior
The diff can be navigated using Home and End keys.
Actual Behavior
Diff window does not respond to Home and End keys (it does respond to PgUp and PgDn).
Changed files list only responds when the focused file is on screen. If it scrolls outside the visible area, keys no longer function.
The text was updated successfully, but these errors were encountered: