summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2021-08-31 09:04:07 +0200
committerAndreas Schneider <asn@cryptomilk.org>2021-08-31 09:04:07 +0200
commit1651280311e8e085f3a257320d1a38ee7858296d (patch)
treedd7b777bc39098dd2047a6c73d65f6abd5a6b484
parent82838d6ba1a8cfbc9588e3732476211fd5632217 (diff)
downloaddotfiles-1651280311e8e085f3a257320d1a38ee7858296d.tar.gz
dotfiles-1651280311e8e085f3a257320d1a38ee7858296d.tar.xz
dotfiles-1651280311e8e085f3a257320d1a38ee7858296d.zip
tig: Map vim keys for scrolling
-rw-r--r--tig/.tigrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/tig/.tigrc b/tig/.tigrc
index 990cd93..b741d28 100644
--- a/tig/.tigrc
+++ b/tig/.tigrc
@@ -31,6 +31,12 @@ bind generic j move-down
bind generic k move-up
bind generic l scroll-right
+bind generic <Ctrl-d> scroll-half-page-down
+bind generic <Ctrl-f> scroll-page-down
+
+bind generic <Ctrl-u> scroll-half-page-up
+bind generic <Ctrl-b> scroll-page-down
+
bind generic g none
bind generic gg move-first-line
bind generic gj next