summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-07-25 16:28:05 +0800
committertypebrook <typebrook@gmail.com>2019-07-25 16:28:05 +0800
commit2e0c607e04ab11c5ea126f10de5d80376effead9 (patch)
tree016aee5b7752425341aecc04dc03ac79eb336f66
parent5e43360aa68139385ada13b98ee298dda236ce31 (diff)
update
-rw-r--r--tigrc20
1 files changed, 10 insertions, 10 deletions
diff --git a/tigrc b/tigrc
index 13ed37c..78fb477 100644
--- a/tigrc
+++ b/tigrc
@@ -21,15 +21,15 @@ bind generic <Esc>l screen-redraw
21bind generic R :source ~/.tigrc 21bind generic R :source ~/.tigrc
22 22
23# clipboard 23# clipboard
24bind generic xx +sh -c "echo -n %(commit) | head -c7 | xclip -sel c && echo Commit Clipped!" 24bind generic xx +sh -c "echo -n %(commit) | head -c7 | xsel -ib && echo Commit Clipped!"
25bind generic xc +sh -c "echo -n %(commit) | xclip -sel c && echo Full Commit Clipped!" 25bind generic xc +sh -c "echo -n %(commit) | xsel -ib && echo Full Commit Clipped!"
26bind generic xt +sh -c "echo -n %(text) | xclip -sel c && echo Text Clipped!" 26bind generic xt +sh -c "echo -n %(text) | xsel -ib && echo Text Clipped!"
27bind generic xrb +sh -c "echo -n %(branch) | xclip -sel c && echo Branch Clipped!" 27bind generic xrb +sh -c "echo -n %(branch) | xsel -ib && echo Branch Clipped!"
28bind generic xrB +sh -c "echo -n %(remote):%(branch) | xclip -sel c && echo Remote Branch Clipped!" 28bind generic xrB +sh -c "echo -n %(remote):%(branch) | xsel -ib && echo Remote Branch Clipped!"
29bind generic xrt +sh -c "echo -n %(tag) | xclip -sel c && echo tag Clipped" 29bind generic xrt +sh -c "echo -n %(tag) | xsel -ib && echo tag Clipped"
30bind generic xf +sh -c "echo -n %(file) | xclip -sel c && echo File Clipped" 30bind generic xf +sh -c "echo -n %(file) | xsel -ib && echo File Clipped"
31bind generic xb +sh -c "echo -n %(blob) | head -c7 | xclip -sel c && echo Blob Clipped" 31bind generic xb +sh -c "echo -n %(blob) | head -c7 | xsel -ib && echo Blob Clipped"
32bind generic xB +sh -c "echo -n %(blob) | xclip -sel c && echo Full Blob Clipped" 32bind generic xB +sh -c "echo -n %(blob) | xsel -ib && echo Full Blob Clipped"
33 33
34# toggle case sensitive for search 34# toggle case sensitive for search
35bind generic w :toggle ignore-case 35bind generic w :toggle ignore-case
@@ -247,7 +247,7 @@ bind tree t +git cat-file -p %(commit)
247bind tree d ?rm %(file) 247bind tree d ?rm %(file)
248bind tree m >tig -- %(file) 248bind tree m >tig -- %(file)
249 249
250bind tree xt +sh -c "git rev-parse %(commit)^{tree} | xclip -sel c -o | awk '{print \"Tree Clipped\", $1}'" 250bind tree xt +sh -c "git rev-parse %(commit)^{tree} | xsel -ib -o | awk '{print \"Tree Clipped\", $1}'"
251 251
252bind tree . >sh -c "git diff %(ref) -- %(file) | tig" 252bind tree . >sh -c "git diff %(ref) -- %(file) | tig"
253#==================== 253#====================