From 943d518588e808a31ca74c055d1c56b25d0485cf Mon Sep 17 00:00:00 2001 From: typebrook Date: Wed, 27 Mar 2019 16:44:30 +0800 Subject: update --- tigrc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'tigrc') diff --git a/tigrc b/tigrc index 2c6a224..75c2ae4 100644 --- a/tigrc +++ b/tigrc @@ -8,8 +8,9 @@ bind generic g none bind generic gg move-first-line bind generic G move-last-line -bind generic scroll-left -bind generic scroll-right +bind generic scroll-left +bind generic none +bind generic scroll-right # toggle/copy commit id bind generic o none @@ -79,7 +80,7 @@ bind main P ?git push %(remote) %(branch):%(branch) # reset/rebase/revert bind main u ?git reset %(commit) --soft bind main U ?sh -c "git stash push -m 'deprecated from reset' && git reset %(commit) --hard" -bind main !?git rebase -i %(commit) +bind main !?git rebase -i %(commit) bind main ! ?git revert %(commit) # tag @@ -96,7 +97,7 @@ bind main V @git log -S "%(prompt Enter search word: )" # make patches bind main S ?>git format-patch -1 %(commit) -bind main ?>git format-patch %(commit) +bind main ?>git format-patch %(commit) # show diff based on revision bind main . >sh -c "git diff %(commit) | tig" @@ -128,7 +129,7 @@ bind status !sh -c "git difftool -y \"$(git rev-parse --show-toplevel)/%(fi bind status Tu @git update-index --assume-unchanged %(file) # apply patch file -bind status ?git am %(file) +bind status ?git am %(file) #==================== # stash view -- cgit v1.2.3-70-g09d2