membrandt
membrandt

Reputation: 66

how to make new tab in terminal alacritty?

how to make the alacritty terminal can create new tabs, which has been found that how to create new windows, which I want like a gnome terminal like my screenshoots

how to configure it in alacritty or related documents that I can read, or maybe another terminal that is almost the same iterm2 that can be used in linux

Upvotes: 4

Views: 14218

Answers (3)

Fady Mohamed Othman
Fady Mohamed Othman

Reputation: 1908

I believe a good option would be to use Zellij as your default shell, the tabs are clickable, and it's the closest to tab behaviour in terminal emulators that support tabs, you can do this by installing zellij then add the following line to "alacritty.toml"

shell = "zellij"

Now you can create tabs by pressing ctrl+t then n.

This is what it looks like

Zellij tabs

Upvotes: 3

bahua
bahua

Reputation: 1

In the alacritty.yml configuration file, you can set a keybinding for the action, "SpawnNewInstance." I have this set to super+N on linux and cmd+N on mac.

Also, you can set up your desktop shortcut to be something like this:

alacritty msg create-window || alacritty

This will try to create a new window to use an existing alacritty process, and if there isn't one, it will make a new one.

Upvotes: 0

Khabir
Khabir

Reputation: 34

If you are interested in tiling window managers like dwm, you may not need tabs as dwm handles windows differently. Instead, you can manage multiple terminals using workspaces. To launch a new terminal, you can open it within the same workspace and switch between them using keybindings defined in dwm's configuration file.

Keep in mind that another versatile option is using tmux, a terminal multiplexer, which can provide tab-like functionality and much more. It allows you to split your terminal into multiple panes and manage multiple sessions.

Ultimately, the best choice depends on your preferences and workflow. I recommend trying out different options to see which one suits you best.

Upvotes: 2

Related Questions