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