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.

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