Alacritty config
In my previous post about WSL setup I mentioned that Alacritty gave me some glitches in the LF file manager. Here I will explain how I finally configured Alacritty and made it my main terminal emulator.
Why did I want to change wsltty?
Maybe it is good to explain my motivation to change wsltty to another emulator. Yes, I really like wsltty and I would recommend it to anyone but I missed some capabilities of more flexible configuration there, especially configuration of the fonts rendering where I can fine tune distance between lines, between characters and adjust positions of glyphs.
And I wanted to have something new, more flexible but yet simpler to configure.
Why Alacritty?
I like Alacritty preliminary because of its rendering quality and simple configuration. It supports UTF-8 fully, but does not have good support of Emojies. Configuration is made via simple “YAML” file.
Because I almost never use emojis in my texts and terminal, I gave it up for better support of Nerd Fonts with all special glyphicons. It allows me to use icons for LF file manager and utilities like ls deluxe.
If you are using digraphs, then Alacritty might not be for you. At least on Windows for the WSL. wsltty can display almost all digraphs from he VIM digraphs table, while Alacritty does not show all Asian and some other symbols.
Alacritty setup
Fonts
The key to correct work of Alacritty is a font. I tried all Nerd Fonts and finally found one which fits me the most. Here is the list of fonts I found the best for me in the preferential order:
- Cousine Nerd Font
- Hack Nerd Font
- Meslo Nerd Font
- Mononoki Nerd Font
- DroidSansMono Nerd Font
I finally selected Cousine Nerd Font as my main font.
Configuration file
Then comes the easiest part - Alacritty configuration. Just follow the guide and make your own file.
Here is mine (I removed all strings which I don’t setup):
|
|
Full default configuration you can find here.
Screenshots
Here are screenshots of how Allacrity looks on my home PC.
![Alacritty Screenshot 1](/2020-05-25_Alacritty_WSL_config/screenshot-1.png)
Alacritty Screenshot 1
![Alacritty Screenshot 2](/2020-05-25_Alacritty_WSL_config/screenshot-2.png)
Alacritty Screenshot 2
![Alacritty Screenshot 2](/2020-05-25_Alacritty_WSL_config/screenshot-3.png)