diff options
| author | typebrook <typebrook@gmail.com> | 2019-03-26 21:52:50 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-03-26 21:52:50 +0800 |
| commit | f37b2bc34509d37e5b22dc8e8d79cf1b58f3d1ca (patch) | |
| tree | e5e4c1b23381b0bdd0b4a8f7c6ef634c73ec938f | |
| parent | a9b48ef9f97a4b1255a63dca8e2524927729db96 (diff) | |
update
| -rw-r--r-- | tigrc | 10 |
1 files changed, 8 insertions, 2 deletions
| @@ -3,14 +3,20 @@ | |||
| 3 | # https://github.com/jonas/tig/wiki/Bindings | 3 | # https://github.com/jonas/tig/wiki/Bindings |
| 4 | 4 | ||
| 5 | # geineric | 5 | # geineric |
| 6 | bind generic x :toggle id | ||
| 7 | bind generic 9 !@sh -c "echo -n %(commit) | head -c7 | xclip -selection c" | ||
| 8 | bind generic g none | 6 | bind generic g none |
| 9 | bind generic gg move-first-line | 7 | bind generic gg move-first-line |
| 10 | bind generic G move-last-line | 8 | bind generic G move-last-line |
| 9 | |||
| 10 | bind generic x :toggle id | ||
| 11 | bind generic 9 !@sh -c "echo -n %(commit) | head -c7 | xclip -selection c" | ||
| 12 | |||
| 11 | bind generic E view-grep | 13 | bind generic E view-grep |
| 14 | |||
| 12 | bind generic w :toggle ignore-case | 15 | bind generic w :toggle ignore-case |
| 13 | 16 | ||
| 17 | bind generic 3 >sh -c "vim ~/.tigrc" | ||
| 18 | bind generic 4 :source ~/.tigrc | ||
| 19 | |||
| 14 | set ignore-case = true | 20 | set ignore-case = true |
| 15 | set line-graphics = utf-8 | 21 | set line-graphics = utf-8 |
| 16 | set refresh-mode = after-command | 22 | set refresh-mode = after-command |