diff options
-rw-r--r-- | tigrc | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -21,15 +21,15 @@ bind generic <Esc>l screen-redraw | |||
21 | bind generic R :source ~/.tigrc | 21 | bind generic R :source ~/.tigrc |
22 | 22 | ||
23 | # clipboard | 23 | # clipboard |
24 | bind generic xx +sh -c "echo -n %(commit) | head -c7 | xclip -sel c && echo Commit Clipped!" | 24 | bind generic xx +sh -c "echo -n %(commit) | head -c7 | xsel -ib && echo Commit Clipped!" |
25 | bind generic xc +sh -c "echo -n %(commit) | xclip -sel c && echo Full Commit Clipped!" | 25 | bind generic xc +sh -c "echo -n %(commit) | xsel -ib && echo Full Commit Clipped!" |
26 | bind generic xt +sh -c "echo -n %(text) | xclip -sel c && echo Text Clipped!" | 26 | bind generic xt +sh -c "echo -n %(text) | xsel -ib && echo Text Clipped!" |
27 | bind generic xrb +sh -c "echo -n %(branch) | xclip -sel c && echo Branch Clipped!" | 27 | bind generic xrb +sh -c "echo -n %(branch) | xsel -ib && echo Branch Clipped!" |
28 | bind generic xrB +sh -c "echo -n %(remote):%(branch) | xclip -sel c && echo Remote Branch Clipped!" | 28 | bind generic xrB +sh -c "echo -n %(remote):%(branch) | xsel -ib && echo Remote Branch Clipped!" |
29 | bind generic xrt +sh -c "echo -n %(tag) | xclip -sel c && echo tag Clipped" | 29 | bind generic xrt +sh -c "echo -n %(tag) | xsel -ib && echo tag Clipped" |
30 | bind generic xf +sh -c "echo -n %(file) | xclip -sel c && echo File Clipped" | 30 | bind generic xf +sh -c "echo -n %(file) | xsel -ib && echo File Clipped" |
31 | bind generic xb +sh -c "echo -n %(blob) | head -c7 | xclip -sel c && echo Blob Clipped" | 31 | bind generic xb +sh -c "echo -n %(blob) | head -c7 | xsel -ib && echo Blob Clipped" |
32 | bind generic xB +sh -c "echo -n %(blob) | xclip -sel c && echo Full Blob Clipped" | 32 | bind 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 |
35 | bind generic w :toggle ignore-case | 35 | bind generic w :toggle ignore-case |
@@ -247,7 +247,7 @@ bind tree t +git cat-file -p %(commit) | |||
247 | bind tree d ?rm %(file) | 247 | bind tree d ?rm %(file) |
248 | bind tree m >tig -- %(file) | 248 | bind tree m >tig -- %(file) |
249 | 249 | ||
250 | bind tree xt +sh -c "git rev-parse %(commit)^{tree} | xclip -sel c -o | awk '{print \"Tree Clipped\", $1}'" | 250 | bind tree xt +sh -c "git rev-parse %(commit)^{tree} | xsel -ib -o | awk '{print \"Tree Clipped\", $1}'" |
251 | 251 | ||
252 | bind tree . >sh -c "git diff %(ref) -- %(file) | tig" | 252 | bind tree . >sh -c "git diff %(ref) -- %(file) | tig" |
253 | #==================== | 253 | #==================== |