aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
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"