diff options
Diffstat (limited to 'tigrc')
-rw-r--r-- | tigrc | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -23,10 +23,6 @@ bind generic gr view-grep | |||
23 | # toggle case sensitive for search | 23 | # toggle case sensitive for search |
24 | bind generic w :toggle ignore-case | 24 | bind generic w :toggle ignore-case |
25 | 25 | ||
26 | # edit tigrc | ||
27 | bind generic e >sh -c "vim ~/.tigrc" | ||
28 | bind generic E :source ~/.tigrc | ||
29 | |||
30 | # see reflog, reset refernece | 26 | # see reflog, reset refernece |
31 | bind generic L >sh -c "git reflog --pretty=raw | tig --pretty=raw" | 27 | bind generic L >sh -c "git reflog --pretty=raw | tig --pretty=raw" |
32 | bind generic ; ?git reset --hard HEAD@{"%(prompt Enter HEAD@{} number: )"} | 28 | bind generic ; ?git reset --hard HEAD@{"%(prompt Enter HEAD@{} number: )"} |
@@ -197,5 +193,13 @@ bind diff <Esc>n :/^diff --(git|cc) | |||
197 | bind diff <Esc>p :?^diff --(git|cc) | 193 | bind diff <Esc>p :?^diff --(git|cc) |
198 | 194 | ||
199 | #==================== | 195 | #==================== |
196 | # help view | ||
197 | #==================== | ||
198 | |||
199 | # edit tigrc | ||
200 | bind help e >sh -c "vim ~/.tigrc" | ||
201 | bind help E :source ~/.tigrc | ||
202 | |||
203 | #==================== | ||
200 | # color | 204 | # color |
201 | color diff-chunk white magenta | 205 | color diff-chunk white magenta |