You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-6Lines changed: 20 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -16,20 +16,34 @@ This package was originally created by [@psykzz](https://github.com/psykzz) and
16
16
17
17
## How to use
18
18
19
-
Place the text insertion cursor on the line you are interested in, then press <kbd>Ctrl</kbd><kbd>Alt</kbd><kbd>B</kbd> (Mac/Windows) or <kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>Q</kbd> (Linux).
19
+
Place the text cursor on the line you are interested in, then press <kbd>Ctrl</kbd><kbd>Alt</kbd><kbd>B</kbd> (Mac/Windows) or <kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>Q</kbd> (Linux).
20
20
21
21
(Instead of pressing the keyboard shortcut, you can alternatively right click and select *Git Blame* from the context menu)
You can then click `[Show]` to show the commit in full, or `[Copy]` to copy the Commit ID (aka SHA) to your clipboard. To close the blame information, click the `×` icon, or press the keyboard shortcut again.
27
+
If you want, you can then click `[Show]` to show the commit in full:
...or click `[Copy]` to copy the Commit ID (aka SHA) to your clipboard.
32
+
33
+
If the latest blame information was not as illuminating as you hoped for, click the `[Prev]` to step back through multiple previous commits that affected the line.
34
+
35
+
To close the blame information, click the `×` icon, or press the keyboard shortcut again while the text cursor is still on the same line.
28
36
29
37
## Advanced use
30
38
31
-
In combination with Sublime Text's *Multiple Cursor* feature, you can query blame information for more than one line simultaneously by first placing a cursor on each line you are interested in.
39
+
In combination with Sublime Text's *Multiple Selection* feature, you can query blame information for more than one line simultaneously by first placing a text cursor on each line you are interested in, and then running as described above.
40
+
41
+
You can also query blame information for every line in the entire file simultaneously by pressing <kbd>Ctrl</kbd><kbd>Alt</kbd><kbd>Shift</kbd><kbd>B</kbd> (Mac/Windows) or <kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>C</kbd> (Linux). Doing this shows blame information in a different style (it's located to the left of the content, and more compact, but with fewer features):
To close all of them, click the `×` icon on any one of them, or press the keyboard shortcut again.
32
46
33
-
You can also query blame information for every line in the entire file simultaneously by pressing <kbd>Ctrl</kbd><kbd>Alt</kbd><kbd>Shift</kbd><kbd>B</kbd> (Mac/Windows) or <kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>C</kbd> (Linux). To close all of them, click the `×` icon on one of them, or press the keyboard shortcut again.
47
+
As well as via keyboard shortcuts, this package's commands are also made available in the *Command Palette*. Type "Git Blame" into it to find them:
34
48
35
-
This package's commands are also made available in the *Command Palette*. Type "Git Blame" into it to find them.
0 commit comments