You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it can be useful to have more variables accessible while composing a command with :shell and :spawn (particularly in keymap.toml. Below is an example that would satisfy one of my use cases:
Or :spawn alacritty -e joshuto "%f" where %f (random letter) is replaced with the path of the current directory.
Other useful variables can be $SHELL and $EDITOR to compose commands without invoking external scripts or hardcoding which is the preferred shell or editor (for example).
Workarounds/suggestions are welcome (shell scripts aside)
The text was updated successfully, but these errors were encountered:
it can be useful to have more variables accessible while composing a command with
:shell
and:spawn
(particularly inkeymap.toml
. Below is an example that would satisfy one of my use cases:Or
:spawn alacritty -e joshuto "%f"
where%f
(random letter) is replaced with the path of the current directory.Other useful variables can be
$SHELL
and$EDITOR
to compose commands without invoking external scripts or hardcoding which is the preferred shell or editor (for example).Workarounds/suggestions are welcome (shell scripts aside)
The text was updated successfully, but these errors were encountered: