diff options
| author | typebrook <typebrook@gmail.com> | 2019-04-03 18:41:59 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-04-03 18:41:59 +0800 |
| commit | 4eb4288f46284e4b80cf75c122c9c1c0de6a9247 (patch) | |
| tree | 292a88140c002d564f0c8840141a043ca1712faf /tigrc | |
| parent | 0f13a5b8d1e4f328cc6c6a6d105a7edc8b56965f (diff) | |
update
Diffstat (limited to 'tigrc')
| -rw-r--r-- | tigrc | 15 |
1 files changed, 9 insertions, 6 deletions
| @@ -11,6 +11,7 @@ bind generic G move-last-line | |||
| 11 | bind generic <C-H> scroll-left | 11 | bind generic <C-H> scroll-left |
| 12 | bind generic <C-L> none | 12 | bind generic <C-L> none |
| 13 | bind generic <C-L> scroll-right | 13 | bind generic <C-L> scroll-right |
| 14 | bind generic <Esc>l screen-redraw | ||
| 14 | 15 | ||
| 15 | # toggle/copy commit id | 16 | # toggle/copy commit id |
| 16 | bind generic xx +sh -c "echo -n %(commit) | head -c7 | xclip -sel c && echo Commit Clipped!" | 17 | bind generic xx +sh -c "echo -n %(commit) | head -c7 | xclip -sel c && echo Commit Clipped!" |
| @@ -174,10 +175,10 @@ bind stash n @sh -c "git stash drop %(stash) | \ | |||
| 174 | #==================== | 175 | #==================== |
| 175 | # stage view | 176 | # stage view |
| 176 | #==================== | 177 | #==================== |
| 177 | bind stage <Ctrl-N> :/^@@ | 178 | bind stage <C-J> :/^@@ |
| 178 | bind stage <Ctrl-P> :?^@@ | 179 | bind stage <C-K> :?^@@ |
| 179 | bind stage <Esc>n :/^diff --(git|cc) | 180 | bind stage <Esc>j :/^diff --(git|cc) |
| 180 | bind stage <Esc>p :?^diff --(git|cc) | 181 | bind stage <Esc>k :?^diff --(git|cc) |
| 181 | 182 | ||
| 182 | #==================== | 183 | #==================== |
| 183 | # tree view | 184 | # tree view |
| @@ -223,8 +224,10 @@ bind log p :?^commit | |||
| 223 | #==================== | 224 | #==================== |
| 224 | # diff view | 225 | # diff view |
| 225 | #==================== | 226 | #==================== |
| 226 | bind diff <Esc>n :/^diff --(git|cc) | 227 | bind diff <C-J> :/^@@ |
| 227 | bind diff <Esc>p :?^diff --(git|cc) | 228 | bind diff <C-K> :?^@@ |
| 229 | bind diff <Esc>j :/^diff --(git|cc) | ||
| 230 | bind diff <Esc>k :?^diff --(git|cc) | ||
| 228 | 231 | ||
| 229 | #==================== | 232 | #==================== |
| 230 | # help view | 233 | # help view |