alacritty.yml 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828
  1. # Configuration for Alacritty, the GPU enhanced terminal emulator.
  2. # Import additional configuration files
  3. #
  4. # Imports are loaded in order, skipping all missing files, with the importing
  5. # file being loaded last. If a field is already present in a previous import, it
  6. # will be replaced.
  7. #
  8. # All imports must either be absolute paths starting with `/`, or paths relative
  9. # to the user's home directory starting with `~/`.
  10. #import:
  11. # - /path/to/alacritty.yml
  12. # Any items in the `env` entry below will be added as
  13. # environment variables. Some entries may override variables
  14. # set by alacritty itself.
  15. #env:
  16. # TERM variable
  17. #
  18. # This value is used to set the `$TERM` environment variable for
  19. # each instance of Alacritty. If it is not present, alacritty will
  20. # check the local terminfo database and use `alacritty` if it is
  21. # available, otherwise `xterm-256color` is used.
  22. #TERM: alacritty
  23. #window:
  24. # Window dimensions (changes require restart)
  25. #
  26. # Number of lines/columns (not pixels) in the terminal. The number of columns
  27. # must be at least `2`, while using a value of `0` for columns and lines will
  28. # fall back to the window manager's recommended size.
  29. #dimensions:
  30. # columns: 0
  31. # lines: 0
  32. # Window position (changes require restart)
  33. #
  34. # Specified in number of pixels.
  35. # If the position is not set, the window manager will handle the placement.
  36. #position:
  37. # x: 0
  38. # y: 0
  39. # Window padding (changes require restart)
  40. #
  41. # Blank space added around the window in pixels. This padding is scaled
  42. # by DPI and the specified value is always added at both opposing sides.
  43. #padding:
  44. # x: 0
  45. # y: 0
  46. # Spread additional padding evenly around the terminal content.
  47. #dynamic_padding: false
  48. # Window decorations
  49. #
  50. # Values for `decorations`:
  51. # - full: Borders and title bar
  52. # - none: Neither borders nor title bar
  53. #
  54. # Values for `decorations` (macOS only):
  55. # - transparent: Title bar, transparent background and title bar buttons
  56. # - buttonless: Title bar, transparent background and no title bar buttons
  57. #decorations: full
  58. # Startup Mode (changes require restart)
  59. #
  60. # Values for `startup_mode`:
  61. # - Windowed
  62. # - Maximized
  63. # - Fullscreen
  64. #
  65. # Values for `startup_mode` (macOS only):
  66. # - SimpleFullscreen
  67. #startup_mode: Windowed
  68. # Window title
  69. #title: Alacritty
  70. # Allow terminal applications to change Alacritty's window title.
  71. #dynamic_title: true
  72. # Window class (Linux/BSD only):
  73. #class:
  74. # Application instance name
  75. #instance: Alacritty
  76. # General application class
  77. #general: Alacritty
  78. # GTK theme variant (Linux/BSD only)
  79. #
  80. # Override the variant of the GTK theme. Commonly supported values are `dark`
  81. # and `light`. Set this to `None` to use the default theme variant.
  82. #gtk_theme_variant: None
  83. #scrolling:
  84. # Maximum number of lines in the scrollback buffer.
  85. # Specifying '0' will disable scrolling.
  86. #history: 10000
  87. # Scrolling distance multiplier.
  88. #multiplier: 3
  89. # Font configuration
  90. font:
  91. normal:
  92. family: Source Code Pro
  93. style: Regular
  94. bold:
  95. family: Source Code Pro
  96. style: Bold
  97. # Italic font face
  98. #italic:
  99. # Font family
  100. #
  101. # If the italic family is not specified, it will fall back to the
  102. # value specified for the normal font.
  103. #family: monospace
  104. # The `style` can be specified to pick a specific face.
  105. #style: Italic
  106. # Bold italic font face
  107. #bold_italic:
  108. # Font family
  109. #
  110. # If the bold italic family is not specified, it will fall back to the
  111. # value specified for the normal font.
  112. #family: monospace
  113. # The `style` can be specified to pick a specific face.
  114. #style: Bold Italic
  115. size: 8.0
  116. # Offset is the extra space around each character. `offset.y` can be thought
  117. # of as modifying the line spacing, and `offset.x` as modifying the letter
  118. # spacing.
  119. #offset:
  120. # x: 0
  121. # y: 0
  122. # Glyph offset determines the locations of the glyphs within their cells with
  123. # the default being at the bottom. Increasing `x` moves the glyph to the
  124. # right, increasing `y` moves the glyph upward.
  125. #glyph_offset:
  126. # x: 0
  127. # y: 0
  128. # Thin stroke font rendering (macOS only)
  129. #
  130. # Thin strokes are suitable for retina displays, but for non-retina screens
  131. # it is recommended to set `use_thin_strokes` to `false`.
  132. #use_thin_strokes: true
  133. # If `true`, bold text is drawn using the bright color variants.
  134. #draw_bold_text_with_bright_colors: false
  135. # Colors (Tomorrow Night)
  136. #colors:
  137. # Default colors
  138. #primary:
  139. # background: '#1d1f21'
  140. # foreground: '#c5c8c6'
  141. # Bright and dim foreground colors
  142. #
  143. # The dimmed foreground color is calculated automatically if it is not
  144. # present. If the bright foreground color is not set, or
  145. # `draw_bold_text_with_bright_colors` is `false`, the normal foreground
  146. # color will be used.
  147. #dim_foreground: '#828482'
  148. #bright_foreground: '#eaeaea'
  149. # Cursor colors
  150. #
  151. # Colors which should be used to draw the terminal cursor.
  152. #
  153. # Allowed values are CellForeground/CellBackground, which reference the
  154. # affected cell, or hexadecimal colors like #ff00ff.
  155. #cursor:
  156. # text: CellBackground
  157. # cursor: CellForeground
  158. # Vi mode cursor colors
  159. #
  160. # Colors for the cursor when the vi mode is active.
  161. #
  162. # Allowed values are CellForeground/CellBackground, which reference the
  163. # affected cell, or hexadecimal colors like #ff00ff.
  164. #vi_mode_cursor:
  165. # text: CellBackground
  166. # cursor: CellForeground
  167. # Search colors
  168. #
  169. # Colors used for the search bar and match highlighting.
  170. #search:
  171. # Allowed values are CellForeground/CellBackground, which reference the
  172. # affected cell, or hexadecimal colors like #ff00ff.
  173. #matches:
  174. # foreground: '#000000'
  175. # background: '#ffffff'
  176. #focused_match:
  177. # foreground: '#ffffff'
  178. # background: '#000000'
  179. #bar:
  180. # background: '#c5c8c6'
  181. # foreground: '#1d1f21'
  182. # Keyboard regex hints
  183. #hints:
  184. # First character in the hint label
  185. #
  186. # Allowed values are CellForeground/CellBackground, which reference the
  187. # affected cell, or hexadecimal colors like #ff00ff.
  188. #start:
  189. # foreground: '#1d1f21'
  190. # background: '#e9ff5e'
  191. # All characters after the first one in the hint label
  192. #
  193. # Allowed values are CellForeground/CellBackground, which reference the
  194. # affected cell, or hexadecimal colors like #ff00ff.
  195. #end:
  196. # foreground: '#e9ff5e'
  197. # background: '#1d1f21'
  198. # Line indicator
  199. #
  200. # Color used for the indicator displaying the position in history during
  201. # search and vi mode.
  202. #
  203. # By default, these will use the opposing primary color.
  204. #line_indicator:
  205. # foreground: None
  206. # background: None
  207. # Selection colors
  208. #
  209. # Colors which should be used to draw the selection area.
  210. #
  211. # Allowed values are CellForeground/CellBackground, which reference the
  212. # affected cell, or hexadecimal colors like #ff00ff.
  213. #selection:
  214. # text: CellBackground
  215. # background: CellForeground
  216. # Normal colors
  217. #normal:
  218. # black: '#1d1f21'
  219. # red: '#cc6666'
  220. # green: '#b5bd68'
  221. # yellow: '#f0c674'
  222. # blue: '#81a2be'
  223. # magenta: '#b294bb'
  224. # cyan: '#8abeb7'
  225. # white: '#c5c8c6'
  226. # Bright colors
  227. #bright:
  228. # black: '#666666'
  229. # red: '#d54e53'
  230. # green: '#b9ca4a'
  231. # yellow: '#e7c547'
  232. # blue: '#7aa6da'
  233. # magenta: '#c397d8'
  234. # cyan: '#70c0b1'
  235. # white: '#eaeaea'
  236. # Dim colors
  237. #
  238. # If the dim colors are not set, they will be calculated automatically based
  239. # on the `normal` colors.
  240. #dim:
  241. # black: '#131415'
  242. # red: '#864343'
  243. # green: '#777c44'
  244. # yellow: '#9e824c'
  245. # blue: '#556a7d'
  246. # magenta: '#75617b'
  247. # cyan: '#5b7d78'
  248. # white: '#828482'
  249. # Indexed Colors
  250. #
  251. # The indexed colors include all colors from 16 to 256.
  252. # When these are not set, they're filled with sensible defaults.
  253. #
  254. # Example:
  255. # `- { index: 16, color: '#ff00ff' }`
  256. #
  257. #indexed_colors: []
  258. # Bell
  259. #
  260. # The bell is rung every time the BEL control character is received.
  261. #bell:
  262. # Visual Bell Animation
  263. #
  264. # Animation effect for flashing the screen when the visual bell is rung.
  265. #
  266. # Values for `animation`:
  267. # - Ease
  268. # - EaseOut
  269. # - EaseOutSine
  270. # - EaseOutQuad
  271. # - EaseOutCubic
  272. # - EaseOutQuart
  273. # - EaseOutQuint
  274. # - EaseOutExpo
  275. # - EaseOutCirc
  276. # - Linear
  277. #animation: EaseOutExpo
  278. # Duration of the visual bell flash in milliseconds. A `duration` of `0` will
  279. # disable the visual bell animation.
  280. #duration: 0
  281. # Visual bell animation color.
  282. #color: '#ffffff'
  283. # Bell Command
  284. #
  285. # This program is executed whenever the bell is rung.
  286. #
  287. # When set to `command: None`, no command will be executed.
  288. #
  289. # Example:
  290. # command:
  291. # program: notify-send
  292. # args: ["Hello, World!"]
  293. #
  294. #command: None
  295. # Background opacity
  296. #
  297. # Window opacity as a floating point number from `0.0` to `1.0`.
  298. # The value `0.0` is completely transparent and `1.0` is opaque.
  299. background_opacity: 0.8
  300. #selection:
  301. # This string contains all characters that are used as separators for
  302. # "semantic words" in Alacritty.
  303. #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
  304. # When set to `true`, selected text will be copied to the primary clipboard.
  305. #save_to_clipboard: false
  306. cursor:
  307. style:
  308. # - ▇ Block
  309. # - _ Underline
  310. # - | Beam
  311. shape: Beam
  312. # - Never: Prevent the cursor from ever blinking
  313. # - Off: Disable blinking by default
  314. # - On: Enable blinking by default
  315. # - Always: Force the cursor to always blink
  316. blinking: Always
  317. # Vi mode cursor style
  318. #
  319. # If the vi mode cursor style is `None` or not specified, it will fall back to
  320. # the style of the active value of the normal cursor.
  321. #
  322. # See `cursor.style` for available options.
  323. #vi_mode_style: None
  324. # Cursor blinking interval in milliseconds.
  325. #blink_interval: 750
  326. # If this is `true`, the cursor will be rendered as a hollow box when the
  327. # window is not focused.
  328. #unfocused_hollow: true
  329. # Thickness of the cursor relative to the cell width as floating point number
  330. # from `0.0` to `1.0`.
  331. #thickness: 0.15
  332. # Live config reload (changes require restart)
  333. #live_config_reload: true
  334. # Shell
  335. #
  336. # You can set `shell.program` to the path of your favorite shell, e.g.
  337. # `/bin/fish`. Entries in `shell.args` are passed unmodified as arguments to the
  338. # shell.
  339. #
  340. # Default:
  341. # - (macOS) /bin/bash --login
  342. # - (Linux/BSD) user login shell
  343. # - (Windows) powershell
  344. shell:
  345. program: /bin/zsh
  346. args:
  347. - --login
  348. # Startup directory
  349. #
  350. # Directory the shell is started in. If this is unset, or `None`, the working
  351. # directory of the parent process will be used.
  352. #working_directory: None
  353. # Send ESC (\x1b) before characters when alt is pressed.
  354. #alt_send_esc: true
  355. #mouse:
  356. # Click settings
  357. #
  358. # The `double_click` and `triple_click` settings control the time
  359. # alacritty should wait for accepting multiple clicks as one double
  360. # or triple click.
  361. #double_click: { threshold: 300 }
  362. #triple_click: { threshold: 300 }
  363. # If this is `true`, the cursor is temporarily hidden when typing.
  364. #hide_when_typing: false
  365. # Regex hints
  366. #
  367. # Terminal hints can be used to find text in the visible part of the terminal
  368. # and pipe it to other applications.
  369. #hints:
  370. # Keys used for the hint labels.
  371. #alphabet: "jfkdls;ahgurieowpq"
  372. # List with all available hints
  373. #
  374. # Each hint must have a `regex` and either an `action` or a `command` field.
  375. # The fields `mouse`, `binding` and `post_processing` are optional.
  376. #
  377. # The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and
  378. # `mouse.mods` accept the same values as they do in the `key_bindings` section.
  379. #
  380. # The `mouse.enabled` field controls if the hint should be underlined while
  381. # the mouse with all `mouse.mods` keys held or the vi mode cursor is above it.
  382. #
  383. # If the `post_processing` field is set to `true`, heuristics will be used to
  384. # shorten the match if there are characters likely not to be part of the hint
  385. # (e.g. a trailing `.`). This is most useful for URIs.
  386. #
  387. # Values for `action`:
  388. # - Copy
  389. # Copy the hint's text to the clipboard.
  390. # - Paste
  391. # Paste the hint's text to the terminal or search.
  392. # - Select
  393. # Select the hint's text.
  394. # - MoveViModeCursor
  395. # Move the vi mode cursor to the beginning of the hint.
  396. #enabled:
  397. # - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
  398. # [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
  399. # command: xdg-open
  400. # post_processing: true
  401. # mouse:
  402. # enabled: true
  403. # mods: None
  404. # binding:
  405. # key: U
  406. # mods: Control|Shift
  407. # Mouse bindings
  408. #
  409. # Mouse bindings are specified as a list of objects, much like the key
  410. # bindings further below.
  411. #
  412. # To trigger mouse bindings when an application running within Alacritty
  413. # captures the mouse, the `Shift` modifier is automatically added as a
  414. # requirement.
  415. #
  416. # Each mouse binding will specify a:
  417. #
  418. # - `mouse`:
  419. #
  420. # - Middle
  421. # - Left
  422. # - Right
  423. # - Numeric identifier such as `5`
  424. #
  425. # - `action` (see key bindings)
  426. #
  427. # And optionally:
  428. #
  429. # - `mods` (see key bindings)
  430. #mouse_bindings:
  431. # - { mouse: Middle, action: PasteSelection }
  432. # Key bindings
  433. #
  434. # Key bindings are specified as a list of objects. For example, this is the
  435. # default paste binding:
  436. #
  437. # `- { key: V, mods: Control|Shift, action: Paste }`
  438. #
  439. # Each key binding will specify a:
  440. #
  441. # - `key`: Identifier of the key pressed
  442. #
  443. # - A-Z
  444. # - F1-F24
  445. # - Key0-Key9
  446. #
  447. # A full list with available key codes can be found here:
  448. # https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants
  449. #
  450. # Instead of using the name of the keys, the `key` field also supports using
  451. # the scancode of the desired key. Scancodes have to be specified as a
  452. # decimal number. This command will allow you to display the hex scancodes
  453. # for certain keys:
  454. #
  455. # `showkey --scancodes`.
  456. #
  457. # Then exactly one of:
  458. #
  459. # - `chars`: Send a byte sequence to the running application
  460. #
  461. # The `chars` field writes the specified string to the terminal. This makes
  462. # it possible to pass escape sequences. To find escape codes for bindings
  463. # like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside
  464. # of tmux. Note that applications use terminfo to map escape sequences back
  465. # to keys. It is therefore required to update the terminfo when changing an
  466. # escape sequence.
  467. #
  468. # - `action`: Execute a predefined action
  469. #
  470. # - ToggleViMode
  471. # - SearchForward
  472. # Start searching toward the right of the search origin.
  473. # - SearchBackward
  474. # Start searching toward the left of the search origin.
  475. # - Copy
  476. # - Paste
  477. # - IncreaseFontSize
  478. # - DecreaseFontSize
  479. # - ResetFontSize
  480. # - ScrollPageUp
  481. # - ScrollPageDown
  482. # - ScrollHalfPageUp
  483. # - ScrollHalfPageDown
  484. # - ScrollLineUp
  485. # - ScrollLineDown
  486. # - ScrollToTop
  487. # - ScrollToBottom
  488. # - ClearHistory
  489. # Remove the terminal's scrollback history.
  490. # - Hide
  491. # Hide the Alacritty window.
  492. # - Minimize
  493. # Minimize the Alacritty window.
  494. # - Quit
  495. # Quit Alacritty.
  496. # - ToggleFullscreen
  497. # - SpawnNewInstance
  498. # Spawn a new instance of Alacritty.
  499. # - ClearLogNotice
  500. # Clear Alacritty's UI warning and error notice.
  501. # - ClearSelection
  502. # Remove the active selection.
  503. # - ReceiveChar
  504. # - None
  505. #
  506. # - Vi mode exclusive actions:
  507. #
  508. # - Open
  509. # Perform the action of the first matching hint under the vi mode cursor
  510. # with `mouse.enabled` set to `true`.
  511. # - ToggleNormalSelection
  512. # - ToggleLineSelection
  513. # - ToggleBlockSelection
  514. # - ToggleSemanticSelection
  515. # Toggle semantic selection based on `selection.semantic_escape_chars`.
  516. #
  517. # - Vi mode exclusive cursor motion actions:
  518. #
  519. # - Up
  520. # One line up.
  521. # - Down
  522. # One line down.
  523. # - Left
  524. # One character left.
  525. # - Right
  526. # One character right.
  527. # - First
  528. # First column, or beginning of the line when already at the first column.
  529. # - Last
  530. # Last column, or beginning of the line when already at the last column.
  531. # - FirstOccupied
  532. # First non-empty cell in this terminal row, or first non-empty cell of
  533. # the line when already at the first cell of the row.
  534. # - High
  535. # Top of the screen.
  536. # - Middle
  537. # Center of the screen.
  538. # - Low
  539. # Bottom of the screen.
  540. # - SemanticLeft
  541. # Start of the previous semantically separated word.
  542. # - SemanticRight
  543. # Start of the next semantically separated word.
  544. # - SemanticLeftEnd
  545. # End of the previous semantically separated word.
  546. # - SemanticRightEnd
  547. # End of the next semantically separated word.
  548. # - WordLeft
  549. # Start of the previous whitespace separated word.
  550. # - WordRight
  551. # Start of the next whitespace separated word.
  552. # - WordLeftEnd
  553. # End of the previous whitespace separated word.
  554. # - WordRightEnd
  555. # End of the next whitespace separated word.
  556. # - Bracket
  557. # Character matching the bracket at the cursor's location.
  558. # - SearchNext
  559. # Beginning of the next match.
  560. # - SearchPrevious
  561. # Beginning of the previous match.
  562. # - SearchStart
  563. # Start of the match to the left of the vi mode cursor.
  564. # - SearchEnd
  565. # End of the match to the right of the vi mode cursor.
  566. #
  567. # - Search mode exclusive actions:
  568. # - SearchFocusNext
  569. # Move the focus to the next search match.
  570. # - SearchFocusPrevious
  571. # Move the focus to the previous search match.
  572. # - SearchConfirm
  573. # - SearchCancel
  574. # - SearchClear
  575. # Reset the search regex.
  576. # - SearchDeleteWord
  577. # Delete the last word in the search regex.
  578. # - SearchHistoryPrevious
  579. # Go to the previous regex in the search history.
  580. # - SearchHistoryNext
  581. # Go to the next regex in the search history.
  582. #
  583. # - macOS exclusive actions:
  584. # - ToggleSimpleFullscreen
  585. # Enter fullscreen without occupying another space.
  586. #
  587. # - Linux/BSD exclusive actions:
  588. #
  589. # - CopySelection
  590. # Copy from the selection buffer.
  591. # - PasteSelection
  592. # Paste from the selection buffer.
  593. #
  594. # - `command`: Fork and execute a specified command plus arguments
  595. #
  596. # The `command` field must be a map containing a `program` string and an
  597. # `args` array of command line parameter strings. For example:
  598. # `{ program: "alacritty", args: ["-e", "vttest"] }`
  599. #
  600. # And optionally:
  601. #
  602. # - `mods`: Key modifiers to filter binding actions
  603. #
  604. # - Command
  605. # - Control
  606. # - Option
  607. # - Super
  608. # - Shift
  609. # - Alt
  610. #
  611. # Multiple `mods` can be combined using `|` like this:
  612. # `mods: Control|Shift`.
  613. # Whitespace and capitalization are relevant and must match the example.
  614. #
  615. # - `mode`: Indicate a binding for only specific terminal reported modes
  616. #
  617. # This is mainly used to send applications the correct escape sequences
  618. # when in different modes.
  619. #
  620. # - AppCursor
  621. # - AppKeypad
  622. # - Search
  623. # - Alt
  624. # - Vi
  625. #
  626. # A `~` operator can be used before a mode to apply the binding whenever
  627. # the mode is *not* active, e.g. `~Alt`.
  628. #
  629. # Bindings are always filled by default, but will be replaced when a new
  630. # binding with the same triggers is defined. To unset a default binding, it can
  631. # be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for
  632. # a no-op if you do not wish to receive input characters for that binding.
  633. #
  634. # If the same trigger is assigned to multiple actions, all of them are executed
  635. # in the order they were defined in.
  636. #key_bindings:
  637. #- { key: Paste, action: Paste }
  638. #- { key: Copy, action: Copy }
  639. #- { key: L, mods: Control, action: ClearLogNotice }
  640. #- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" }
  641. #- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, }
  642. #- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown }
  643. #- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop, }
  644. #- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom }
  645. # Vi Mode
  646. #- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode }
  647. #- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom }
  648. #- { key: Escape, mode: Vi|~Search, action: ClearSelection }
  649. #- { key: I, mode: Vi|~Search, action: ToggleViMode }
  650. #- { key: I, mode: Vi|~Search, action: ScrollToBottom }
  651. #- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode }
  652. #- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp }
  653. #- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown }
  654. #- { key: G, mode: Vi|~Search, action: ScrollToTop }
  655. #- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom }
  656. #- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp }
  657. #- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown }
  658. #- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp }
  659. #- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown }
  660. #- { key: Y, mode: Vi|~Search, action: Copy }
  661. #- { key: Y, mode: Vi|~Search, action: ClearSelection }
  662. #- { key: Copy, mode: Vi|~Search, action: ClearSelection }
  663. #- { key: V, mode: Vi|~Search, action: ToggleNormalSelection }
  664. #- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection }
  665. #- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection }
  666. #- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection }
  667. #- { key: Return, mode: Vi|~Search, action: Open }
  668. #- { key: K, mode: Vi|~Search, action: Up }
  669. #- { key: J, mode: Vi|~Search, action: Down }
  670. #- { key: H, mode: Vi|~Search, action: Left }
  671. #- { key: L, mode: Vi|~Search, action: Right }
  672. #- { key: Up, mode: Vi|~Search, action: Up }
  673. #- { key: Down, mode: Vi|~Search, action: Down }
  674. #- { key: Left, mode: Vi|~Search, action: Left }
  675. #- { key: Right, mode: Vi|~Search, action: Right }
  676. #- { key: Key0, mode: Vi|~Search, action: First }
  677. #- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last }
  678. #- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied }
  679. #- { key: H, mods: Shift, mode: Vi|~Search, action: High }
  680. #- { key: M, mods: Shift, mode: Vi|~Search, action: Middle }
  681. #- { key: L, mods: Shift, mode: Vi|~Search, action: Low }
  682. #- { key: B, mode: Vi|~Search, action: SemanticLeft }
  683. #- { key: W, mode: Vi|~Search, action: SemanticRight }
  684. #- { key: E, mode: Vi|~Search, action: SemanticRightEnd }
  685. #- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft }
  686. #- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight }
  687. #- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd }
  688. #- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket }
  689. #- { key: Slash, mode: Vi|~Search, action: SearchForward }
  690. #- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward }
  691. #- { key: N, mode: Vi|~Search, action: SearchNext }
  692. #- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious }
  693. # Search Mode
  694. #- { key: Return, mode: Search|Vi, action: SearchConfirm }
  695. #- { key: Escape, mode: Search, action: SearchCancel }
  696. #- { key: C, mods: Control, mode: Search, action: SearchCancel }
  697. #- { key: U, mods: Control, mode: Search, action: SearchClear }
  698. #- { key: W, mods: Control, mode: Search, action: SearchDeleteWord }
  699. #- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious }
  700. #- { key: N, mods: Control, mode: Search, action: SearchHistoryNext }
  701. #- { key: Up, mode: Search, action: SearchHistoryPrevious }
  702. #- { key: Down, mode: Search, action: SearchHistoryNext }
  703. #- { key: Return, mode: Search|~Vi, action: SearchFocusNext }
  704. #- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious }
  705. # (Windows, Linux, and BSD only)
  706. #- { key: V, mods: Control|Shift, mode: ~Vi, action: Paste }
  707. #- { key: C, mods: Control|Shift, action: Copy }
  708. #- { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward }
  709. #- { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward }
  710. #- { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection }
  711. #- { key: Insert, mods: Shift, action: PasteSelection }
  712. #- { key: Key0, mods: Control, action: ResetFontSize }
  713. #- { key: Equals, mods: Control, action: IncreaseFontSize }
  714. #- { key: Plus, mods: Control, action: IncreaseFontSize }
  715. #- { key: NumpadAdd, mods: Control, action: IncreaseFontSize }
  716. #- { key: Minus, mods: Control, action: DecreaseFontSize }
  717. #- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize }
  718. # (Windows only)
  719. #- { key: Return, mods: Alt, action: ToggleFullscreen }
  720. # (macOS only)
  721. #- { key: K, mods: Command, mode: ~Vi|~Search, chars: "\x0c" }
  722. #- { key: K, mods: Command, mode: ~Vi|~Search, action: ClearHistory }
  723. #- { key: Key0, mods: Command, action: ResetFontSize }
  724. #- { key: Equals, mods: Command, action: IncreaseFontSize }
  725. #- { key: Plus, mods: Command, action: IncreaseFontSize }
  726. #- { key: NumpadAdd, mods: Command, action: IncreaseFontSize }
  727. #- { key: Minus, mods: Command, action: DecreaseFontSize }
  728. #- { key: NumpadSubtract, mods: Command, action: DecreaseFontSize }
  729. #- { key: V, mods: Command, action: Paste }
  730. #- { key: C, mods: Command, action: Copy }
  731. #- { key: C, mods: Command, mode: Vi|~Search, action: ClearSelection }
  732. #- { key: H, mods: Command, action: Hide }
  733. #- { key: H, mods: Command|Alt, action: HideOtherApplications }
  734. #- { key: M, mods: Command, action: Minimize }
  735. #- { key: Q, mods: Command, action: Quit }
  736. #- { key: W, mods: Command, action: Quit }
  737. #- { key: N, mods: Command, action: SpawnNewInstance }
  738. #- { key: F, mods: Command|Control, action: ToggleFullscreen }
  739. #- { key: F, mods: Command, mode: ~Search, action: SearchForward }
  740. #- { key: B, mods: Command, mode: ~Search, action: SearchBackward }
  741. #debug:
  742. # Display the time it takes to redraw each frame.
  743. #render_timer: false
  744. # Keep the log file after quitting Alacritty.
  745. #persistent_logging: false
  746. # Log level
  747. #
  748. # Values for `log_level`:
  749. # - Off
  750. # - Error
  751. # - Warn
  752. # - Info
  753. # - Debug
  754. # - Trace
  755. #log_level: Warn
  756. # Print all received window events.
  757. #print_events: false