diff options
Diffstat (limited to 'tigrc')
| -rw-r--r-- | tigrc | 6 |
1 files changed, 2 insertions, 4 deletions
| @@ -9,11 +9,10 @@ bind generic g none | |||
| 9 | bind generic gp view-grep | 9 | bind generic gp view-grep |
| 10 | bind generic gg move-first-line | 10 | bind generic gg move-first-line |
| 11 | bind generic G move-last-line | 11 | bind generic G move-last-line |
| 12 | bind generic S none | ||
| 13 | bind generic <C-H> scroll-left | 12 | bind generic <C-H> scroll-left |
| 14 | bind generic <C-L> none | ||
| 15 | bind generic <C-L> scroll-right | 13 | bind generic <C-L> scroll-right |
| 16 | bind generic <Esc>l screen-redraw | 14 | bind generic <Esc>l screen-redraw |
| 15 | bind generic R :source ~/.tigrc | ||
| 17 | 16 | ||
| 18 | # toggle/copy commit id | 17 | # toggle/copy commit id |
| 19 | 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!" |
| @@ -32,8 +31,6 @@ bind generic w :toggle ignore-case | |||
| 32 | bind generic <C-R> refresh | 31 | bind generic <C-R> refresh |
| 33 | # apply tigrc settings | 32 | # apply tigrc settings |
| 34 | 33 | ||
| 35 | bind generic R none | ||
| 36 | bind generic R :source ~/.tigrc | ||
| 37 | 34 | ||
| 38 | # see reflog, reset refernece | 35 | # see reflog, reset refernece |
| 39 | bind generic L >sh -c "git reflog --pretty=raw | tig --pretty=raw" | 36 | bind generic L >sh -c "git reflog --pretty=raw | tig --pretty=raw" |
| @@ -80,6 +77,7 @@ bind main bd @git branch -d "%(prompt Delete branch: )" | |||
| 80 | bind main bbd @git branch -d %(branch) | 77 | bind main bbd @git branch -d %(branch) |
| 81 | bind main bD ?>git branch -D "%(prompt Delete branch anyway: )" | 78 | bind main bD ?>git branch -D "%(prompt Delete branch anyway: )" |
| 82 | bind main bbD ?>git branch -D %(branch) | 79 | bind main bbD ?>git branch -D %(branch) |
| 80 | bind main brd ?git branch -rd %(remote)/%(branch) | ||
| 83 | bind main bv +sh -c "git branch -vv | grep %(branch)" | 81 | bind main bv +sh -c "git branch -vv | grep %(branch)" |
| 84 | bind main bm @git branch -m %(branch) "%(prompt New branch name: )" | 82 | bind main bm @git branch -m %(branch) "%(prompt New branch name: )" |
| 85 | bind main bM @git branch -f "%(prompt Move which branch to here? )" %(commit) | 83 | bind main bM @git branch -f "%(prompt Move which branch to here? )" %(commit) |