Skip to content

Instantly share code, notes, and snippets.

View ahnafis's full-sized avatar
🤘
Chilling...

Ahnaf Al Nafis ahnafis

🤘
Chilling...
  • Bangladesh
  • 15:24 (UTC +06:00)
  • LinkedIn in/ahnafis
View GitHub Profile
@ahnafis
ahnafis / .clang-format
Created February 12, 2024 23:31 — forked from Luke-zhang-04/.clang-format
Clang-format, ESLint, and Prettier config
---
BasedOnStyle: LLVM
Language: Cpp
PointerAlignment: Left
AccessModifierOffset: 4
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: false
AlignConsecutiveBitFields: false
@ahnafis
ahnafis / alacritty-tmux-vim_truecolor.md
Created February 19, 2022 08:22 — forked from andersevenrud/alacritty-tmux-vim_truecolor.md
True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

This should make True Color (24-bit) and italics work in your tmux session and vim/neovim when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).

Notes

  1. Don't set $TERM in your shell (zshrc, bashrc, etc.). Configure this in your terminal (alacritty).
  2. Alacritty currenty has no undercurl support (landing soon), even though tmux has

Testing colors

Running this script should look the same in tmux as without.