aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-04-02 11:16:13 +0800
committertypebrook <typebrook@gmail.com>2019-04-02 11:16:13 +0800
commite8228d9e34b12beb9d6105392a59854343ec3e2b (patch)
tree41caf0e77400128c91b01427e92a80bdf3893669 /tigrc
parent959773f5a49f03a5afe1e2fb485a689bb6608e35 (diff)
update
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/tigrc b/tigrc
index dc46592..de27e3a 100644
--- a/tigrc
+++ b/tigrc
@@ -82,6 +82,7 @@ bind main p none
82bind main pp ?git push 82bind main pp ?git push
83bind main pP ?git push -u %(remote) %(branch):%(branch) 83bind main pP ?git push -u %(remote) %(branch):%(branch)
84bind main pr ?git push -u '%(prompt Which remote? )' %(branch):%(branch) 84bind main pr ?git push -u '%(prompt Which remote? )' %(branch):%(branch)
85bind main pd ?git push %(remote) :%(branch)
85 86
86# reset/rebase/revert 87# reset/rebase/revert
87bind main u ?git reset %(commit) 88bind 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#====================
178set tree-view = author:abbreviated date:relative mode file-size:units file-name 179set tree-view = author:abbreviated date:relative mode file-size:units id:no file-name
179 180
180bind tree t +git cat-file -p %(commit) 181bind tree t +git cat-file -p %(commit)
181 182
182bind tree d ?rm %(file) 183bind tree d ?rm %(file)
184bind tree m >tig %(file)
183 185
184bind tree xx +sh -c "echo -n %(blob) | head -c7 | xclip -sel c && echo Blob Clipped" 186bind tree xx +sh -c "echo -n %(blob) | head -c7 | xclip -sel c && echo Blob Clipped"
185bind tree xb +sh -c "echo -n %(blob) | xclip -sel c && echo Full Blob Clipped" 187bind tree xb +sh -c "echo -n %(blob) | xclip -sel c && echo Full Blob Clipped"