diff options
author | typebrook <typebrook@gmail.com> | 2019-04-02 11:16:13 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-04-02 11:16:13 +0800 |
commit | e8228d9e34b12beb9d6105392a59854343ec3e2b (patch) | |
tree | 41caf0e77400128c91b01427e92a80bdf3893669 | |
parent | 959773f5a49f03a5afe1e2fb485a689bb6608e35 (diff) |
update
-rw-r--r-- | tigrc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -82,6 +82,7 @@ bind main p none | |||
82 | bind main pp ?git push | 82 | bind main pp ?git push |
83 | bind main pP ?git push -u %(remote) %(branch):%(branch) | 83 | bind main pP ?git push -u %(remote) %(branch):%(branch) |
84 | bind main pr ?git push -u '%(prompt Which remote? )' %(branch):%(branch) | 84 | bind main pr ?git push -u '%(prompt Which remote? )' %(branch):%(branch) |
85 | bind main pd ?git push %(remote) :%(branch) | ||
85 | 86 | ||
86 | # reset/rebase/revert | 87 | # reset/rebase/revert |
87 | bind main u ?git reset %(commit) | 88 | bind main u ?git reset %(commit) |
@@ -175,11 +176,12 @@ bind stage <Esc>p :?^diff --(git|cc) | |||
175 | #==================== | 176 | #==================== |
176 | # tree view | 177 | # tree view |
177 | #==================== | 178 | #==================== |
178 | set tree-view = author:abbreviated date:relative mode file-size:units file-name | 179 | set tree-view = author:abbreviated date:relative mode file-size:units id:no file-name |
179 | 180 | ||
180 | bind tree t +git cat-file -p %(commit) | 181 | bind tree t +git cat-file -p %(commit) |
181 | 182 | ||
182 | bind tree d ?rm %(file) | 183 | bind tree d ?rm %(file) |
184 | bind tree m >tig %(file) | ||
183 | 185 | ||
184 | bind tree xx +sh -c "echo -n %(blob) | head -c7 | xclip -sel c && echo Blob Clipped" | 186 | bind tree xx +sh -c "echo -n %(blob) | head -c7 | xclip -sel c && echo Blob Clipped" |
185 | bind tree xb +sh -c "echo -n %(blob) | xclip -sel c && echo Full Blob Clipped" | 187 | bind tree xb +sh -c "echo -n %(blob) | xclip -sel c && echo Full Blob Clipped" |