diff options
| author | typebrook <typebrook@gmail.com> | 2019-05-17 17:56:33 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-05-17 17:56:33 +0800 |
| commit | b8819106319f4b5d105a99eaaf2254bd2e4d3342 (patch) | |
| tree | 2304ad4abc87bc9959358dd9b03546f89293795d | |
| parent | 414d6921145a383f93a627d0bd9ebfdb0b445cf1 (diff) | |
update
| -rw-r--r-- | tigrc | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -31,6 +31,9 @@ bind generic w :toggle ignore-case | |||
| 31 | 31 | ||
| 32 | # refresh like modern browser | 32 | # refresh like modern browser |
| 33 | bind generic <C-R> refresh | 33 | bind generic <C-R> refresh |
| 34 | # apply tigrc settings | ||
| 35 | bind generic R none | ||
| 36 | bind generic R :source ~/.tigrc | ||
| 34 | 37 | ||
| 35 | # see reflog, reset refernece | 38 | # see reflog, reset refernece |
| 36 | bind generic L >sh -c "git reflog --pretty=raw | tig --pretty=raw" | 39 | bind generic L >sh -c "git reflog --pretty=raw | tig --pretty=raw" |
| @@ -58,6 +61,8 @@ set main-view = \ | |||
| 58 | bind main G none | 61 | bind main G none |
| 59 | bind main G move-last-line | 62 | bind main G move-last-line |
| 60 | bind main ` :toggle commit-title-graph | 63 | bind main ` :toggle commit-title-graph |
| 64 | bind main F none | ||
| 65 | bind main <C-F> :toggle commit-title-refs | ||
| 61 | 66 | ||
| 62 | # move | 67 | # move |
| 63 | bind main <C-J> :move-next-merge | 68 | bind main <C-J> :move-next-merge |
| @@ -278,7 +283,6 @@ bind diff u @git checkout %(commit)^ %(file) | |||
| 278 | 283 | ||
| 279 | # edit tigrc | 284 | # edit tigrc |
| 280 | bind help e >sh -c "vim ~/.tigrc" | 285 | bind help e >sh -c "vim ~/.tigrc" |
| 281 | bind help <C-R> :source ~/.tigrc | ||
| 282 | 286 | ||
| 283 | #==================== | 287 | #==================== |
| 284 | # color | 288 | # color |