From 905be0793fb8f71dd01a46ddb4680fecc0c4b9f9 Mon Sep 17 00:00:00 2001 From: typebrook Date: Mon, 1 Apr 2019 14:40:50 +0800 Subject: update --- tigrc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tigrc') diff --git a/tigrc b/tigrc index ee15ffe..6cb71d7 100644 --- a/tigrc +++ b/tigrc @@ -176,12 +176,15 @@ bind stage p :?^diff --(git|cc) #==================== set tree-view = author:abbreviated date:relative mode file-size:units file-name +bind tree t +git cat-file -p %(commit) + bind tree d ?rm %(file) +bind tree xx +sh -c "echo -n %(blob) | head -c7 | xclip -sel c && echo Blob Clipped" +bind tree xb +sh -c "echo -n %(blob) | xclip -sel c && echo Full Blob Clipped" +bind tree xt +sh -c "git cat-file -p %(commit) | head -1 | cut -f 2 -d ' ' | xclip -sel c && echo Tree Clipped" bind tree xf +sh -c "echo -n %(file) | xclip -selection c && echo File Clipped" -bind tree xx +sh -c "echo -n %(blob) | head -c7 | xclip -selection c && echo Blob Clipped" -bind tree xc +sh -c "echo -n %(commit) | head -c7 | xclip -selection c && echo Commit Clipped" -bind tree xb +sh -c "echo -n %(blob) | xclip -selection c && echo Full Blob Clipped" +bind tree xc +sh -c "echo -n %(commit) | head -c7 | xclip -sel c && echo Commit Clipped" #==================== # refs view -- cgit v1.2.3-70-g09d2