poetician

Alacritty | Afterglow and FantasqueSansMono Setup

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