poetician

alacritty.yml

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