aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-04-01 14:40:50 +0800
committertypebrook <typebrook@gmail.com>2019-04-01 14:40:50 +0800
commit905be0793fb8f71dd01a46ddb4680fecc0c4b9f9 (patch)
tree3e55a85a07ce98e39eb7f65dc992750dc25ef4dd /tigrc
parent8998fc61aa76d3cd7abefec8631f0bab7a1b7fef (diff)
update
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc9
1 files changed, 6 insertions, 3 deletions
diff --git a/tigrc b/tigrc
index ee15ffe..6cb71d7 100644
--- a/tigrc
+++ b/tigrc
@@ -176,12 +176,15 @@ bind stage <Esc>p :?^diff --(git|cc)
176#==================== 176#====================
177set tree-view = author:abbreviated date:relative mode file-size:units file-name 177set tree-view = author:abbreviated date:relative mode file-size:units file-name
178 178
179bind tree t +git cat-file -p %(commit)
180
179bind tree d ?rm %(file) 181bind tree d ?rm %(file)
180 182
183bind tree xx +sh -c "echo -n %(blob) | head -c7 | xclip -sel c && echo Blob Clipped"
184bind tree xb +sh -c "echo -n %(blob) | xclip -sel c && echo Full Blob Clipped"
185bind tree xt +sh -c "git cat-file -p %(commit) | head -1 | cut -f 2 -d ' ' | xclip -sel c && echo Tree Clipped"
181bind tree xf +sh -c "echo -n %(file) | xclip -selection c && echo File Clipped" 186bind tree xf +sh -c "echo -n %(file) | xclip -selection c && echo File Clipped"
182bind tree xx +sh -c "echo -n %(blob) | head -c7 | xclip -selection c && echo Blob Clipped" 187bind tree xc +sh -c "echo -n %(commit) | head -c7 | xclip -sel c && echo Commit Clipped"
183bind tree xc +sh -c "echo -n %(commit) | head -c7 | xclip -selection c && echo Commit Clipped"
184bind tree xb +sh -c "echo -n %(blob) | xclip -selection c && echo Full Blob Clipped"
185 188
186#==================== 189#====================
187# refs view 190# refs view