summaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-05-02 00:06:14 +0800
committertypebrook <typebrook@gmail.com>2019-05-02 00:06:14 +0800
commitf28834b6365b705d951c0a7259da3b6a2e6826c6 (patch)
treebd717101337d8e1db3b59c9ae45ab6dd5f0c4ba2 /tigrc
parent1af9feadf3ab3a78b6ad573d6e661e16acc6fd0b (diff)
update
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/tigrc b/tigrc
index 4140024..3d067bc 100644
--- a/tigrc
+++ b/tigrc
@@ -8,6 +8,7 @@
8bind generic g none 8bind generic g none
9bind generic gg move-first-line 9bind generic gg move-first-line
10bind generic G move-last-line 10bind generic G move-last-line
11bind generic S none
11bind generic <C-H> scroll-left 12bind generic <C-H> scroll-left
12bind generic <C-L> none 13bind generic <C-L> none
13bind generic <C-L> scroll-right 14bind generic <C-L> scroll-right
@@ -126,8 +127,8 @@ bind main Su ?>git submodule update
126bind main Si ?>git submodule init 127bind main Si ?>git submodule init
127 128
128# make patches 129# make patches
129bind main ZZ ?>git format-patch %(commit) 130bind main PP ?>git format-patch %(commit)
130bind main Z1 ?>git format-patch -1 %(commit) 131bind main P1 ?>git format-patch -1 %(commit)
131 132
132# show diff based on revision 133# show diff based on revision
133bind main . >sh -c "git diff %(commit) | tig" 134bind main . >sh -c "git diff %(commit) | tig"