diff options
author | typebrook <typebrook@gmail.com> | 2019-03-30 00:53:42 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-03-30 00:53:42 +0800 |
commit | 59d44d76f8e5292dd00b9728a532160fcc8f3a42 (patch) | |
tree | fa72fb818bb4a6d5740e2e39212dd2f2d8562832 | |
parent | f1a44ae89cead1ec78f70d0bde724a7ccc1615c6 (diff) |
update
-rw-r--r-- | tigrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -15,6 +15,7 @@ bind generic <C-L> scroll-right | |||
15 | # toggle/copy commit id | 15 | # toggle/copy commit id |
16 | bind generic xx !@sh -c "echo -n %(commit) | head -c7 | xclip -selection c" | 16 | bind generic xx !@sh -c "echo -n %(commit) | head -c7 | xclip -selection c" |
17 | bind generic xc !@sh -c "echo -n %(commit) | xclip -selection c" | 17 | bind generic xc !@sh -c "echo -n %(commit) | xclip -selection c" |
18 | bind generic xb !@sh -c "echo -n %(branch) | xclip -selection c" | ||
18 | 19 | ||
19 | bind generic gr view-grep | 20 | bind generic gr view-grep |
20 | 21 | ||
@@ -47,6 +48,8 @@ set main-view = \ | |||
47 | id \ | 48 | id \ |
48 | commit-title:graph=v2,refs=true | 49 | commit-title:graph=v2,refs=true |
49 | 50 | ||
51 | bind main G none | ||
52 | bind main G move-last-line | ||
50 | bind main ` :toggle commit-title-graph | 53 | bind main ` :toggle commit-title-graph |
51 | 54 | ||
52 | bind main o :goto %(commit)^2 | 55 | bind main o :goto %(commit)^2 |
@@ -104,9 +107,6 @@ bind main <C-s> ?>git format-patch %(commit) | |||
104 | bind main . >sh -c "git diff %(commit) | tig" | 107 | bind main . >sh -c "git diff %(commit) | tig" |
105 | bind main > >sh -c "git diff %(commit) --no-prefix -U1000 | tig" | 108 | bind main > >sh -c "git diff %(commit) --no-prefix -U1000 | tig" |
106 | 109 | ||
107 | # misc | ||
108 | bind generic 4 !@sh -c "echo -n %(branch) | xclip -selection c" | ||
109 | |||
110 | #==================== | 110 | #==================== |
111 | # blame view | 111 | # blame view |
112 | #==================== | 112 | #==================== |