From 7b75dc285814afad6558e8a726a14fd00f58ec50 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Wed, 12 May 2021 20:18:50 +0100 Subject: [PATCH] qutebrowser: use ranger as file selector --- qutebrowser/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 4888dfd..8ba1b71 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -744,21 +744,21 @@ c.editor.command = in_terminal(['vim', '{file}', '-c', 'normal {line}G{column0}l ## Valid values: ## - default: Use the default file selector. ## - external: Use an external command. -# c.fileselect.handler = 'default' +c.fileselect.handler = 'external' ## Command (and arguments) to use for selecting multiple files in forms. ## The command should write the selected file paths to the specified ## file, separated by newlines. The following placeholders are defined: * ## `{}`: Filename of the file to be written to. ## Type: ShellCommand -# c.fileselect.multiple_files.command = ['xterm', '-e', 'ranger', '--choosefiles={}'] +c.fileselect.multiple_files.command = in_terminal(['ranger', '--choosefiles={}']) ## Command (and arguments) to use for selecting a single file in forms. ## The command should write the selected file path to the specified file. ## The following placeholders are defined: * `{}`: Filename of the file ## to be written to. ## Type: ShellCommand -# c.fileselect.single_file.command = ['xterm', '-e', 'ranger', '--choosefile={}'] +c.fileselect.multiple_files.command = in_terminal(['ranger', '--choosefile={}']) ## Font used in the completion categories. ## Type: Font -- 2.48.1