fork-dev / TrackerWin

Bug and issue tracker for Fork for Windows
459 stars 10 forks source link

Fork Keyboard Shortcuts #333

Open TanyaPristupova opened 5 years ago

TanyaPristupova commented 5 years ago
General Navigation
All Commits View
Changes View
Repository
Repository Manager
kedrzu commented 4 years ago

It's not documented here, but alt + s stages and unstages files as I type commit message.

For example in my native language, Polish alt + s is used to type letter ś. Basically any shortcut, that uses alt + some letter or alt + shift + some letter will prevent from writing in some languages.

It's a good practice to use english commit comments, but it's also super frustrating to see random actions being performed as I type.

mloskot commented 4 years ago

@kedrzu I believe you are mixing Alt and AltGr and you should clarify it in your description that you mean AltGr in case of the alt + s and other shortcuts.

p.s. I also type using Polish keyboard layout

kedrzu commented 4 years ago

Yes, I mean AltGr + s, which is right alt button. Left alt does not trigger any action in fork.

coderD1mka commented 4 years ago

Hi! I did not find how I can go to the next/previous change on the Changes tab while viewing the changes.

VapidLinus commented 4 years ago

After pressing Space to open the "large diff window", is there any keyboard shortcuts to allow me to scroll up and down? The arrow keys switches which file is being diff'd, which is what I want, but I have to break the keyboard flow when reviewing multiple files to scroll using the mouse.

https://i.imgur.com/O7oi5oY.png

xoofx commented 4 years ago

Bumping #333 (comment) - I see ← and → aren't bound in the commit view, and for busy repositories it would be great to go to the parent/child commit instead of the next sorted commit, so that you can follow a branch.

Bumping this also, on a busy repository, navigating on child/parent commits is really important. Unfortunately today, I have to switch temporarily to a different Git UI whenever I need to navigate between commits.

Lonli-Lokli commented 3 years ago

Is there any pdf I can print ?

cybernetics commented 3 years ago

Ctrl+Shift+Enter - Commit and push KB shortcut doesn't work. I have to manually push every time.

DanPristupov commented 3 years ago

@cybernetics I just tried, it works for me.

You can also Commit and Push by clicking on commit button when Ctrl is pressed.

cybernetics commented 3 years ago

@DanPristupov mouse click work as expected. but KB shortcut is not. I wonder what could be the reason that the KB shortcut isn't working in my fork installation. is there a way to see behind the scenes what command(s) has been issued or log or anything...

prihex commented 3 years ago

I want to see these shortcuts while I am working offline(most of my work)

tiso commented 3 years ago

F3 shortcut doesn't work as written, nor as expected: F3 should start search (as CtrlF does) and also jump to next search result (as Enter does). This behaviour is supported by other Windows programs (browsers, editors, ...)

Summary of F3 behaviour:

Please, could you change it? It is easy/hard change?

saurabhs commented 3 years ago

please add a shortcut to checkout/switch to another branch

wardboumans commented 3 years ago

please add a shortcut to checkout/switch to another branch

What's wrong with CTRL+P > 'checkout branch'. All keyboard :)

datgame commented 3 years ago

Any documentation anywhere on what "quick" means in "quick fetch"?

Otiel commented 3 years ago

It means "Fetch" without opening the popup window, so by using the settings you see on the window when doing a normal Fetch.

323

tkainrad commented 3 years ago

KeyCombiner now has a table of all Fork keyboard shortcuts that are listed in this issue and its macOS counterpart: https://keycombiner.com/collections/fork/winlinux/

It can be searched and filtered.

While creating this resource, I noticed that the Windows version of Fork does not have the Quick Stash shortcut that macOS has. Is this correct or is it just missing in this issue?

image

mihben commented 3 years ago

Hi!

Would be great a keyboard shortcut for Open .sln.

jerone commented 3 years ago

@mihben commented on Apr 4, 2021, 12:34 AM GMT+2:

Hi!

Would be great a keyboard shortcut for Open .sln.

There are already a few solutions proposed.

mihben commented 3 years ago

@mihben commented on Apr 4, 2021, 12:34 AM GMT+2: Hi! Would be great a keyboard shortcut for Open .sln.

There are already a few solutions proposed.

Thank you, for your answer. I know the fork is able to open the sln files in VS. I requested a keyboard shortcut for it. kép

For example, the "Open in Terminal" has a keyboard shortcut: Ctrl + Alt + T. I would be glad to a similar keyboard shortcut for the Open *.sln.

