aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-05-25 22:56:13 +0800
committertypebrook <typebrook@gmail.com>2019-05-25 22:56:13 +0800
commit39ef9b504e37308c5e1bbc60b007051bec2f389a (patch)
treeb088235081774868bd5cad0dc25420159f2a215e /tigrc
parent65aa5c2005f6fb7b47cd37dfbedfe0f02b40e11b (diff)
update
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/tigrc b/tigrc
index 9fbdf71..b6eec2e 100644
--- a/tigrc
+++ b/tigrc
@@ -12,7 +12,7 @@ bind generic G move-last-line
12bind generic <C-H> scroll-left 12bind generic <C-H> scroll-left
13bind generic <C-L> scroll-right 13bind generic <C-L> scroll-right
14bind generic <Esc>l screen-redraw 14bind generic <Esc>l screen-redraw
15bind generic R :source ~/.tigrc 15bind generic R :source ~/.tigrc # apply tigrc settings
16 16
17# toggle/copy commit id 17# toggle/copy commit id
18bind generic xx +sh -c "echo -n %(commit) | head -c7 | xclip -sel c && echo Commit Clipped!" 18bind generic xx +sh -c "echo -n %(commit) | head -c7 | xclip -sel c && echo Commit Clipped!"
@@ -29,8 +29,6 @@ bind generic w :toggle ignore-case
29 29
30# refresh like modern browser 30# refresh like modern browser
31bind generic <C-R> refresh 31bind generic <C-R> refresh
32# apply tigrc settings
33
34 32
35# see reflog, reset refernece 33# see reflog, reset refernece
36bind generic L >sh -c "git reflog --pretty=raw | tig --pretty=raw" 34bind generic L >sh -c "git reflog --pretty=raw | tig --pretty=raw"
@@ -61,6 +59,9 @@ bind main ` :toggle commit-title-graph
61bind main F none 59bind main F none
62bind main <C-F> :toggle commit-title-refs 60bind main <C-F> :toggle commit-title-refs
63 61
62# edit tigrc
63bind main e >sh -c "vim ~/.tigrc"
64
64# move 65# move
65bind main <C-J> :move-next-merge 66bind main <C-J> :move-next-merge
66bind main <C-K> :move-prev-merge 67bind main <C-K> :move-prev-merge