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.

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