Some hours and googling later, I realized this has nothing to do with alacritty but nevertheless, it's working and this is my result.
- First off you'll need to purchase Operator Mono, Hoefler & Co customer support told me Operator Mono SSm is the way to go for sizes 9px to 18px.
- Set it as the font within alacritty.yml - (reference above screenshot).
- If you use NerdFonts, you'll need to patch Operator Mono using FontForge here.
- Within vimrc or init.vim
hi Comment gui=italic cterm=italic hi htmlArg gui=italic cterm=italic
- In home directory create new file
xterm-256color-italic.terminfo
with the following contents:xterm-256color-italic|xterm with 256 colors and italic, sitm=\E[3m, ritm=\E[23m, use=xterm-256color,
- Compile it, with command:
tic xterm-256color-italic.terminfo
- Set it as the TERM within alacritty.yml - (reference above screenshot).
- Restart alacritty. test with command:
echo -e "\e[3mfoo\e[23m"
. It should output foo in italics.
- Place the following within your tmux.conf:
# enable true color support and italics set -g default-terminal "xterm-256color-italic" set -ga terminal-overrides ",xterm-256color-italic:Tc"
- Restart tmux