summaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-05-31 15:26:58 +0800
committertypebrook <typebrook@gmail.com>2019-05-31 15:26:58 +0800
commit7a00ae1ce49d032588a69966ab8635e553629f2b (patch)
treef47d4184a4896415d1c4920cbc40b5a34dd2bfd7 /tigrc
parentd86113ad1be55784fdd7ef3905be6259e328e562 (diff)
update
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tigrc b/tigrc
index dd7ebe4..c98a92b 100644
--- a/tigrc
+++ b/tigrc
@@ -85,7 +85,7 @@ bind main bbD ?>git branch -D %(branch)
85bind main brd ?git branch -rd %(remote)/%(branch) 85bind main brd ?git branch -rd %(remote)/%(branch)
86bind main bv +sh -c "git branch -vv | grep %(branch)" 86bind main bv +sh -c "git branch -vv | grep %(branch)"
87bind main bm @git branch -m %(branch) "%(prompt New branch name: )" 87bind main bm @git branch -m %(branch) "%(prompt New branch name: )"
88bind main bM @git branch -f "%(prompt Move which branch to here? )" %(commit) 88bind main bM @git branch -f "%(prompt Move which branch to here? )" %(commit)
89bind main c @sh -c "git branch --points-at=%(commit) | \ 89bind main c @sh -c "git branch --points-at=%(commit) | \
90 sed -n '/^*/ {n;p}' | \ 90 sed -n '/^*/ {n;p}' | \
91 (cat -; echo %(commit)) | \ 91 (cat -; echo %(commit)) | \
@@ -174,7 +174,7 @@ bind main <C-B> !sh scripts/bump_version.sh
174#==================== 174#====================
175bind blame m >tig -- %(file) 175bind blame m >tig -- %(file)
176bind blame . >sh -c "git diff %(ref) -- %(file) | tig" 176bind blame . >sh -c "git diff %(ref) -- %(file) | tig"
177bind blame > >sh -c "git diff %(ref) --no-prefix -U1000i -- %(file) | tig" 177bind blame > >sh -c "git diff %(ref) --no-prefix -U1000i -- %(file) | tig"
178 178
179set blame-view = author:abbreviated date:relative id:yes,color line-number:yes text 179set blame-view = author:abbreviated date:relative id:yes,color line-number:yes text
180 180