-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
Description
I set this:
Preferences
View & Edit
Use external command
Command line = vim %F
Execute command in terminal tab = checked
This launches vim
, but %F
is not passed. Looking at the code:
Sunflower/sunflower/associations.py
Line 267 in 9677dda
options.set('shell_command', split_command[0]) |
shell_command
is only the command itself (vim
), while arguments
is the full command (vim %F
with %F
replaced). This is then sent to create_terminal_tab
which uses only shell_command
Sunflower/sunflower/gui/main_window.py
Line 1510 in c40b085
terminal_command = shlex.split(terminal_command.format('', shell_command, path)) |
I assume you'd want something along the lines of ''.join(options.get('arguments', [])
there, right?