diff options
| author | typebrook <typebrook@gmail.com> | 2019-02-25 11:08:25 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-02-25 11:08:25 +0800 |
| commit | 2e80562f23bf616c15adb423c05c0da441e3ff47 (patch) | |
| tree | 423efc1334143e11e360fc3b9ab19bc1e570ed8f /tigrc | |
| parent | 1f616a2fb6e7721145df21163f4c5fcb1d5d42b3 (diff) | |
update
Diffstat (limited to 'tigrc')
| -rw-r--r-- | tigrc | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -2,7 +2,7 @@ bind generic x :toggle id | |||
| 2 | bind generic 9 !@sh -c "echo -n %(commit) | head -c7 | xclip -selection c" | 2 | bind generic 9 !@sh -c "echo -n %(commit) | head -c7 | xclip -selection c" |
| 3 | 3 | ||
| 4 | bind main c !?git checkout %(commit) | 4 | bind main c !?git checkout %(commit) |
| 5 | bind main T !?git show %(tag) | 5 | bind main T !@git tag "%(prompt Enter tag name: )" %(commit) |
| 6 | bind main <Ctrl-r> !?git rebase -i %(commit) | 6 | bind main <Ctrl-r> !?git rebase -i %(commit) |
| 7 | 7 | ||
| 8 | set main-view = \ | 8 | set main-view = \ |
| @@ -19,6 +19,7 @@ set blame-view = \ | |||
| 19 | line-number:yes,interval=5 text | 19 | line-number:yes,interval=5 text |
| 20 | 20 | ||
| 21 | bind status S !?git stash | 21 | bind status S !?git stash |
| 22 | bind status P !?git stash pop | ||
| 22 | bind status D !rm %(file) | 23 | bind status D !rm %(file) |
| 23 | bind status a !git commit --amend | 24 | bind status a !git commit --amend |
| 24 | 25 | ||
| @@ -26,3 +27,4 @@ bind stash D !?git stash drop %(stash) | |||
| 26 | bind stash A !?git stash apply %(stash) | 27 | bind stash A !?git stash apply %(stash) |
| 27 | 28 | ||
| 28 | bind refs d !?git branch -d %(branch) | 29 | bind refs d !?git branch -d %(branch) |
| 30 | bind refs c !?git checkout %(branch) | ||