Advertisement
anujpandey

alacritty-config.yaml

Feb 12th, 2021
984
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.72 KB | None | 0 0
  1. # Font configuration (changes require restart)
  2. font:
  3.   size: 18
  4.   # The normal (roman) font face to use.
  5.   normal:
  6.     family: DroidSansMono Nerd Font
  7.     # Style can be specified to pick a specific face.
  8.     # style: Regular
  9.  
  10.   # The bold font face
  11.   bold:
  12.     family: DroidSansMono Nerd Font
  13.     # Style can be specified to pick a specific face.
  14.     # style: Bold
  15.  
  16.   # The italic font face
  17.   italic:
  18.     family: DroidSansMono Nerd Font
  19.     # Style can be specified to pick a specific face.
  20.     # style: Italic
  21.  
  22. background_opacity: 0.4
  23.  
  24. colors:
  25.  # COLORSCHEME: base16-atlas-256.yml
  26.   # Default colors
  27.   primary:
  28.    # hard contrast: background = '0x1d2021'
  29.     background: '0x002635'
  30.     foreground: '0xa1a19a'
  31.  
  32.   # Colors the cursor will use if `custom_cursor_colors` is true
  33.   normal:
  34.     black: '0x002635'
  35.     red: '0xff5a67'
  36.     green: '0x7fc06e'
  37.     yellow: '0xffcc1b'
  38.     blue: '0x5dd7b9'
  39.     magenta: '0x9a70a4'
  40.     cyan: '0x14747e'
  41.     white: '0xa1a19a'
  42.  
  43.   # Bright colors
  44.   bright:
  45.     black: '0x6c8b91'
  46.     red: '0xff5a67'
  47.     green: '0x7fc06e'
  48.     yellow: '0xffcc1b'
  49.     blue: '0x5dd7b9'
  50.     magenta: '0x9a70a4'
  51.     cyan: '0x14747e'
  52.     white: '0xfafaf8'
  53.  
  54.   cursor:
  55.     text: '0x002635'
  56.     cursor: '0xa1a19a'
  57.  
  58.   # Normal colors
  59.   indexed_colors:
  60.     - {index: 16, color: '0xf08e48'}
  61.     - {index: 17, color: '0xc43060'}
  62.     - {index: 18, color: '0x00384d'}
  63.     - {index: 19, color: '0x517f8d'}
  64.     - {index: 20, color: '0x869696'}
  65.     - {index: 21, color: '0xe6e6dc'}
  66. key_bindings:
  67.  # (Windows/Linux only)
  68.   #- { key: V,        mods: Control|Shift, action: Paste            }
  69.   #- { key: C,        mods: Control|Shift, action: Copy             }
  70.   #- { key: Insert,   mods: Shift,         action: PasteSelection   }
  71.   #- { key: Key0,     mods: Control,       action: ResetFontSize    }
  72.   #- { key: Equals,   mods: Control,       action: IncreaseFontSize }
  73.   #- { key: Add,      mods: Control,       action: IncreaseFontSize }
  74.   #- { key: Subtract, mods: Control,       action: DecreaseFontSize }
  75.   #- { key: Minus,    mods: Control,       action: DecreaseFontSize }
  76.   #- { key: Return,   mods: Alt,           action: ToggleFullscreen }
  77.  
  78.   # (macOS only)
  79.   #- { key: Key0,   mods: Command,         action: ResetFontSize    }
  80.   #- { key: Equals, mods: Command,         action: IncreaseFontSize }
  81.   #- { key: Add,    mods: Command,         action: IncreaseFontSize }
  82.   #- { key: Minus,  mods: Command,         action: DecreaseFontSize }
  83.   #- { key: K,      mods: Command,         action: ClearHistory     }
  84.   #- { key: K,      mods: Command,         chars: "\x0c"            }
  85.   #- { key: V,      mods: Command,         action: Paste            }
  86.   #- { key: C,      mods: Command,         action: Copy             }
  87.   #- { key: H,      mods: Command,         action: Hide             }
  88.   #- { key: Q,      mods: Command,         action: Quit             }
  89.   #- { key: W,      mods: Command,         action: Quit             }
  90.   #- { key: F,      mods: Command|Control, action: ToggleFullscreen }
  91.  
  92.   - {key: Paste, action: Paste}
  93.   - {key: Copy, action: Copy}
  94.   - {key: L, mods: Control, action: ClearLogNotice}
  95.   - {key: L, mods: Control, chars: "\f"}
  96.   - {key: Home, mods: Alt, chars: "\e[1;3H"}
  97.   - {key: Home, chars: "\eOH", mode: AppCursor}
  98.   - {key: Home, chars: "\e[H", mode: ~AppCursor}
  99.   - {key: End, mods: Alt, chars: "\e[1;3F"}
  100.   - {key: End, chars: "\eOF", mode: AppCursor}
  101.   - {key: End, chars: "\e[F", mode: ~AppCursor}
  102.   - {key: PageUp, mods: Shift, action: ScrollPageUp, mode: ~Alt}
  103.   - {key: PageUp, mods: Shift, chars: "\e[5;2~", mode: Alt}
  104.   - {key: PageUp, mods: Control, chars: "\e[5;5~"}
  105.   - {key: PageUp, mods: Alt, chars: "\e[5;3~"}
  106.   - {key: PageUp, chars: "\e[5~"}
  107.   - {key: PageDown, mods: Shift, action: ScrollPageDown, mode: ~Alt}
  108.   - {key: PageDown, mods: Shift, chars: "\e[6;2~", mode: Alt}
  109.   - {key: PageDown, mods: Control, chars: "\e[6;5~"}
  110.   - {key: PageDown, mods: Alt, chars: "\e[6;3~"}
  111.   - {key: PageDown, chars: "\e[6~"}
  112.   - {key: Tab, mods: Shift, chars: "\e[Z"}
  113.   - {key: Back, chars: "\x7F"}
  114.   - {key: Back, mods: Alt, chars: "\e\x7F"}
  115.   - {key: Insert, chars: "\e[2~"}
  116.   - {key: Delete, chars: "\e[3~"}
  117.   - {key: Left, mods: Shift, chars: "\e[1;2D"}
  118.   - {key: Left, mods: Control, chars: "\e[1;5D"}
  119.   - {key: Left, mods: Alt, chars: "\e[1;3D"}
  120.   - {key: Left, chars: "\e[D", mode: ~AppCursor}
  121.   - {key: Left, chars: "\eOD", mode: AppCursor}
  122.   - {key: Right, mods: Shift, chars: "\e[1;2C"}
  123.   - {key: Right, mods: Control, chars: "\e[1;5C"}
  124.   - {key: Right, mods: Alt, chars: "\e[1;3C"}
  125.   - {key: Right, chars: "\e[C", mode: ~AppCursor}
  126.   - {key: Right, chars: "\eOC", mode: AppCursor}
  127.   - {key: Up, mods: Shift, chars: "\e[1;2A"}
  128.   - {key: Up, mods: Control, chars: "\e[1;5A"}
  129.   - {key: Up, mods: Alt, chars: "\e[1;3A"}
  130.   - {key: Up, chars: "\e[A", mode: ~AppCursor}
  131.   - {key: Up, chars: "\eOA", mode: AppCursor}
  132.   - {key: Down, mods: Shift, chars: "\e[1;2B"}
  133.   - {key: Down, mods: Control, chars: "\e[1;5B"}
  134.   - {key: Down, mods: Alt, chars: "\e[1;3B"}
  135.   - {key: Down, chars: "\e[B", mode: ~AppCursor}
  136.   - {key: Down, chars: "\eOB", mode: AppCursor}
  137.   - {key: F1, chars: "\eOP"}
  138.   - {key: F2, chars: "\eOQ"}
  139.   - {key: F3, chars: "\eOR"}
  140.   - {key: F4, chars: "\eOS"}
  141.   - {key: F5, chars: "\e[15~"}
  142.   - {key: F6, chars: "\e[17~"}
  143.   - {key: F7, chars: "\e[18~"}
  144.   - {key: F8, chars: "\e[19~"}
  145.   - {key: F9, chars: "\e[20~"}
  146.   - {key: F10, chars: "\e[21~"}
  147.   - {key: F11, chars: "\e[23~"}
  148.   - {key: F12, chars: "\e[24~"}
  149.   - {key: F1, mods: Shift, chars: "\e[1;2P"}
  150.   - {key: F2, mods: Shift, chars: "\e[1;2Q"}
  151.   - {key: F3, mods: Shift, chars: "\e[1;2R"}
  152.   - {key: F4, mods: Shift, chars: "\e[1;2S"}
  153.   - {key: F5, mods: Shift, chars: "\e[15;2~"}
  154.   - {key: F6, mods: Shift, chars: "\e[17;2~"}
  155.   - {key: F7, mods: Shift, chars: "\e[18;2~"}
  156.   - {key: F8, mods: Shift, chars: "\e[19;2~"}
  157.   - {key: F9, mods: Shift, chars: "\e[20;2~"}
  158.   - {key: F10, mods: Shift, chars: "\e[21;2~"}
  159.   - {key: F11, mods: Shift, chars: "\e[23;2~"}
  160.   - {key: F12, mods: Shift, chars: "\e[24;2~"}
  161.   - {key: F1, mods: Control, chars: "\e[1;5P"}
  162.   - {key: F2, mods: Control, chars: "\e[1;5Q"}
  163.   - {key: F3, mods: Control, chars: "\e[1;5R"}
  164.   - {key: F4, mods: Control, chars: "\e[1;5S"}
  165.   - {key: F5, mods: Control, chars: "\e[15;5~"}
  166.   - {key: F6, mods: Control, chars: "\e[17;5~"}
  167.   - {key: F7, mods: Control, chars: "\e[18;5~"}
  168.   - {key: F8, mods: Control, chars: "\e[19;5~"}
  169.   - {key: F9, mods: Control, chars: "\e[20;5~"}
  170.   - {key: F10, mods: Control, chars: "\e[21;5~"}
  171.   - {key: F11, mods: Control, chars: "\e[23;5~"}
  172.   - {key: F12, mods: Control, chars: "\e[24;5~"}
  173.   - {key: F1, mods: Alt, chars: "\e[1;6P"}
  174.   - {key: F2, mods: Alt, chars: "\e[1;6Q"}
  175.   - {key: F3, mods: Alt, chars: "\e[1;6R"}
  176.   - {key: F4, mods: Alt, chars: "\e[1;6S"}
  177.   - {key: F5, mods: Alt, chars: "\e[15;6~"}
  178.   - {key: F6, mods: Alt, chars: "\e[17;6~"}
  179.   - {key: F7, mods: Alt, chars: "\e[18;6~"}
  180.   - {key: F8, mods: Alt, chars: "\e[19;6~"}
  181.   - {key: F9, mods: Alt, chars: "\e[20;6~"}
  182.   - {key: F10, mods: Alt, chars: "\e[21;6~"}
  183.   - {key: F11, mods: Alt, chars: "\e[23;6~"}
  184.   - {key: F12, mods: Alt, chars: "\e[24;6~"}
  185.   - {key: F1, mods: Super, chars: "\e[1;3P"}
  186.   - {key: F2, mods: Super, chars: "\e[1;3Q"}
  187.   - {key: F3, mods: Super, chars: "\e[1;3R"}
  188.   - {key: F4, mods: Super, chars: "\e[1;3S"}
  189.   - {key: F5, mods: Super, chars: "\e[15;3~"}
  190.   - {key: F6, mods: Super, chars: "\e[17;3~"}
  191.   - {key: F7, mods: Super, chars: "\e[18;3~"}
  192.   - {key: F8, mods: Super, chars: "\e[19;3~"}
  193.   - {key: F9, mods: Super, chars: "\e[20;3~"}
  194.   - {key: F10, mods: Super, chars: "\e[21;3~"}
  195.   - {key: F11, mods: Super, chars: "\e[23;3~"}
  196.   - {key: F12, mods: Super, chars: "\e[24;3~"}
  197.   - {key: NumpadEnter, chars: "\n"}
  198.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement