Guest User

Untitled

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