alacritty.yml 29 KB

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