diff --git a/Default.sublime-commands b/Default.sublime-commands
index 470d7f9..d3739d2 100644
--- a/Default.sublime-commands
+++ b/Default.sublime-commands
@@ -1,6 +1,14 @@
[
-{
- "caption": "Git Blame",
- "command": "blame"
-}
+ {
+ "caption": "Git Blame",
+ "command": "blame"
+ },
+ {
+ "caption": "Git Blame Show All",
+ "command": "blame_show_all"
+ },
+ {
+ "caption": "Git Blame Erase All",
+ "command": "blame_erase_all"
+ }
]
diff --git a/README.md b/README.md
index 53c8c9e..c2d1ef0 100644
--- a/README.md
+++ b/README.md
@@ -2,20 +2,28 @@
[](https://github.com/psykzz/st3-gitblame/issues)
-# Git blame - Sublime text 3 plugin
+# Git blame - Sublime text 3 plugin
Sublime text 3 - Git blame the line
-Small plugin to parse git blame and add a view to show the user and datetime of the blame. You can click the sha to copy it or click the ✖ to close.
+Small plugin to parse git blame and add a view to show the user and datetime of the blame. You can click the sha to copy it or click the ✖ to close. Also, this package provides a command to see all the blame result of a file.
View on [packagecontrol.io](https://packagecontrol.io/packages/Git%20blame)
## Usage
+### Checking the results of `git blame` for selected lines
+
> CTRL + ALT + B (Q on linux)
-
+
> Right click > Git blame
-
+
+### Checking the result of `git blame` for the whole file
+
+To show the `git blame` result: Open the command pallette and select `Git Blame Show All`.
+
+To erase the `git blame` result: Open the command pallette and select `Git Blame Erase All`. Or, you can click the ✖ icon to erase it. Also, the result is automatically erased when you start to modify the file.
+
## Example
diff --git a/git-blame.py b/git-blame.py
index 2df5eff..7ced011 100644
--- a/git-blame.py
+++ b/git-blame.py
@@ -1,11 +1,14 @@
import sublime
import sublime_plugin
import os
+import re
import functools
import subprocess
from subprocess import check_output as shell
-stylesheet = '''
+PHANTOM_KEY_ALL = 'git-blame-all'
+
+stylesheet_one = '''
'''
-template = '''
+template_one = '''