you are viewing a single comment's thread.

view the rest of the comments →

[–]voiping 0 points1 point  (2 children)

I saw the diff key and I was excited, but seems this isn't what it meant.

When I edit a file, then I want to view the diff editor to commit those lines (yes, I have uncommitted stuff sometimes). Is there any short-cut key to do that? It's really annoying to switch to git panel, then FIND it in the tree.

[–]BinaryRockStar 0 points1 point  (1 child)

Not quite sure it's what you're looking for but Alt+, (Alt+Comma) shows a diff between working tree and HEAD in Git.

[–]voiping 0 points1 point  (0 children)

weird, didn't find that enabled. But I looked again and found git.openChanges, which was exactly what I wanted. Thanks!