As far as I know, it cannot be solved with custom commands, because it is not possible to assign keyboard shortcuts to the custom commands.

julen-folky commented 3 years ago

Hi! Is there any shortcut or GUI toggle to switch between topology and date sorting? Thanks!

cbuchart commented 3 years ago

Thanks for adding the [ctrl] modifier for "quick fetch". Alas, this only works with the left [ctrl] key on my keyboard (Standard 102 keys, German layout). For people with their pointing device on the left side, this is a bit inconvenient.

Kindly consider adding the right [ctrl] key as a modifier for "quick fetch".

It's happening to me too. Spanish layout (laptop's integrated and external), Windows 10. leftcontrol commits, but rightcontrol moves focus from commit subject to commit description, and a second hit then commits.

rsimpson2 commented 3 years ago

Is there a shortcut/option - currently or being proposed - to toggle the layout? I would like to hide/show the left sidebar so I can see the Branches/Remotes/etc. when I need to. Thank you.

wardboumans commented 3 years ago

Switching workspaces with a shortcut would nice nice. Having to move the mouse far into the corner every time is annoying. e.g. CTRL+SHIFT+NUM0-9, they could be assigned to workspace.

Edit: Doh, forgot about CTRL+P.

arphox commented 3 years ago

@TanyaPristupova, please edit the issue description so in the beginning it contains links for the new documentation pages for shortcuts. So: Keyboard shortcuts - Windows Keyboard shortcuts - Mac

It would be the best to have these links as the first lines of the text so people will notice it.

NickPenney commented 2 years ago

@mihben commented on Apr 4, 2021, 12:34 AM GMT+2: Hi! Would be great a keyboard shortcut for Open .sln.

There are already a few solutions proposed.

Thank you, for your answer. I know the fork is able to open the sln files in VS. I requested a keyboard shortcut for it. kép

For example, the "Open in Terminal" has a keyboard shortcut: Ctrl + Alt + T. I would be glad to a similar keyboard shortcut for the Open *.sln.

As far as I know, it cannot be solved with custom commands, because it is not possible to assign keyboard shortcuts to the custom commands.

I would like this as well. Perhaps Ctrl + Alt + V would work?

prihex commented 2 years ago

@mihben commented on Apr 4, 2021, 12:34 AM GMT+2: Hi! Would be great a keyboard shortcut for Open .sln.

There are already a few solutions proposed.

Thank you, for your answer. I know the fork is able to open the sln files in VS. I requested a keyboard shortcut for it. kép For example, the "Open in Terminal" has a keyboard shortcut: Ctrl + Alt + T. I would be glad to a similar keyboard shortcut for the Open *.sln. As far as I know, it cannot be solved with custom commands, because it is not possible to assign keyboard shortcuts to the custom commands.

I would like this as well. Perhaps Ctrl + Alt + V would work?

It would be great for Visual Studio users. But I think, it is better solution to adding shortcut for custom commands. Instead of asking a Visual Studio shortcut, we can ask for creating our custom shortcuts.

Ziflin commented 2 years ago

Hi! I did not find how I can go to the next/previous change on the Changes tab while viewing the changes.

This would be extremely helpful for those of us that use the "Show Entire File" mode to get more context as to where a change is made. Right now the only option I see is to manually scroll down until you see a change. I definitely miss this from P4Merge.

HatiGamedev commented 2 years ago

Is there a way to navigate to the next commit on the same branch? (might want to add: in the All Commits view)

for example, like collapsing the tree and go to the next commit without collapsing the tree

dcefram commented 2 years ago

please add a shortcut to checkout/switch to another branch

What's wrong with CTRL+P > 'checkout branch'. All keyboard :)

@wardboumans I always find myself pressing CTRL + B or ALT + B when switching back to windows.

I think there is a value for both the Mac version and Windows version to have roughly the same set of hotkeys, even with slight variations of the actual keys pressed.

I'm pretty sure I'm not the only one working on different OSes, and I'm frequently getting thrown off when I switch to Windows and then remember that Windows does not have a hotkey for switching branch, while Mac has it (Cmd + B). It's not like I'm opening up a different Git GUI application altogether, so I'm expecting that I have the same set of features and options across the two platform versions.

The Checkout branch option under the Repository menu exists in the Mac version, while it does not exist in Windows, with no obvious reason why it exists on one platform but not with the other.

keithn commented 2 years ago

on windows it would be nice to have a shortcut to open the default windows terminal (as opposed to the git terminal)

alenl commented 2 years ago

