summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/help/commands.asciidoc4
-rw-r--r--qutebrowser/keyinput/modeman.py4
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc
index 7b30368e5..b2fc99a5e 100644
--- a/doc/help/commands.asciidoc
+++ b/doc/help/commands.asciidoc
@@ -513,7 +513,9 @@ Syntax: +:enter-mode 'mode'+
Enter a key mode.
==== positional arguments
-* +'mode'+: The mode to enter.
+* +'mode'+: The mode to enter. See `:help bindings.commands` for the available modes, but note that hint/command/yesno/prompt mode
+ can't be entered manually.
+
[[fake-key]]
=== fake-key
diff --git a/qutebrowser/keyinput/modeman.py b/qutebrowser/keyinput/modeman.py
index 16c38b364..0389c9ab9 100644
--- a/qutebrowser/keyinput/modeman.py
+++ b/qutebrowser/keyinput/modeman.py
@@ -277,7 +277,9 @@ class ModeManager(QObject):
"""Enter a key mode.
Args:
- mode: The mode to enter.
+ mode: The mode to enter. See `:help bindings.commands` for the
+ available modes, but note that hint/command/yesno/prompt mode
+ can't be entered manually.
"""
try:
m = usertypes.KeyMode[mode]