aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErlend Fagerheim <erlendf80@gmail.com>2016-03-08 15:38:15 +0100
committerErlend Fagerheim <erlendf80@gmail.com>2016-03-08 15:38:15 +0100
commitf5e27d8ffa2e444e5663c5fb1e3f28201c4d7f6f (patch)
tree29a091177e14a2e081a5d59375431a15034805d8
parent19de55089e69605186a61da633809d75db67b0d5 (diff)
downloadvis-f5e27d8ffa2e444e5663c5fb1e3f28201c4d7f6f.tar.gz
vis-f5e27d8ffa2e444e5663c5fb1e3f28201c4d7f6f.tar.xz
Added page up and down keys for visual mode
-rw-r--r--config.def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 95c675e..8a3e4e9 100644
--- a/config.def.h
+++ b/config.def.h
@@ -267,6 +267,10 @@ static const KeyBinding bindings_visual[] = {
{ "v", ALIAS("<Escape>") },
{ "V", ACTION(MODE_VISUAL_LINE) },
{ ":", ACTION(PROMPT_SHOW_VISUAL) },
+ { "<C-b>", ALIAS("<PageUp>") },
+ { "<C-f>", ALIAS("<PageDown>") },
+ { "<C-u>", ALIAS("<S-PageUp>") },
+ { "<C-d>", ALIAS("<S-PageDown>") },
{ "x", ALIAS("d") },
{ "r", ALIAS("c") },
{ "s", ALIAS("c") },