diff options
author | typebrook <typebrook@gmail.com> | 2019-05-25 22:56:13 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-05-25 22:56:13 +0800 |
commit | 39ef9b504e37308c5e1bbc60b007051bec2f389a (patch) | |
tree | b088235081774868bd5cad0dc25420159f2a215e /tigrc | |
parent | 65aa5c2005f6fb7b47cd37dfbedfe0f02b40e11b (diff) |
update
Diffstat (limited to 'tigrc')
-rw-r--r-- | tigrc | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -12,7 +12,7 @@ bind generic G move-last-line | |||
12 | bind generic <C-H> scroll-left | 12 | bind generic <C-H> scroll-left |
13 | bind generic <C-L> scroll-right | 13 | bind generic <C-L> scroll-right |
14 | bind generic <Esc>l screen-redraw | 14 | bind generic <Esc>l screen-redraw |
15 | bind generic R :source ~/.tigrc | 15 | bind generic R :source ~/.tigrc # apply tigrc settings |
16 | 16 | ||
17 | # toggle/copy commit id | 17 | # toggle/copy commit id |
18 | bind generic xx +sh -c "echo -n %(commit) | head -c7 | xclip -sel c && echo Commit Clipped!" | 18 | bind 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 |
31 | bind generic <C-R> refresh | 31 | bind generic <C-R> refresh |
32 | # apply tigrc settings | ||
33 | |||
34 | 32 | ||
35 | # see reflog, reset refernece | 33 | # see reflog, reset refernece |
36 | bind generic L >sh -c "git reflog --pretty=raw | tig --pretty=raw" | 34 | bind generic L >sh -c "git reflog --pretty=raw | tig --pretty=raw" |
@@ -61,6 +59,9 @@ bind main ` :toggle commit-title-graph | |||
61 | bind main F none | 59 | bind main F none |
62 | bind main <C-F> :toggle commit-title-refs | 60 | bind main <C-F> :toggle commit-title-refs |
63 | 61 | ||
62 | # edit tigrc | ||
63 | bind main e >sh -c "vim ~/.tigrc" | ||
64 | |||
64 | # move | 65 | # move |
65 | bind main <C-J> :move-next-merge | 66 | bind main <C-J> :move-next-merge |
66 | bind main <C-K> :move-prev-merge | 67 | bind main <C-K> :move-prev-merge |