aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc9
1 files changed, 4 insertions, 5 deletions
diff --git a/tigrc b/tigrc
index de27e3a..7bfca6f 100644
--- a/tigrc
+++ b/tigrc
@@ -8,7 +8,7 @@
8bind generic g none 8bind generic g none
9bind generic gg move-first-line 9bind generic gg move-first-line
10bind generic G move-last-line 10bind generic G move-last-line
11bind generic <C-h> scroll-left 11bind generic <C-H> scroll-left
12bind generic <C-L> none 12bind generic <C-L> none
13bind generic <C-L> scroll-right 13bind generic <C-L> scroll-right
14 14
@@ -105,7 +105,7 @@ bind main V @git log -S "%(prompt Enter search word: )"
105 105
106# make patches 106# make patches
107bind main S ?>git format-patch -1 %(commit) 107bind main S ?>git format-patch -1 %(commit)
108bind main <C-s> ?>git format-patch %(commit) 108bind main <C-S> ?>git format-patch %(commit)
109 109
110# show diff based on revision 110# show diff based on revision
111bind main . >sh -c "git diff %(commit) | tig" 111bind main . >sh -c "git diff %(commit) | tig"
@@ -142,7 +142,6 @@ bind status U !git checkout --patch -- %(file)
142 142
143bind status c @git commit -m "%(prompt Enter commit message: )" 143bind status c @git commit -m "%(prompt Enter commit message: )"
144bind status a ?>git commit --amend 144bind status a ?>git commit --amend
145bind status p none
146bind status p ?>sh -c "git commit -m 'update' && git push" 145bind status p ?>sh -c "git commit -m 'update' && git push"
147 146
148bind status D ?>rm %(file) 147bind status D ?>rm %(file)
@@ -151,7 +150,7 @@ bind status <F4> !sh -c "git difftool -y \"$(git rev-parse --show-toplevel)/%(fi
151bind status Tu @git update-index --assume-unchanged %(file) 150bind status Tu @git update-index --assume-unchanged %(file)
152 151
153# apply patch file 152# apply patch file
154bind status <C-o> ?git am %(file) 153bind status <C-O> ?git am %(file)
155 154
156#==================== 155#====================
157# stash view 156# stash view
@@ -197,7 +196,7 @@ bind refs c @git checkout %(branch)
197bind refs b none 196bind refs b none
198bind refs bd @git branch -d %(branch) 197bind refs bd @git branch -d %(branch)
199bind refs bD ?git branch -D %(branch) 198bind refs bD ?git branch -D %(branch)
200bind refs rbd ?git push %(remote) :%(branch) 199bind refs pd ?git push %(remote) :%(branch)
201bind refs r none 200bind refs r none
202bind refs rbu ?git branch -rd %(remote)/%(branch) 201bind refs rbu ?git branch -rd %(remote)/%(branch)
203 202