diff options
author | Canop <cano.petrole@gmail.com> | 2020-01-28 21:53:37 +0100 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-01-28 21:53:37 +0100 |
commit | 0fae5a1a1edd1bad2fb8d25b8727709c3201df54 (patch) | |
tree | 850ed1fd11aa0165f51755c7ebfb16d8061f0019 /src/conf.rs | |
parent | 16de01b1714f8862f3b719908d672869f3ee7578 (diff) |
add a git_diff verb
Diffstat (limited to 'src/conf.rs')
-rw-r--r-- | src/conf.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/conf.rs b/src/conf.rs index f3ebacd..77f0590 100644 --- a/src/conf.rs +++ b/src/conf.rs @@ -196,6 +196,11 @@ execution = ":quit" invocation = "create {subpath}" execution = "$EDITOR {directory}/{subpath}" +[[verbs]] +invocation = "git_diff" +shortcut = "gd" +execution = "git diff {file}" + # If $PAGER isn't set on your computer, you should either set it # or just replace it with your viewer of choice in the 'execution' # pattern. |