diff options
| author | typebrook <typebrook@gmail.com> | 2019-04-01 14:40:50 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-04-01 14:40:50 +0800 |
| commit | 905be0793fb8f71dd01a46ddb4680fecc0c4b9f9 (patch) | |
| tree | 3e55a85a07ce98e39eb7f65dc992750dc25ef4dd | |
| parent | 8998fc61aa76d3cd7abefec8631f0bab7a1b7fef (diff) | |
update
| -rw-r--r-- | tigrc | 9 |
1 files changed, 6 insertions, 3 deletions
| @@ -176,12 +176,15 @@ bind stage <Esc>p :?^diff --(git|cc) | |||
| 176 | #==================== | 176 | #==================== |
| 177 | set tree-view = author:abbreviated date:relative mode file-size:units file-name | 177 | set tree-view = author:abbreviated date:relative mode file-size:units file-name |
| 178 | 178 | ||
| 179 | bind tree t +git cat-file -p %(commit) | ||
| 180 | |||
| 179 | bind tree d ?rm %(file) | 181 | bind tree d ?rm %(file) |
| 180 | 182 | ||
| 183 | bind tree xx +sh -c "echo -n %(blob) | head -c7 | xclip -sel c && echo Blob Clipped" | ||
| 184 | bind tree xb +sh -c "echo -n %(blob) | xclip -sel c && echo Full Blob Clipped" | ||
| 185 | bind tree xt +sh -c "git cat-file -p %(commit) | head -1 | cut -f 2 -d ' ' | xclip -sel c && echo Tree Clipped" | ||
| 181 | bind tree xf +sh -c "echo -n %(file) | xclip -selection c && echo File Clipped" | 186 | bind tree xf +sh -c "echo -n %(file) | xclip -selection c && echo File Clipped" |
| 182 | bind tree xx +sh -c "echo -n %(blob) | head -c7 | xclip -selection c && echo Blob Clipped" | 187 | bind tree xc +sh -c "echo -n %(commit) | head -c7 | xclip -sel c && echo Commit Clipped" |
| 183 | bind tree xc +sh -c "echo -n %(commit) | head -c7 | xclip -selection c && echo Commit Clipped" | ||
| 184 | bind tree xb +sh -c "echo -n %(blob) | xclip -selection c && echo Full Blob Clipped" | ||
| 185 | 188 | ||
| 186 | #==================== | 189 | #==================== |
| 187 | # refs view | 190 | # refs view |