summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-03-26 11:42:14 +0800
committertypebrook <typebrook@gmail.com>2019-03-26 11:42:14 +0800
commit18ba127ec3ab476d4cfca56479c8a1ce372bb577 (patch)
tree8de3c2b67505e16d5a390c368e84058880280f0c
parent1059e1441e0f12506690d2e2b4b33c6700bced08 (diff)
update
-rw-r--r--tigrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/tigrc b/tigrc
index 0ffee14..d626a7b 100644
--- a/tigrc
+++ b/tigrc
@@ -66,7 +66,6 @@ bind status s ?git stash
66bind status S @git stash push -m "%(prompt Enter stash name: )" 66bind status S @git stash push -m "%(prompt Enter stash name: )"
67bind status gs !git stashstaged 67bind status gs !git stashstaged
68bind status p !git checkout --patch -- %(file) 68bind status p !git checkout --patch -- %(file)
69bind status Tu @git update-index --assume-unchanged %(file)
70 69
71bind status c @git commit -m "%(prompt Enter commit message: )" 70bind status c @git commit -m "%(prompt Enter commit message: )"
72bind status C !git commit 71bind status C !git commit
@@ -74,6 +73,9 @@ bind status a ?git commit --amend
74 73
75bind status D ?rm %(file) 74bind status D ?rm %(file)
76 75
76bind status <F4> !sh -c "git difftool -y \"$(git rev-parse --show-toplevel)/%(file)\""
77bind status Tu @git update-index --assume-unchanged %(file)
78
77# stash view 79# stash view
78bind stash a ?git stash apply %(stash) 80bind stash a ?git stash apply %(stash)
79bind stash n @sh -c "git stash drop %(stash) | \ 81bind stash n @sh -c "git stash drop %(stash) | \
@@ -95,4 +97,3 @@ bind refs bD ?git branch -D %(branch)
95# color 97# color
96color diff-header black yellow 98color diff-header black yellow
97color diff-chunk white magenta 99color diff-chunk white magenta
98bind status <F4> !sh -c "git difftool -y \"$(git rev-parse --show-toplevel)/%(file)\""