There are shortcuts to stage/unstage a selected file, but I don't see a shortcut to focus the list of files so I can select them. That seems strange, so I suppose I'm missing something, right?

Otiel commented 2 years ago

There are shortcuts to stage/unstage a selected file, but I don't see a shortcut to focus the list of files so I can select them. That seems strange, so I suppose I'm missing something, right?

You have to use Ctrl1 and Tab and ShiftTab to move between the "Unstaged" area, the "Staged" area and the "Commit subject" textbox.

kevinchu-work commented 2 years ago

Is it possible to make it customizable?

Romaleks360 commented 2 years ago

There are shortcuts to stage/unstage a selected file, but I don't see a shortcut to focus the list of files so I can select them. That seems strange, so I suppose I'm missing something, right?

You have to use Ctrl1 and Tab and ShiftTab to move between the "Unstaged" area, the "Staged" area and the "Commit subject" textbox.

There's a problem with this method. If I click Tab a few extra times, my cursor appears in the Changes window, and it's stuck there - Tab doesn't work anymore. That's probably of the text field, that reads Tab as the editing key. The text is not editable, though. And Tab works fine in the commit subject text editing field, so it could be done with this text field as well. Currently, to get back my focus from the Changes window to the Staged window, I have to press Ctrl+1 again to retrieve focus on the Commit subject and use Shift+Tab from here. I find this behavior pretty uncomfortable - Tab/Shift+Tab is supposed to be a cycle between options, not a one-way enumeration. Also, sometimes I am having a hard time understanding where my focus is. It would be great to have two separate shortcuts for the Staged and Unstaged windows, as we have for the commit subject.

mdruiter commented 2 years ago

F3 shortcut doesn't work as written, nor as expected: F3 should start search (as CtrlF does) and also jump to next search result (as Enter does). This behaviour is supported by other Windows programs (browsers, editors, ...)

Summary of F3 behaviour:

  • written: Jump to next search result
  • actual: Open search dialog
  • expected: Open search dialog and also Jump to next search result

Please, could you change it? It is easy/hard change?

Hear hear! Shift+F3 does work as advertized.

deuterium2h commented 1 year ago

Are there any shortcuts regarding collapse and expand commit history? As of now Left and right arrow keys collapse and expands the commit history for the current branch.

DanPristupov commented 1 year ago

@deuterium2h only the ones you mentioned.

MaksimKuz commented 1 year ago

Can you add shortcuts to navigate in difference view (when "Show entire file" mode is On) between code changes.

ghost commented 1 year ago

My team is always rebasing our branches to keep our commit history as readable and clean as possible, so I would love a shortcut for force pushing a branch!

DanPristupov commented 1 year ago

@ShannonTheCodePerson use [branch icon on the toolbar] -> Sync. You can find more info here: https://github.com/fork-dev/TrackerWin/issues/1432

carsten-goforlag commented 1 year ago

Please consider adding a shortcut for "Create Pull Request..." command

bbukraLTX commented 1 year ago

Please consider adding shortcuts for custom commands. Ideally with an option to set the shortcuts manually. 🙏

mihben commented 1 year ago

Please consider adding shortcuts for custom commands. Ideally with an option to set the shortcuts manually. 🙏

Here is a feature request for it. Please upvote it. (It is a little bit old :))

bbukraLTX commented 1 year ago

Here is a feature request for it. Please upvote it. (It is a little bit old :))

Sorry, what should I upvote? 😅 Edit: Nvm, found it and upvoted :)

bbukraLTX commented 1 year ago

Please also add a shortcut to jump to parent commit (one for each if there's more than one)

mihben commented 1 year ago

Here is a feature request for it. Please upvote it. (It is a little bit old :))

Sorry, what should I upvote? 😅 Edit: Nvm, found it and upvoted :)

It is a good question, sorry. 😄 Here you can find: https://github.com/fork-dev/TrackerWin/issues/1138

stefan-van-de-griendt-quandago commented 1 year ago

Is there a way to navigate to the next commit on the same branch? (might want to add: in the All Commits view) for example, like collapsing the tree and go to the next commit without collapsing the tree

I still can't find a shortcut for this, but it's really common for us to have multiple active branches. So, navigating manually by following a line in the graph is really inconvenient. Would love to have Ctrl + Up and Ctrl + Down for the most common scenarios, which is moving in the same branch. There could be some edge cases, such as

ZihouWong commented 1 year ago

Please consider adding a shortcut for "Chekcout " command

bbukraLTX commented 1 year ago

@ZihouWong Please upvote this issue (from Mac Tracker)