From d86113ad1be55784fdd7ef3905be6259e328e562 Mon Sep 17 00:00:00 2001 From: typebrook Date: Fri, 31 May 2019 15:23:31 +0800 Subject: update --- tigrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tigrc') diff --git a/tigrc b/tigrc index 40272c0..dd7ebe4 100644 --- a/tigrc +++ b/tigrc @@ -23,6 +23,7 @@ bind generic R :source ~/.tigrc # clipboard bind generic xx +sh -c "echo -n %(commit) | head -c7 | xclip -sel c && echo Commit Clipped!" bind generic xc +sh -c "echo -n %(commit) | xclip -sel c && echo Full Commit Clipped!" +bind generic xt +sh -c "echo -n %(text) | xclip -sel c && echo Text Clipped!" bind generic xrb +sh -c "echo -n %(branch) | xclip -sel c && echo Branch Clipped!" bind generic xrB +sh -c "echo -n %(remote):%(branch) | xclip -sel c && echo Remote Branch Clipped!" bind generic xrt +sh -c "echo -n %(tag) | xclip -sel c && echo tag Clipped" @@ -118,7 +119,7 @@ bind main F ?git fetch %(remote) %(branch) # Go to Fetch bind main ?git fetch %(remote) bind main gf ?git fetch '%(prompt Which remote? )' # Go to Fetch a specific remote bind main pu ?git pull -bind main pU ?git pull '%(prompt Which remote? )' %(branch):%(branch) +bind main pU ?git pull --rebase # reset/rebase/revert bind main uu ?git reset %(commit) -- cgit v1.2.3-70-g09d2