diff options
Diffstat (limited to 'tigrc')
| -rw-r--r-- | tigrc | 14 |
1 files changed, 7 insertions, 7 deletions
| @@ -158,8 +158,8 @@ bind main Zu ?>git submodule update | |||
| 158 | bind main Zi ?>git submodule init | 158 | bind main Zi ?>git submodule init |
| 159 | 159 | ||
| 160 | # show diff based on revision | 160 | # show diff based on revision |
| 161 | bind main . >sh -c "git diff %(commit) | tig" | 161 | bind main . >sh -c "git diff --patch-with-stat %(commit) | tig" |
| 162 | bind main > >sh -c "git diff %(commit) --no-prefix -U1000 | tig" | 162 | bind main > >sh -c "git diff --patch-with-stat %(commit) --no-prefix -U1000 | tig" |
| 163 | 163 | ||
| 164 | # make patches | 164 | # make patches |
| 165 | bind main PP ?>git format-patch %(commit) | 165 | bind main PP ?>git format-patch %(commit) |
| @@ -189,8 +189,8 @@ bind main Us @git remote set-url "%(prompt Set url for which remote?: )" "%(prom | |||
| 189 | # blame view | 189 | # blame view |
| 190 | #==================== | 190 | #==================== |
| 191 | bind blame m >tig -- %(file) | 191 | bind blame m >tig -- %(file) |
| 192 | bind blame . >sh -c "git diff %(ref) -- %(file) | tig" | 192 | bind blame . >sh -c "git diff --patch-with-stat %(ref) -- %(file) | tig" |
| 193 | bind blame > >sh -c "git diff %(ref) --no-prefix -U1000i -- %(file) | tig" | 193 | bind blame > >sh -c "git diff --patch-with-stat %(ref) --no-prefix -U1000i -- %(file) | tig" |
| 194 | 194 | ||
| 195 | set blame-view = author:abbreviated date:relative id:yes,color line-number:yes text | 195 | set blame-view = author:abbreviated date:relative id:yes,color line-number:yes text |
| 196 | 196 | ||
| @@ -268,7 +268,7 @@ bind tree m >tig -- %(file) | |||
| 268 | 268 | ||
| 269 | bind tree xt +sh -c "git rev-parse %(commit)^{tree} | xsel -ib -o | awk '{print \"Tree Clipped\", $1}'" | 269 | bind tree xt +sh -c "git rev-parse %(commit)^{tree} | xsel -ib -o | awk '{print \"Tree Clipped\", $1}'" |
| 270 | 270 | ||
| 271 | bind tree . >sh -c "git diff %(ref) -- %(file) | tig" | 271 | bind tree . >sh -c "git diff --patch-with-stat %(ref) -- %(file) | tig" |
| 272 | #==================== | 272 | #==================== |
| 273 | # refs view | 273 | # refs view |
| 274 | #==================== | 274 | #==================== |
| @@ -286,8 +286,8 @@ bind refs <Esc>f ?git fetch --all | |||
| 286 | bind refs <C-F> ?git fetch %(remote) | 286 | bind refs <C-F> ?git fetch %(remote) |
| 287 | bind refs F ?git fetch %(remote) %(branch) | 287 | bind refs F ?git fetch %(remote) %(branch) |
| 288 | 288 | ||
| 289 | bind refs . >sh -c "git diff %(branch) | tig" | 289 | bind refs . >sh -c "git diff --patch-with-stat %(branch) | tig" |
| 290 | bind refs > >sh -c "git diff %(branch) --prefix -U1000 | tig" | 290 | bind refs > >sh -c "git diff --patch-with-stat %(branch) --prefix -U1000 | tig" |
| 291 | 291 | ||
| 292 | #==================== | 292 | #==================== |
| 293 | # log view | 293 | # log view |