]> git.rmz.io Git - dotfiles.git/commitdiff
qutebrowser: jump to caret in editor
authorSamir Benmendil <samir.benmendil@ultrahaptics.com>
Wed, 16 May 2018 09:54:58 +0000 (10:54 +0100)
committerSamir Benmendil <me@rmz.io>
Wed, 16 May 2018 10:30:24 +0000 (11:30 +0100)
qutebrowser/config.py

index 3113688b4037454e7e5726e1cca5fab776324dc0..cb2b87a10c69f858986db8e9188e298b81745ced 100644 (file)
@@ -744,7 +744,7 @@ c.downloads.open_dispatcher = "rifle"
 ## `{line0}`: Same as `{line}`, but starting from index 0. * `{column0}`:
 ## Same as `{column}`, but starting from index 0.
 ## Type: ShellCommand
-c.editor.command = ['urxvtc', '-e', 'vim', '{}']
+c.editor.command = ['urxvtc', '-e', 'vim', '{file}', '-c', 'normal {line}G{column0}l']
 
 ## Encoding to use for the editor.
 ## Type: Encoding