From 8d0fdf6a6c597339832cadedcf7c57b35e0b7cd7 Mon Sep 17 00:00:00 2001 From: surtur Date: Tue, 23 Aug 2022 16:16:46 +0200 Subject: [PATCH] qutebrowser: set editor.{command,encoding} --- .config/qutebrowser/config.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index 180bed9..cbd92fd 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -312,6 +312,19 @@ c.content.webgl = True # Type: Bool c.content.mute = True +# Editor (and arguments) to use for the `edit-*` commands. The following +# placeholders are defined: * `{file}`: Filename of the file to be +# edited. * `{line}`: Line in which the caret is found in the text. * +# `{column}`: Column in which the caret is found in the text. * +# `{line0}`: Same as `{line}`, but starting from index 0. * `{column0}`: +# Same as `{column}`, but starting from index 0. +# Type: ShellCommand +c.editor.command = ['kitty', 'vim', '-f', '{file}'] + +# Encoding to use for the editor. +# Type: Encoding +c.editor.encoding = 'utf-8' + # CSS selectors used to determine which elements on a page should have # hints. # Type: Dict