Adds commands to control the Alacritty terminal emulator.
Edits the currently selected Finder item(s) in a new Alacritty window using $EDITOR
.
$EDITOR
is unset, the command falls back to /usr/bin/vim
.$EDITOR '/path/to/file1' '/path/to/file2'
.:next
and :prev
.Opens a new Alacritty window at the currently selected directory (or the parent directory of the current file if a file is selected).
Runs the current clipboard content as a shell command in Alacritty. Use at your own risk!
Runs the currently selected text as a shell command in Alacritty. Use at your own risk!
Full path to the Alacritty executable. Defaults to /Applications/Alacritty.app/Contents/MacOS/alacritty
.
Full path to the shell executable used to run commands. Defaults to /bin/zsh
.
To use your preferred shell, set this to the output of echo $SHELL
.
The plugin currently supports zsh
, bash
, and sh
(tested against the versions included with macOS Ventura) and fish
(tested against the latest version from Homebrew).
The plugin is licensed under the MIT license.
The extension's icon is borrowed from Alacritty, which is licensed under the Apache License 2.0.