How to switch focus to another panel?

16 views
Skip to first unread message

raphinesse

unread,
Mar 15, 2015, 12:56:33 AM3/15/15
to git-...@googlegroups.com
Hi, I really like git cola. However I often find myself in need of switching to my mouse to switch focus from the status panel to the diff view panel to be able to stage some hunks. I couldn't find anything in the shortcuts help. Am I missing something or is it simply not there?

David Aguilar

unread,
Mar 15, 2015, 1:03:36 AM3/15/15
to raphinesse, git-...@googlegroups.com
Thanks. You can actually do this without using your mouse.

The Ctrl+1, Ctrl+2, Ctrl+3, ... hotkeys swictch focus to the
various tools.

1. commit
2. status
3. diff
...

You can also show/hide them using Shift+Ctrl+1, ...

The '?' menu does mention these, but it uses a general "Ctrl + #"
string to denote that "#" should be replaced by a number.

Perhaps we should change it to "Ctrl + <number>", "Ctrl + <num>",
or "Ctrl + <#>"?

There are some semi-recent commits that improved some keyboard
interactions, and I'm always in favor of making things more
keyboard-friendly.

cheers,
--
David

raphi...@gmail.com

unread,
Mar 17, 2015, 11:09:21 AM3/17/15
to git-...@googlegroups.com
Hey David, thanks for the quick reply. 

The Ctrl+1, Ctrl+2, Ctrl+3, ... hotkeys swictch focus to the
various tools.

1. commit
2. status
3. diff
...

You can also show/hide them using Shift+Ctrl+1, ...

The '?' menu does mention these, but it uses a general "Ctrl + #"
string to denote that "#" should be replaced by a number.

Perhaps we should change it to "Ctrl + <number>", "Ctrl + <num>",
or "Ctrl + <#>"?
 
I think any of these would be better. Preferably with an addition of something along the lines of
Where <number> corresponds to:
1: Commit
2: Status
...
I do remember pressing Ctrl+# and concluding the tool was buggy since it didn't do anything :)

Reply all
Reply to author
Forward
0 new messages