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