diff options
Diffstat (limited to 'tigrc')
-rw-r--r-- | tigrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,6 +12,7 @@ bind generic G move-last-line | |||
12 | # toggle/copy commit id | 12 | # toggle/copy commit id |
13 | bind generic x :toggle id | 13 | bind generic x :toggle id |
14 | bind generic 9 !@sh -c "echo -n %(commit) | head -c7 | xclip -selection c" | 14 | bind generic 9 !@sh -c "echo -n %(commit) | head -c7 | xclip -selection c" |
15 | bind generic 0 !@sh -c "echo -n %(commit) | xclip -selection c" | ||
15 | 16 | ||
16 | bind generic gr view-grep | 17 | bind generic gr view-grep |
17 | 18 | ||
@@ -60,6 +61,7 @@ bind main c @sh -c "git branch --points-at=%(commit) | \ | |||
60 | 61 | ||
61 | # commit | 62 | # commit |
62 | bind main a ?>git commit --amend | 63 | bind main a ?>git commit --amend |
64 | bind main e ?>git commit --allow-empty | ||
63 | 65 | ||
64 | # merge | 66 | # merge |
65 | bind main m ?git merge %(commit) | 67 | bind main m ?git merge %(commit) |
@@ -149,6 +151,7 @@ bind stage <Esc>p :?^diff --(git|cc) | |||
149 | bind tree d ?rm %(file) | 151 | bind tree d ?rm %(file) |
150 | bind tree 3 !@sh -c "echo -n %(file) | xclip -selection c" | 152 | bind tree 3 !@sh -c "echo -n %(file) | xclip -selection c" |
151 | bind tree 9 !@sh -c "echo -n %(blob) | head -c7 | xclip -selection c" | 153 | bind tree 9 !@sh -c "echo -n %(blob) | head -c7 | xclip -selection c" |
154 | bind tree 0 !@sh -c "echo -n %(blob) | head -c7 | xclip -selection c" | ||
152 | 155 | ||
153 | #==================== | 156 | #==================== |
154 | # refs view | 157 | # refs view |