diff options
-rw-r--r-- | tigrc | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -24,8 +24,8 @@ bind generic gr view-grep | |||
24 | bind generic w :toggle ignore-case | 24 | bind generic w :toggle ignore-case |
25 | 25 | ||
26 | # edit tigrc | 26 | # edit tigrc |
27 | bind generic 3 >sh -c "vim ~/.tigrc" | 27 | bind generic e >sh -c "vim ~/.tigrc" |
28 | bind generic 4 :source ~/.tigrc | 28 | bind generic E :source ~/.tigrc |
29 | 29 | ||
30 | # see reflog, reset refernece | 30 | # see reflog, reset refernece |
31 | bind generic L >sh -c "git reflog --pretty=raw | tig --pretty=raw" | 31 | bind generic L >sh -c "git reflog --pretty=raw | tig --pretty=raw" |
@@ -67,7 +67,7 @@ bind main c @sh -c "git branch --points-at=%(commit) | \ | |||
67 | 67 | ||
68 | # commit | 68 | # commit |
69 | bind main a ?>git commit --amend | 69 | bind main a ?>git commit --amend |
70 | bind main e >git commit --allow-empty -m "%(prompt Enter commit message: )" | 70 | bind main 3 >git commit --allow-empty -m "%(prompt Enter commit message: )" |
71 | 71 | ||
72 | # merge | 72 | # merge |
73 | bind main m ?git merge %(commit) | 73 | bind main m ?git merge %(commit) |
@@ -168,6 +168,10 @@ bind refs c @git checkout %(branch) | |||
168 | bind refs bd ?git branch -d %(branch) | 168 | bind refs bd ?git branch -d %(branch) |
169 | bind refs bD ?git branch -D %(branch) | 169 | bind refs bD ?git branch -D %(branch) |
170 | 170 | ||
171 | bind refs U ?git fetch -all | ||
172 | bind refs F ?git fetch %(remote) | ||
173 | bind refs <C-F> ?git fetch %(remote) %(branch) | ||
174 | |||
171 | bind refs . >sh -c "git diff %(branch) | tig" | 175 | bind refs . >sh -c "git diff %(branch) | tig" |
172 | bind refs > >sh -c "git diff %(branch) --prefix -U1000 | tig" | 176 | bind refs > >sh -c "git diff %(branch) --prefix -U1000 | tig" |
173 | 177 | ||