From 864c95007fb5083da2de4ce9f6d35a8ec7523e8f Mon Sep 17 00:00:00 2001 From: Jan Verbeek Date: Sun, 7 Aug 2016 14:29:52 +0200 Subject: [PATCH] Unhide :insert-text and allow outside insert mode :insert-text works if a text element is focused, even outside insert mode. --- qutebrowser/browser/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index cd60510dd..d60ba3c49 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -1437,8 +1437,8 @@ class CommandDispatcher: self.insert_text(utils.get_clipboard()) @cmdutils.register(instance='command-dispatcher', maxsplit=0, - modes=[KeyMode.insert], hide=True, scope='window', - needs_js=True, backend=usertypes.Backend.QtWebKit) + scope='window', needs_js=True, + backend=usertypes.Backend.QtWebKit) def insert_text(self, text): """Insert text at cursor position.