summaryrefslogtreecommitdiffstats
path: root/src/conf.rs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2020-01-28 21:53:37 +0100
committerCanop <cano.petrole@gmail.com>2020-01-28 21:53:37 +0100
commit0fae5a1a1edd1bad2fb8d25b8727709c3201df54 (patch)
tree850ed1fd11aa0165f51755c7ebfb16d8061f0019 /src/conf.rs
parent16de01b1714f8862f3b719908d672869f3ee7578 (diff)
add a git_diff verb
Diffstat (limited to 'src/conf.rs')
-rw-r--r--src/conf.rs5
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.