Sublime Forum

Git - jump between changes?

#1

Hi,

With git now integrated into ST, is is possible to jump between changes?
Just like VCS gutter is able to do - see https://packagecontrol.io/packages/VCS%20Gutter
Some of the files are quite big, and reviewing the changes done is a great help.

Thanks
– Rob

0 Likes

#2

My keybindings here.

{ "keys": ["alt+d", "alt+i"],   "command": "prev_modification"   },
{ "keys": ["alt+d", "alt+k"],   "command": "next_modification"   },
{ "keys": ["ctrl+k", "ctrl+z"], "command": "revert_modification" },
2 Likes

#3

Awesome, hero!
Did I missed the docs :slight_smile:

0 Likes

#4

There are also default key bindings for these commands; you can find them by looking in the Goto main menu; the items in there for Next Modification and Previous Modification are outlined there. The commands for reverting the current modification and toggling the diff display on and off are in the Edit > Text menu. The key bindings that are default for these commands for your platform are available there.

1 Like

#5

I learned something. Thanks!

0 Likes

#6

Just for completeness since I realize you mentioned perhaps missing docs, I should also point out that the documentation on git integration links to the documentation on the incremental diff support, which also covers the key bindings as well as some extra information on the topic.

0 Likes

#7

Well, you are absolutely right.
Thanks

0 Likes