Created
October 28, 2018 18:41
-
-
Save fl0w/3911346eb3e9f065b535b573d176f1eb to your computer and use it in GitHub Desktop.
New Window shortcut for Alacritty on macOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- { key: N, mods: Command, command: { program: "open", args: ["-nb", "io.alacritty"] } } |
What about cmd+n? is the default on Alacritty in macOS
@ignacio-dl It wasn't when this was created.
A new multi-window feature was added in alacritty/alacritty@1df7dc5, so if you use a release that includes that (not out as of writing), or compile yourself, then you can use the action CreateNewWindow
to create a new alacritty window in the same process. This lets you cmd+tilde
to switch windows within Alacritty as expected.
eg keybinding:
key_bindings:
- { key: N, mods: Command, action: CreateNewWindow }
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is more direct way now, from the Alacritty skeleton config: