Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode: Keyboard shortcuts for navigating changes in the commit view?

When committing files to an SCM in Xcode it brings up its Version Editor with a Comparison View (showing the diffs for each file). If you click in the gutter between files you can quickly navigate between changes using the up & down arrow keys. However, you can't easily move to the next file using the keyboard (as far as I know). It's very tedious to have to use the mouse to click on each file, then click in the gutter, use the keyboard to move between changes and then click on the next file.

Does anyone know of a way to navigate between files in this view using just the keyboard?

I've done some searching & looked through Xcode's Key Bindings preferences but I can't find anything.

like image 286
Cutterpillow Avatar asked Apr 04 '13 19:04

Cutterpillow


People also ask

What is the keyboard shortcut to move to the top of a file Xcode?

Jump to the top is a simple matter, that is just CMD + UP .


1 Answers

It's a bit clunky, but you can press Cmd-Shift-J to go to the current file in the Project navigator, then use the up and down arrows to select different files. From there you can press Cmd-J, Return to put the cursor into the editor view.

like image 171
Luke Worth Avatar answered Oct 05 '22 20:10

Luke Worth