From 39ef9b504e37308c5e1bbc60b007051bec2f389a Mon Sep 17 00:00:00 2001 From: typebrook Date: Sat, 25 May 2019 22:56:13 +0800 Subject: update --- tigrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tigrc') diff --git a/tigrc b/tigrc index 9fbdf71..b6eec2e 100644 --- a/tigrc +++ b/tigrc @@ -12,7 +12,7 @@ bind generic G move-last-line bind generic scroll-left bind generic scroll-right bind generic l screen-redraw -bind generic R :source ~/.tigrc +bind generic R :source ~/.tigrc # apply tigrc settings # toggle/copy commit id bind generic xx +sh -c "echo -n %(commit) | head -c7 | xclip -sel c && echo Commit Clipped!" @@ -29,8 +29,6 @@ bind generic w :toggle ignore-case # refresh like modern browser bind generic refresh -# apply tigrc settings - # see reflog, reset refernece bind generic L >sh -c "git reflog --pretty=raw | tig --pretty=raw" @@ -61,6 +59,9 @@ bind main ` :toggle commit-title-graph bind main F none bind main :toggle commit-title-refs +# edit tigrc +bind main e >sh -c "vim ~/.tigrc" + # move bind main :move-next-merge bind main :move-prev-merge -- cgit v1.2.3-70-g09d2