From 59d44d76f8e5292dd00b9728a532160fcc8f3a42 Mon Sep 17 00:00:00 2001 From: typebrook Date: Sat, 30 Mar 2019 00:53:42 +0800 Subject: update --- tigrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tigrc') diff --git a/tigrc b/tigrc index 7c7403b..4a3b74e 100644 --- a/tigrc +++ b/tigrc @@ -15,6 +15,7 @@ bind generic scroll-right # toggle/copy commit id bind generic xx !@sh -c "echo -n %(commit) | head -c7 | xclip -selection c" bind generic xc !@sh -c "echo -n %(commit) | xclip -selection c" +bind generic xb !@sh -c "echo -n %(branch) | xclip -selection c" bind generic gr view-grep @@ -47,6 +48,8 @@ set main-view = \ id \ commit-title:graph=v2,refs=true +bind main G none +bind main G move-last-line bind main ` :toggle commit-title-graph bind main o :goto %(commit)^2 @@ -104,9 +107,6 @@ bind main ?>git format-patch %(commit) bind main . >sh -c "git diff %(commit) | tig" bind main > >sh -c "git diff %(commit) --no-prefix -U1000 | tig" -# misc -bind generic 4 !@sh -c "echo -n %(branch) | xclip -selection c" - #==================== # blame view #==================== -- cgit v1.2.3-70-g09d2