diff options
author | typebrook <typebrook@gmail.com> | 2019-12-17 17:57:41 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-12-17 17:57:41 +0800 |
commit | c94753dd8fb4180e46fadcf84d3fe4fab4fa4459 (patch) | |
tree | d42ff7676cf6ea1cae3638133cd9ff78a3b223ae | |
parent | 9f17c652eed07828f024080c751769ad131ebae8 (diff) |
update
-rw-r--r-- | tigrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -194,7 +194,7 @@ bind main <C-B> !sh scripts/bump_version.sh | |||
194 | #==================== | 194 | #==================== |
195 | # blame view | 195 | # blame view |
196 | #==================== | 196 | #==================== |
197 | bind blame m >tig -- %(file) | 197 | bind blame m >tig --follow -- %(file) |
198 | bind blame . >sh -c "git diff --patch-with-stat %(ref) -- %(file) | tig" | 198 | bind blame . >sh -c "git diff --patch-with-stat %(ref) -- %(file) | tig" |
199 | bind blame > >sh -c "git diff --patch-with-stat %(ref) --no-prefix -U1000i -- %(file) | tig" | 199 | bind blame > >sh -c "git diff --patch-with-stat %(ref) --no-prefix -U1000i -- %(file) | tig" |
200 | 200 | ||
@@ -203,7 +203,7 @@ set blame-view = author:abbreviated date:relative id:yes,color line-number:yes t | |||
203 | #==================== | 203 | #==================== |
204 | # blob view | 204 | # blob view |
205 | #==================== | 205 | #==================== |
206 | bind blob m >tig -- %(file) | 206 | bind blob m >tig --follow -- %(file) |
207 | 207 | ||
208 | #==================== | 208 | #==================== |
209 | # status view | 209 | # status view |
@@ -274,7 +274,7 @@ bind tree h back | |||
274 | bind tree t +git cat-file -p %(commit) | 274 | bind tree t +git cat-file -p %(commit) |
275 | 275 | ||
276 | bind tree d ?rm %(file) | 276 | bind tree d ?rm %(file) |
277 | bind tree m >tig -- %(file) | 277 | bind tree m >tig --follow -- %(file) |
278 | 278 | ||
279 | bind tree xt +sh -c "git rev-parse %(commit)^{tree} | xsel -ib -o | awk '{print \"Tree Clipped\", $1}'" | 279 | bind tree xt +sh -c "git rev-parse %(commit)^{tree} | xsel -ib -o | awk '{print \"Tree Clipped\", $1}'" |
280 | 280 | ||