Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git-gui: Moving keyboard focus to "changed files"

I'm trying to use my computer with keyboard only, without touching the mouse.

In git-gui, how do I move the keyboard focus to the list of changed files, so I can stage them (Ctrl + T) one-by-one? I know I can stage all changed files with Ctrl + I, but it doesn't work for staging newly created files.

like image 208
Ram Rachum Avatar asked Aug 20 '10 21:08

Ram Rachum


1 Answers

You can control a few things with the keyboard:

  • using Alt + <1st-character-menu-item> to open a menu, e.g. Alt + C for the Commit menu
  • there are a bunch a shortcuts available like F5 for refresh
  • using Shift + Tab and Ctrl + Tab you jump around the buttons Rescan to Push, New Commit to Amend Last Commit and to the Commit Message box

However I found no way to jump to the [Un]Staged Changes boxes and also to [un]stage hunks or lines.

like image 177
Paul Pladijs Avatar answered Oct 25 '22 15:10

Paul Pladijs