aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-03-30 00:53:42 +0800
committertypebrook <typebrook@gmail.com>2019-03-30 00:53:42 +0800
commit59d44d76f8e5292dd00b9728a532160fcc8f3a42 (patch)
treefa72fb818bb4a6d5740e2e39212dd2f2d8562832 /tigrc
parentf1a44ae89cead1ec78f70d0bde724a7ccc1615c6 (diff)
update
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tigrc b/tigrc
index 7c7403b..4a3b74e 100644
--- a/tigrc
+++ b/tigrc
@@ -15,6 +15,7 @@ bind generic <C-L> scroll-right
15# toggle/copy commit id 15# toggle/copy commit id
16bind generic xx !@sh -c "echo -n %(commit) | head -c7 | xclip -selection c" 16bind generic xx !@sh -c "echo -n %(commit) | head -c7 | xclip -selection c"
17bind generic xc !@sh -c "echo -n %(commit) | xclip -selection c" 17bind generic xc !@sh -c "echo -n %(commit) | xclip -selection c"
18bind generic xb !@sh -c "echo -n %(branch) | xclip -selection c"
18 19
19bind generic gr view-grep 20bind 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
51bind main G none
52bind main G move-last-line
50bind main ` :toggle commit-title-graph 53bind main ` :toggle commit-title-graph
51 54
52bind main o :goto %(commit)^2 55bind main o :goto %(commit)^2
@@ -104,9 +107,6 @@ bind main <C-s> ?>git format-patch %(commit)
104bind main . >sh -c "git diff %(commit) | tig" 107bind main . >sh -c "git diff %(commit) | tig"
105bind main > >sh -c "git diff %(commit) --no-prefix -U1000 | tig" 108bind main > >sh -c "git diff %(commit) --no-prefix -U1000 | tig"
106 109
107# misc
108bind generic 4 !@sh -c "echo -n %(branch) | xclip -selection c"
109
110#==================== 110#====================
111# blame view 111# blame view
112#==================== 112#====================