aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-03-28 14:58:19 +0800
committertypebrook <typebrook@gmail.com>2019-03-28 21:08:14 +0800
commit5a914bc8164781697ac2430e839982e1e4c081e6 (patch)
tree98537322e2762c4242c0871bcc8319b4dd24462c /tigrc
parente00ba88721632b62f03a239e3c810465d869cb6e (diff)
update
Diffstat (limited to 'tigrc')
-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