From 86e4f648f2fcf7191a0997fde2cf1be1f8e11313 Mon Sep 17 00:00:00 2001 From: typebrook Date: Fri, 24 May 2019 14:34:30 +0800 Subject: update --- alias | 1 + tigrc | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/alias b/alias index dffc80e..0b35b79 100644 --- a/alias +++ b/alias @@ -157,3 +157,4 @@ alias mm='mkvmerge -o out.webm -w 01.webm + 02.webm' repo='git@github.com' typebrook='git@github.com:typebrook' +hub='https://github.com' diff --git a/tigrc b/tigrc index 7d637ab..e1e1abe 100644 --- a/tigrc +++ b/tigrc @@ -9,11 +9,10 @@ bind generic g none bind generic gp view-grep bind generic gg move-first-line bind generic G move-last-line -bind generic S none bind generic scroll-left -bind generic none bind generic scroll-right bind generic l screen-redraw +bind generic R :source ~/.tigrc # toggle/copy commit id bind generic xx +sh -c "echo -n %(commit) | head -c7 | xclip -sel c && echo Commit Clipped!" @@ -32,8 +31,6 @@ bind generic w :toggle ignore-case bind generic refresh # apply tigrc settings -bind generic R none -bind generic R :source ~/.tigrc # see reflog, reset refernece bind generic L >sh -c "git reflog --pretty=raw | tig --pretty=raw" @@ -80,6 +77,7 @@ bind main bd @git branch -d "%(prompt Delete branch: )" bind main bbd @git branch -d %(branch) bind main bD ?>git branch -D "%(prompt Delete branch anyway: )" bind main bbD ?>git branch -D %(branch) +bind main brd ?git branch -rd %(remote)/%(branch) bind main bv +sh -c "git branch -vv | grep %(branch)" bind main bm @git branch -m %(branch) "%(prompt New branch name: )" bind main bM @git branch -f "%(prompt Move which branch to here? )" %(commit) -- cgit v1.2.3-70-g09d2