diff options
author | typebrook <typebrook@gmail.com> | 2019-05-29 17:27:56 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-05-29 17:27:56 +0800 |
commit | da1ae050a3322132b7b497a7fe5d7de8a5ac2dae (patch) | |
tree | 617b00294acdd7b56ccf30fb29fa76d387f8168f /tigrc | |
parent | 09fe0610493f38d55dc9a3746e2cffa8d306e7a1 (diff) |
update
Diffstat (limited to 'tigrc')
-rw-r--r-- | tigrc | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -143,22 +143,22 @@ bind main S >sh -c 'git log -S "%(prompt Search: )" --pretty=raw | tig --pretty= | |||
143 | bind main Zu ?>git submodule update | 143 | bind main Zu ?>git submodule update |
144 | bind main Zi ?>git submodule init | 144 | bind main Zi ?>git submodule init |
145 | 145 | ||
146 | # make patches | ||
147 | bind main PP ?>git format-patch %(commit) | ||
148 | bind main P1 ?>git format-patch -1 %(commit) | ||
149 | |||
150 | # show diff based on revision | 146 | # show diff based on revision |
151 | bind main . >sh -c "git diff %(commit) | tig" | 147 | bind main . >sh -c "git diff %(commit) | tig" |
152 | bind main > >sh -c "git diff %(commit) --no-prefix -U1000 | tig" | 148 | bind main > >sh -c "git diff %(commit) --no-prefix -U1000 | tig" |
153 | 149 | ||
154 | # Hub | 150 | # make patches |
151 | bind main PP ?>git format-patch %(commit) | ||
152 | bind main P1 ?>git format-patch -1 %(commit) | ||
153 | |||
154 | # Misc-Hub | ||
155 | bind main i @hub browse -- commit/%(commit) | 155 | bind main i @hub browse -- commit/%(commit) |
156 | bind main I >sh -c "hub issue | tig" | 156 | bind main I >sh -c "hub issue | tig" |
157 | 157 | ||
158 | # Statistics | 158 | # Misc-Statistics |
159 | bind main gc !sh -c 'cloc --git %(commit) | tig' | 159 | bind main gc !sh -c 'cloc --git %(commit) | tig' |
160 | 160 | ||
161 | # android | 161 | # Misc-android |
162 | bind main <C-B> !sh scripts/bump_version.sh | 162 | bind main <C-B> !sh scripts/bump_version.sh |
163 | 163 | ||
164 | # note | 164 | # note |