From 5dbfff016e70941f86c3a2a95dd90e4bb644c2f4 Mon Sep 17 00:00:00 2001 From: Marc Jauvin Date: Fri, 12 Jan 2018 17:05:47 -0500 Subject: [PATCH] replace persist_mode_on_change with mode_on_change supports old persist_mode_on_change functionality or new save/restore mode --- qutebrowser/config/configdata.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml index a118a8b59..ebe52b7ea 100644 --- a/qutebrowser/config/configdata.yml +++ b/qutebrowser/config/configdata.yml @@ -1251,10 +1251,15 @@ tabs.padding: type: Padding desc: Padding (in pixels) around text for tabs. -tabs.persist_mode_on_change: - default: false - type: Bool - desc: Stay in insert/passthrough mode when switching tabs. +tabs.mode_on_change: + default: normal + type: + name: String + valid_values: + - persist: "retain the current mode." + - restore: "restore previously saved mode" + - normal: "always revert to normal mode" + desc: When switching tabs, what input mode is applied. tabs.position: default: top