diff options
| author | typebrook <typebrook@gmail.com> | 2019-04-18 10:48:30 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-04-18 10:48:30 +0800 |
| commit | 8b2aa66c644e7bf1e2bc129b84da4603f52cae1f (patch) | |
| tree | 022974192c4785dd24a20ca9f0b1097088546930 /tigrc | |
| parent | 1b5b5344a615c7779a2833fb062dac8f33cee397 (diff) | |
update
Diffstat (limited to 'tigrc')
| -rw-r--r-- | tigrc | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -208,6 +208,9 @@ bind tree d ?rm %(file) | |||
| 208 | bind tree m >tig %(file) | 208 | bind tree m >tig %(file) |
| 209 | 209 | ||
| 210 | bind tree xt +sh -c "git rev-parse %(commit)^{tree} | xclip -sel c -o | awk '{print \"Tree Clipped\", $1}'" | 210 | bind tree xt +sh -c "git rev-parse %(commit)^{tree} | xclip -sel c -o | awk '{print \"Tree Clipped\", $1}'" |
| 211 | |||
| 212 | bind tree . >sh -c "git diff %(ref) -- %(file) | tig" | ||
| 213 | bind tree > >sh -c "git diff %(ref) --no-prefix -U1000i -- %(file) | tig" | ||
| 211 | #==================== | 214 | #==================== |
| 212 | # refs view | 215 | # refs view |
| 213 | #==================== | 216 | #==================== |