You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

825 lines
28 KiB

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