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