summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tigrc17
1 files changed, 9 insertions, 8 deletions
diff --git a/tigrc b/tigrc
index 87da857..9a1bc79 100644
--- a/tigrc
+++ b/tigrc
@@ -34,6 +34,15 @@ bind generic xf +sh -c "echo -n %(file) | xsel -ib && echo File Clipped"
34bind generic xb +sh -c "echo -n %(blob) | head -c7 | xsel -ib && echo Blob Clipped" 34bind generic xb +sh -c "echo -n %(blob) | head -c7 | xsel -ib && echo Blob Clipped"
35bind generic xB +sh -c "echo -n %(blob) | xsel -ib && echo Full Blob Clipped" 35bind generic xB +sh -c "echo -n %(blob) | xsel -ib && echo Full Blob Clipped"
36 36
37## Remote
38bind generic Uv +sh -c "git remote -v | grep %(remote)"
39bind generic UV >sh -c "git remote -vv | tig"
40bind generic Ua @git remote add "%(prompt New Github remote name: )" git@github.com:"%(prompt User/Repo: )"
41bind generic UA @git remote add "%(prompt New remote name: )" "%(prompt Remote url: )"
42bind generic U! @git remote remove "%(prompt Remove which remote?: )"
43bind generic Us @git remote set-url "%(prompt Set url for which remote?: )" "%(prompt New url: )"
44bind generic Uf ?git fetch "%(prompt Fetch from which remote?: )"
45
37# toggle case sensitive for search 46# toggle case sensitive for search
38bind generic w :toggle ignore-case 47bind generic w :toggle ignore-case
39 48
@@ -176,14 +185,6 @@ bind main I >sh -c "hub issue | tig"
176bind main gc >sh -c 'cloc --git %(commit) | tig' 185bind main gc >sh -c 'cloc --git %(commit) | tig'
177## Script to bump Android version 186## Script to bump Android version
178bind main <C-B> !sh scripts/bump_version.sh 187bind main <C-B> !sh scripts/bump_version.sh
179## Remote
180bind main Uv +sh -c "git remote -v | grep %(remote)"
181bind main UV >sh -c "git remote -vv | tig"
182bind main Ua @git remote add "%(prompt New Github remote name: )" git@github.com:"%(prompt User/Repo: )"
183bind main UA @git remote add "%(prompt New remote name: )" "%(prompt Remote url: )"
184bind main U! @git remote remove "%(prompt Remove which remote?: )"
185bind main Us @git remote set-url "%(prompt Set url for which remote?: )" "%(prompt New url: )"
186bind main Uf ?git fetch "%(prompt Fetch from which remote?: )"
187 188
188# note 189# note
189#bind generic gnn !git notes edit %(commit) 190#bind generic gnn !git notes edit %(commit)