From d31da1c5474eae2157ae747451ec949ac8f2e63e Mon Sep 17 00:00:00 2001 From: typebrook Date: Wed, 27 Mar 2019 15:34:31 +0800 Subject: update --- tigrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tigrc') diff --git a/tigrc b/tigrc index d6a7bec..dea8d5c 100644 --- a/tigrc +++ b/tigrc @@ -12,6 +12,7 @@ bind generic G move-last-line # toggle/copy commit id bind generic x :toggle id bind generic 9 !@sh -c "echo -n %(commit) | head -c7 | xclip -selection c" +bind generic 0 !@sh -c "echo -n %(commit) | xclip -selection c" bind generic gr view-grep @@ -60,6 +61,7 @@ bind main c @sh -c "git branch --points-at=%(commit) | \ # commit bind main a ?>git commit --amend +bind main e ?>git commit --allow-empty # merge bind main m ?git merge %(commit) @@ -149,6 +151,7 @@ bind stage p :?^diff --(git|cc) bind tree d ?rm %(file) bind tree 3 !@sh -c "echo -n %(file) | xclip -selection c" bind tree 9 !@sh -c "echo -n %(blob) | head -c7 | xclip -selection c" +bind tree 0 !@sh -c "echo -n %(blob) | head -c7 | xclip -selection c" #==================== # refs view -- cgit v1.2.3-70-g09d2