From 3912b2310bb35a00a0dd454ae7a95ac2929bd06f Mon Sep 17 00:00:00 2001 From: finga Date: Tue, 12 Jun 2018 14:04:55 +0200 Subject: [PATCH] update key bindings --- .config/qutebrowser/config.py | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index 34785e1..0ca8a80 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -935,7 +935,7 @@ c.input.forward_unbound_keys = 'all' ## Automatically enter insert mode if an editable element is focused ## after loading the page. ## Type: Bool -c.input.insert_mode.auto_load = True +# c.input.insert_mode.auto_load = False ## Switch to insert mode when clicking flash and other plugins. ## Type: Bool @@ -1447,6 +1447,7 @@ config.bind('', 'scroll-to-perc 100') # config.bind('', 'tab-focus last') # config.bind('', 'scroll-page 0 -0.5') # config.bind('', 'enter-mode passthrough') +config.bind('e', 'enter-mode passthrough') # config.bind('', 'tab-close') config.bind('k', 'tab-close') # config.bind('k', 'set-cmd-text -s :tab-close') @@ -1633,6 +1634,7 @@ config.bind('', 'command-history-prev', mode='command') # config.bind('', 'completion-item-focus next-category', mode='command') # config.bind('', 'rl-unix-line-discard', mode='command') # config.bind('', 'rl-unix-word-rubout', mode='command') +# config.bind('', 'rl-yank', mode='command') config.bind('', 'rl-yank', mode='command') # config.bind('', 'completion-item-focus --history next', mode='command') config.bind('', 'leave-mode', mode='command') @@ -1642,6 +1644,7 @@ config.bind('', 'command-accept', mode='command') # config.bind('', 'completion-item-focus prev', mode='command') config.bind('', 'completion-item-focus next', mode='command') # config.bind('', 'completion-item-focus --history prev', mode='command') +config.bind('', 'undo') ## Bindings for hint mode # config.bind('', 'hint all tab-bg', mode='hint') @@ -1653,14 +1656,24 @@ config.bind('', 'leave-mode', mode='hint') ## Bindings for insert mode # config.bind('', 'open-editor', mode='insert') -config.bind('', mode='insert') -config.bind('', mode='insert') +# config.bind('', 'rl-backward-word', mode='insert') +# config.bind('', 'rl-backward-kill-word', mode='insert') +# config.bind('', 'rl-kill-word', mode='insert') +# config.bind('', 'rl-forward-word', mode='insert') +# config.bind('', 'rl-beginning-of-line', mode='insert') +# config.bind('', 'rl-backward-char', mode='insert') +# config.bind('', 'rl-end-of-line', mode='insert') +# config.bind('', 'rl-forward-char', mode='insert') +# config.bind('', 'rl-kill-line', mode='insert') +# config.bind('', 'rl-yank', mode='insert') config.bind('', 'leave-mode', mode='insert') config.bind('', 'leave-mode', mode='insert') # config.bind('', 'insert-text {primary}', mode='insert') ## Bindings for passthrough mode # config.bind('', 'leave-mode', mode='passthrough') +config.bind('', 'leave-mode', mode='passthrough') +config.bind('', 'leave-mode', mode='passthrough') ## Bindings for prompt mode # config.bind('', 'rl-backward-word', mode='prompt')