#### Alacritty
- [github](https://github.com/alacritty/alacritty)
> [!note]
> Has a redraw performance issue on high resolution monitors on [[MacOS]] with visible stutter and repaint on keystrokes if the display windows is too large or full screen.
##### Configuration
- [post-install setup](https://github.com/alacritty/alacritty/blob/master/INSTALL.md#post-build)
- [configuration examples](https://github.com/alacritty/alacritty/blob/master/alacritty.yml)
```bash
# thin strokes on MacOS
defaults write org.alacritty AppleFontSmoothing -int 0
```
##### Control Codes
Alacritty doesn't support `ctrl-[key]` in many cases. For example, `C-Right` doesn't work out of the box. To fix:
1. run `xxd -psd`
2. type the key sequence you want followed by `Return` (`0a`) and `^C`.
```
# ctrl-Left
xxd -psd
^[[1;5D
1b5b313b35440a^C
```
3. Then create a keybinding in `~/.config/alacritty/alacritty.yml`
```yaml
key_bindings:
- { key: Left, mods: Control, chars: "\x1b\x5b\x31\x3b\x35\x44" }
```
#### misc
- [How I Migrated from iTerm to Alacritty](x-devonthink-item://6528C558-EEE1-4046-B296-B08B529CA83C)
- [Make Alacritty work like iTerm](x-devonthink-item://CA5EA816-FC3B-45BC-A49D-4D57B3EA48B9)