From c6a7bc90cab372977e76f8fa1090ee984b99de12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ga=C3=A9tan=20Lepage?=
<33058747+GaetanLepage@users.noreply.github.com>
Date: Wed, 22 Mar 2023 10:50:13 +0100
Subject: [PATCH] zathura: add documentation for mode-specific mappings (#3797)
---
modules/programs/zathura.nix | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/programs/zathura.nix b/modules/programs/zathura.nix
index 769ec710..b043fa23 100644
--- a/modules/programs/zathura.nix
+++ b/modules/programs/zathura.nix
@@ -58,10 +58,14 @@ in {
5
for the full list of possible mappings.
+
+ You can create a mode-specific mapping by specifying the mode before the key:
+ "[normal] <C-b>" = "scroll left";
'';
example = {
D = "toggle_page_mode";
"" = "navigate next";
+ "[fullscreen] " = "zoom in";
};
};