aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc12
1 files changed, 10 insertions, 2 deletions
diff --git a/tigrc b/tigrc
index 79d1ce9..8143e43 100644
--- a/tigrc
+++ b/tigrc
@@ -167,11 +167,15 @@ bind main I >sh -c "hub issue | tig"
167 167
168# Misc 168# Misc
169## Statistics 169## Statistics
170bind main gc !sh -c 'cloc --git %(commit) | tig' 170bind main gc >sh -c 'cloc --git %(commit) | tig'
171## Script to bump Android version 171## Script to bump Android version
172bind main <C-B> !sh scripts/bump_version.sh 172bind main <C-B> !sh scripts/bump_version.sh
173## Remote 173## Remote
174bind main gr +sh -c "git remote -v | grep %(remote)" 174bind main Uv +sh -c "git remote -v | grep %(remote)"
175bind main UV >sh -c "git remote -vv | tig"
176bind main Ua @git remote add "%(prompt New remote name: )" "%(prompt Remote url: )"
177bind main U! @git remote remove "%(prompt Remove which remote?: )"
178bind main Us @git remote set-url "%(prompt Set url for which remote?: )" "%(prompt New url: )"
175 179
176# note 180# note
177#bind generic gnn !git notes edit %(commit) 181#bind generic gnn !git notes edit %(commit)
@@ -197,6 +201,10 @@ bind blob m >tig -- %(file)
197bind status j :/^[MADRU?] 201bind status j :/^[MADRU?]
198bind status k :?^[MADRU?] 202bind status k :?^[MADRU?]
199 203
204# quick stage
205bind status A @git add .
206bind status R @git rm --cached .
207
200# stash 208# stash
201bind status s ?>git stash 209bind status s ?>git stash
202bind status S @git stash push -m "%(prompt Enter stash name: )" 210bind status S @git stash push -m "%(prompt Enter stash name: )"