alacritty.yml 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. # Configuration for Alacritty, the GPU enhanced terminal emulator.
  2. # Any items in the `env` entry below will be added as
  3. # environment variables. Some entries may override variables
  4. # set by alacritty itself.
  5. env:
  6. TERM: xterm-256color
  7. window:
  8. dimensions:
  9. columns: 80
  10. lines: 24
  11. padding:
  12. x: 10
  13. y: 10
  14. dynamic_padding: true
  15. decorations: full
  16. scrolling:
  17. history: 100000
  18. multiplier: 3
  19. font:
  20. normal:
  21. family: FuraCode Nerd Font Mono
  22. bold:
  23. family: FuraCode Nerd Font Mono
  24. italic:
  25. family: Go Mono
  26. size: 7.0
  27. offset:
  28. x: 0
  29. y: 0
  30. glyph_offset:
  31. x: 0
  32. y: 0
  33. draw_bold_text_with_bright_colors: true
  34. # Colors (Gruvbox dark)
  35. colors:
  36. # Default colors
  37. primary:
  38. # hard contrast: background = '#1d2021'
  39. background: '#282828'
  40. # soft contrast: background = '#32302f'
  41. foreground: '#ebdbb2'
  42. # Normal colors
  43. normal:
  44. black: '#282828'
  45. red: '#cc241d'
  46. green: '#98971a'
  47. yellow: '#d79921'
  48. blue: '#458588'
  49. magenta: '#b16286'
  50. cyan: '#689d6a'
  51. white: '#a89984'
  52. # Bright colors
  53. bright:
  54. black: '#928374'
  55. red: '#fb4934'
  56. green: '#b8bb26'
  57. yellow: '#fabd2f'
  58. blue: '#83a598'
  59. magenta: '#d3869b'
  60. cyan: '#8ec07c'
  61. white: '#ebdbb2'
  62. visual_bell:
  63. animation: EaseOutExpo
  64. duration: 1
  65. background_opacity: 1.0
  66. mouse_bindings:
  67. - { mouse: Middle, action: PasteSelection }
  68. mouse:
  69. double_click: { threshold: 300 }
  70. triple_click: { threshold: 300 }
  71. hide_when_typing: false
  72. url:
  73. launcher: open
  74. selection:
  75. semantic_escape_chars: ",│`|:\"' ()[]{}<>"
  76. save_to_clipboard: true
  77. cursor:
  78. style: Underline
  79. unfocused_hollow: true
  80. live_config_reload: true
  81. key_bindings:
  82. - { key: V, mods: Shift|Control, action: Paste }
  83. - { key: C, mods: Shift|Control, action: Copy }
  84. - { key: Paste, action: Paste }
  85. - { key: Copy, action: Copy }
  86. - { key: H, mods: Command, action: Hide }
  87. - { key: Q, mods: Command, action: Quit }
  88. - { key: W, mods: Command, action: Quit }
  89. - { key: Home, chars: "\x1bOH", mode: AppCursor }
  90. - { key: Home, chars: "\x1b[H", mode: ~AppCursor }
  91. - { key: End, chars: "\x1bOF", mode: AppCursor }
  92. - { key: End, chars: "\x1b[F", mode: ~AppCursor }
  93. - { key: Key0, mods: Command, action: ResetFontSize }
  94. - { key: K, mods: Command, action: ClearHistory }
  95. - { key: K, mods: Command, chars: "\x0c" }
  96. - { key: PageUp, mods: Shift, chars: "\x1b[5;2~" }
  97. - { key: PageUp, mods: Control, chars: "\x1b[5;5~" }
  98. - { key: PageUp, chars: "\x1b[5~" }
  99. - { key: PageDown, mods: Shift, chars: "\x1b[6;2~" }
  100. - { key: PageDown, mods: Control, chars: "\x1b[6;5~" }
  101. - { key: PageDown, chars: "\x1b[6~" }
  102. - { key: Tab, mods: Shift, chars: "\x1b[Z" }
  103. - { key: Back, chars: "\x7f" }
  104. - { key: Back, mods: Alt, chars: "\x1b\x7f" }
  105. - { key: Insert, chars: "\x1b[2~" }
  106. - { key: Delete, chars: "\x1b[3~" }
  107. - { key: Left, mods: Shift, chars: "\x1b[1;2D" }
  108. - { key: Left, mods: Control, chars: "\x1b[1;5D" }
  109. - { key: Left, mods: Alt, chars: "\x1b[1;3D" }
  110. - { key: Left, chars: "\x1b[D", mode: ~AppCursor }
  111. - { key: Left, chars: "\x1bOD", mode: AppCursor }
  112. - { key: Right, mods: Shift, chars: "\x1b[1;2C" }
  113. - { key: Right, mods: Control, chars: "\x1b[1;5C" }
  114. - { key: Right, mods: Alt, chars: "\x1b[1;3C" }
  115. - { key: Right, chars: "\x1b[C", mode: ~AppCursor }
  116. - { key: Right, chars: "\x1bOC", mode: AppCursor }
  117. - { key: Up, mods: Shift, chars: "\x1b[1;2A" }
  118. - { key: Up, mods: Control, chars: "\x1b[1;5A" }
  119. - { key: Up, mods: Alt, chars: "\x1b[1;3A" }
  120. - { key: Up, chars: "\x1b[A", mode: ~AppCursor }
  121. - { key: Up, chars: "\x1bOA", mode: AppCursor }
  122. - { key: Down, mods: Shift, chars: "\x1b[1;2B" }
  123. - { key: Down, mods: Control, chars: "\x1b[1;5B" }
  124. - { key: Down, mods: Alt, chars: "\x1b[1;3B" }
  125. - { key: Down, chars: "\x1b[B", mode: ~AppCursor }
  126. - { key: Down, chars: "\x1bOB", mode: AppCursor }
  127. - { key: F1, chars: "\x1bOP" }
  128. - { key: F2, chars: "\x1bOQ" }
  129. - { key: F3, chars: "\x1bOR" }
  130. - { key: F4, chars: "\x1bOS" }
  131. - { key: F5, chars: "\x1b[15~" }
  132. - { key: F6, chars: "\x1b[17~" }
  133. - { key: F7, chars: "\x1b[18~" }
  134. - { key: F8, chars: "\x1b[19~" }
  135. - { key: F9, chars: "\x1b[20~" }
  136. - { key: F10, chars: "\x1b[21~" }
  137. - { key: F11, chars: "\x1b[23~" }
  138. - { key: F12, chars: "\x1b[24~" }
  139. - { key: F1, mods: Shift, chars: "\x1b[1;2P" }
  140. - { key: F2, mods: Shift, chars: "\x1b[1;2Q" }
  141. - { key: F3, mods: Shift, chars: "\x1b[1;2R" }
  142. - { key: F4, mods: Shift, chars: "\x1b[1;2S" }
  143. - { key: F5, mods: Shift, chars: "\x1b[15;2~" }
  144. - { key: F6, mods: Shift, chars: "\x1b[17;2~" }
  145. - { key: F7, mods: Shift, chars: "\x1b[18;2~" }
  146. - { key: F8, mods: Shift, chars: "\x1b[19;2~" }
  147. - { key: F9, mods: Shift, chars: "\x1b[20;2~" }
  148. - { key: F10, mods: Shift, chars: "\x1b[21;2~" }
  149. - { key: F11, mods: Shift, chars: "\x1b[23;2~" }
  150. - { key: F12, mods: Shift, chars: "\x1b[24;2~" }
  151. - { key: F1, mods: Control, chars: "\x1b[1;5P" }
  152. - { key: F2, mods: Control, chars: "\x1b[1;5Q" }
  153. - { key: F3, mods: Control, chars: "\x1b[1;5R" }
  154. - { key: F4, mods: Control, chars: "\x1b[1;5S" }
  155. - { key: F5, mods: Control, chars: "\x1b[15;5~" }
  156. - { key: F6, mods: Control, chars: "\x1b[17;5~" }
  157. - { key: F7, mods: Control, chars: "\x1b[18;5~" }
  158. - { key: F8, mods: Control, chars: "\x1b[19;5~" }
  159. - { key: F9, mods: Control, chars: "\x1b[20;5~" }
  160. - { key: F10, mods: Control, chars: "\x1b[21;5~" }
  161. - { key: F11, mods: Control, chars: "\x1b[23;5~" }
  162. - { key: F12, mods: Control, chars: "\x1b[24;5~" }
  163. - { key: F1, mods: Alt, chars: "\x1b[1;6P" }
  164. - { key: F2, mods: Alt, chars: "\x1b[1;6Q" }
  165. - { key: F3, mods: Alt, chars: "\x1b[1;6R" }
  166. - { key: F4, mods: Alt, chars: "\x1b[1;6S" }
  167. - { key: F5, mods: Alt, chars: "\x1b[15;6~" }
  168. - { key: F6, mods: Alt, chars: "\x1b[17;6~" }
  169. - { key: F7, mods: Alt, chars: "\x1b[18;6~" }
  170. - { key: F8, mods: Alt, chars: "\x1b[19;6~" }
  171. - { key: F9, mods: Alt, chars: "\x1b[20;6~" }
  172. - { key: F10, mods: Alt, chars: "\x1b[21;6~" }
  173. - { key: F11, mods: Alt, chars: "\x1b[23;6~" }
  174. - { key: F12, mods: Alt, chars: "\x1b[24;6~" }
  175. - { key: F1, mods: Command, chars: "\x1b[1;3P" }
  176. - { key: F2, mods: Command, chars: "\x1b[1;3Q" }
  177. - { key: F3, mods: Command, chars: "\x1b[1;3R" }
  178. - { key: F4, mods: Command, chars: "\x1b[1;3S" }
  179. - { key: F5, mods: Command, chars: "\x1b[15;3~" }
  180. - { key: F6, mods: Command, chars: "\x1b[17;3~" }
  181. - { key: F7, mods: Command, chars: "\x1b[18;3~" }
  182. - { key: F8, mods: Command, chars: "\x1b[19;3~" }
  183. - { key: F9, mods: Command, chars: "\x1b[20;3~" }
  184. - { key: F10, mods: Command, chars: "\x1b[21;3~" }
  185. - { key: F11, mods: Command, chars: "\x1b[23;3~" }
  186. - { key: F12, mods: Command, chars: "\x1b[24;3~" }
  187. - { key: NumpadEnter, chars: "\n" }
  188. - { key: N, mods: Command, action: SpawnNewInstance }
  189. - { key: Key0, mods: Command, action: ResetFontSize }
  190. - { key: Equals, mods: Shift|Control, action: IncreaseFontSize }
  191. - { key: Minus, mods: Shift|Control, action: DecreaseFontSize }