Change default fileselect commands

This commit is contained in:
Takuya Wakazono 2021-01-20 00:24:34 +09:00
parent d122ab7ce1
commit 9e4825370b
2 changed files with 8 additions and 6 deletions

View File

@ -2797,7 +2797,8 @@ Default:
- +pass:[xterm]+
- +pass:[-e]+
- +pass:[ranger --choosefiles={}]+
- +pass:[ranger]+
- +pass:[--choosefiles={}]+
[[fileselect.single_file.command]]
=== fileselect.single_file.command
@ -2811,7 +2812,8 @@ Default:
- +pass:[xterm]+
- +pass:[-e]+
- +pass:[ranger --choosefile={}]+
- +pass:[ranger]+
- +pass:[--choosefile={}]+
[[fonts.completion.category]]
=== fonts.completion.category

View File

@ -1222,9 +1222,9 @@ fileselect.single_file.command:
name: ShellCommand
placeholder: true
completions:
- ['["xterm", "-e", "ranger --choosefile={}"]', "Ranger in xterm"]
- ['["xterm", "-e", "ranger", "--choosefile={}"]', "Ranger in xterm"]
- ['["xterm", "-e", "vifm", "--choose-file", "{}"]', "vifm in xterm"]
default: ['xterm', '-e', 'ranger --choosefile={}']
default: ['xterm', '-e', 'ranger', '--choosefile={}']
desc: >-
Command (and arguments) to use for selecting a single file in forms.
The command should write the selected file path to the specified file.
@ -1238,9 +1238,9 @@ fileselect.multiple_files.command:
name: ShellCommand
placeholder: true
completions:
- ['["xterm", "-e", "ranger --choosefiles={}"]', "Ranger in xterm"]
- ['["xterm", "-e", "ranger", "--choosefiles={}"]', "Ranger in xterm"]
- ['["xterm", "-e", "vifm", "--choose-files", "{}"]', "vifm in xterm"]
default: ['xterm', '-e', 'ranger --choosefiles={}']
default: ['xterm', '-e', 'ranger', '--choosefiles={}']
desc: >-
Command (and arguments) to use for selecting multiple files in forms.
The command should write the selected file paths to the specified file,