Set this up as an "Origin Response" Cloudfront Trigger.
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).
Running this script should look the same in tmux as without.
curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh >24-bit-color.sh
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | " ripgrep | |
| if executable('rg') | |
| let $FZF_DEFAULT_COMMAND = 'rg --files --hidden --follow --glob "!.git/*"' | |
| set grepprg=rg\ --vimgrep | |
| command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --glob "!.git/*" --color "always" '.shellescape(<q-args>).'| tr -d "\017"', 1, <bang>0) | |
| " Overriding fzf.vim's default :Files command. | |
| " Pass zero or one args to Files command (which are then passed to Fzf_dev). Support file path completion too. | |
| command! -nargs=? -complete=file Files call Fzf_dev(<q-args>) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | nnoremap <silent> <leader>e :call Fzf_dev()<CR> | |
| " ripgrep | |
| if executable('rg') | |
| let $FZF_DEFAULT_COMMAND = 'rg --files --hidden --follow --glob "!.git/*"' | |
| set grepprg=rg\ --vimgrep | |
| command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --glob "!.git/*" --color "always" '.shellescape(<q-args>).'| tr -d "\017"', 1, <bang>0) | |
| endif | |
| " Files + devicons | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Alpha Component</key> | |
| <real>1</real> | |
| <key>Blue Component</key> | |
| <real>0.17254902422428131</real> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # This is a blocklist to block samsung smart tv's sending meta data at home. | |
| # Please help to collect domains! | |
| # It could be that the TV does not receive any more updates or other services no longer work. Please report such an incident. | |
| abtauthprd.samsungcloudsolution.com | |
| acr0.samsungcloudsolution.com | |
| ad.samsungadhub.com | |
| ads.samsungads.com | |
| amauthprd.samsungcloudsolution.com | |
| api-hub.samsungyosemite.com | 
      We can't make this file beautiful and searchable because it's too large.
    
    
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | zip,city,state,state_abbr,county,count_code,latitude,longitude | |
| 99553,Akutan,Alaska,AK,Aleutians East,13,54.143,-165.7854 | |
| 99571,Cold Bay,Alaska,AK,Aleutians East,13,55.1858,-162.7211 | |
| 99583,False Pass,Alaska,AK,Aleutians East,13,54.841,-163.4368 | |
| 99612,King Cove,Alaska,AK,Aleutians East,13,55.0628,-162.3056 | |
| 99661,Sand Point,Alaska,AK,Aleutians East,13,55.3192,-160.4914 | |
| 99546,Adak,Alaska,AK,Aleutians West,16,51.88,-176.6581 | |
| 99547,Atka,Alaska,AK,Aleutians West,16,52.1224,-174.4301 | |
| 99591,Saint George Island,Alaska,AK,Aleutians West,16,56.5944,-169.6186 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # 0 is too far from ` ;) | |
| set -g base-index 1 | |
| # Automatically set window title | |
| set-window-option -g automatic-rename on | |
| set-option -g set-titles on | |
| set-option -ga terminal-overrides ",xterm-256color:Tc" | |
| set -g default-terminal screen-256color | |
| set -g status-keys vi | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | https://yourdomain.example.com/ { | |
| log / /var/log/caddy/mastodon.log "{combined}" { | |
| rotate_age 90 | |
| } | |
| root /home/mastodon/live/public | |
| gzip | |
| header / { | |
| Strict-Transport-Security "max-age=31536000" | |
| } | 
NewerOlder