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.

967 lines
26 KiB

2 years ago
  1. # Configuration for Alacritty, the GPU enhanced terminal emulator.
  2. # Any items in the `env` entry below will be added as
  3. # environment variables. Some entries may override variables
  4. # set by alacritty itself.
  5. env:
  6. # TERM variable
  7. #
  8. # This value is used to set the `$TERM` environment variable for
  9. # each instance of Alacritty. If it is not present, alacritty will
  10. # check the local terminfo database and use `alacritty` if it is
  11. # available, otherwise `xterm-256color` is used.
  12. TERM: xterm-256color
  13. window:
  14. # Window dimensions (changes require restart)
  15. #
  16. # Specified in number of columns/lines, not pixels.
  17. # If both are `0`, this setting is ignored.
  18. #dimensions:
  19. # columns: 0
  20. # lines: 0
  21. # Window position (changes require restart)
  22. #
  23. # Specified in number of pixels.
  24. # If the position is not set, the window manager will handle the placement.
  25. #position:
  26. # x: 0
  27. # y: 0
  28. # Window padding (changes require restart)
  29. #
  30. # Blank space added around the window in pixels. This padding is scaled
  31. # by DPI and the specified value is always added at both opposing sides.
  32. padding:
  33. x: 10
  34. y: 10
  35. # Spread additional padding evenly around the terminal content.
  36. dynamic_padding: false
  37. # Background opacity
  38. #
  39. # Window opacity as a floating point number from `0.0` to `1.0`.
  40. # The value `0.0` is completely transparent and `1.0` is opaque.
  41. opacity: 0.8
  42. # opacity: 0.80
  43. decorations: none
  44. # Window decorations
  45. #
  46. # Values for `decorations`:
  47. # - full: Borders and title bar
  48. # - none: Neither borders nor title bar
  49. #
  50. # Values for `decorations` (macOS only):
  51. # - transparent: Title bar, transparent background and title bar buttons
  52. # - buttonless: Title bar, transparent background, but no title bar buttons
  53. #decorations: full
  54. # Startup Mode (changes require restart)
  55. #
  56. # Values for `startup_mode`:
  57. # - Windowed
  58. # - Maximized
  59. # - Fullscreen
  60. #
  61. # Values for `startup_mode` (macOS only):
  62. # - SimpleFullscreen
  63. #startup_mode: Windowed
  64. # Window title
  65. title: Alacritty
  66. # Window class (Linux/BSD only):
  67. class:
  68. # Application instance name
  69. instance: Alacritty
  70. # General application class
  71. general: Alacritty
  72. # GTK theme variant (Linux/BSD only)
  73. #
  74. # Override the variant of the GTK theme. Commonly supported values are `dark` and `light`.
  75. # Set this to `None` to use the default theme variant.
  76. #gtk_theme_variant: None
  77. scrolling:
  78. # Maximum number of lines in the scrollback buffer.
  79. # Specifying '0' will disable scrolling.
  80. history: 5000
  81. # Number of lines the viewport will move for every line scrolled when
  82. # scrollback is enabled (history > 0).
  83. #multiplier: 3
  84. # Scroll to the bottom when new text is written to the terminal.
  85. #auto_scroll: false
  86. # Spaces per Tab (changes require restart)
  87. #
  88. # This setting defines the width of a tab in cells.
  89. #
  90. # Some applications, like Emacs, rely on knowing about the width of a tab.
  91. # To prevent unexpected behavior in these applications, it's also required to
  92. # change the `it` value in terminfo when altering this setting.
  93. #tabspaces: 8
  94. # Font configuration
  95. font:
  96. # Normal (roman) font face
  97. normal:
  98. # Font family
  99. #
  100. # Default:
  101. # - (macOS) Menlo
  102. # - (Linux/BSD) monospace
  103. # - (Windows) Consolas
  104. #family: Cascadia Code
  105. # family: CodeNewRoman Nerd Font
  106. # family: RobotoMono Nerd Font
  107. # family: Hack
  108. family: JetBrains Mono Nerd Font
  109. # family: UbuntuMono Nerd Font
  110. # family: Monofur Nerd Font
  111. # family: TerminessTTF Nerd Font
  112. # family: Mononoki Nerd Font
  113. # The `style` can be specified to pick a specific face.
  114. style: Regular
  115. # Bold font face
  116. bold:
  117. # Font family
  118. #
  119. # If the bold family is not specified, it will fall back to the
  120. # value specified for the normal font.
  121. #family: Cascadia Code
  122. # family: CodeNewRoman Nerd Font
  123. # family: RobotoMono Nerd Font
  124. # family: Hack
  125. family: JetBrains Mono Nerd Font
  126. # family: UbuntuMono Nerd Font
  127. # family: Monofur Nerd Font
  128. # family: TerminessTTF Nerd Font
  129. # family: Mononoki Nerd Font
  130. # The `style` can be specified to pick a specific face.
  131. style: Bold
  132. # Italic font face
  133. italic:
  134. # Font family
  135. #
  136. # If the italic family is not specified, it will fall back to the
  137. # value specified for the normal font.
  138. #family: Cascadia Code
  139. # family: CodeNewRoman Nerd Font
  140. # family: RobotoMono Nerd Font
  141. # family: Hack
  142. family: JetBrains Mono Nerd Font
  143. # family: UbuntuMono Nerd Font
  144. # family: Monofuritalic Nerd Font Mono
  145. # family: TerminessTTF Nerd Font
  146. # family: Mononoki Nerd Font
  147. # The `style` can be specified to pick a specific face.
  148. style: Italic
  149. # Bold italic font face
  150. bold_italic:
  151. # Font family
  152. #
  153. # If the bold italic family is not specified, it will fall back to the
  154. # value specified for the normal font.
  155. #family: Cascadia Code
  156. # family: CodeNewRoman Nerd Font
  157. # family: RobotoMono Nerd Font
  158. # family: Hack
  159. family: JetBrains Mono Nerd Font
  160. # family: UbuntuMono Nerd Font
  161. # family: Monofuritalic Nerd Font Mono
  162. # family: TerminessTTF Nerd Font
  163. # family: Mononoki Nerd Font
  164. # The `style` can be specified to pick a specific face.
  165. style: Bold Italic
  166. # Point size
  167. #size: 13.0
  168. size: 11.5
  169. # Offset is the extra space around each character. `offset.y` can be thought of
  170. # as modifying the line spacing, and `offset.x` as modifying the letter spacing.
  171. offset:
  172. x: 0
  173. y: 1
  174. # Glyph offset determines the locations of the glyphs within their cells with
  175. # the default being at the bottom. Increasing `x` moves the glyph to the right,
  176. # increasing `y` moves the glyph upwards.
  177. #glyph_offset:
  178. # x: 0
  179. # y: 0
  180. # Thin stroke font rendering (macOS only)
  181. #
  182. # Thin strokes are suitable for retina displays, but for non-retina screens
  183. # it is recommended to set `use_thin_strokes` to `false`
  184. #
  185. # macOS >= 10.14.x:
  186. #
  187. # If the font quality on non-retina display looks bad then set
  188. # `use_thin_strokes` to `true` and enable font smoothing by running the
  189. # following command:
  190. # `defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO`
  191. #
  192. # This is a global setting and will require a log out or restart to take
  193. # effect.
  194. #use_thin_strokes: true
  195. # If `true`, bold text is drawn using the bright color variants.
  196. draw_bold_text_with_bright_colors: true
  197. #######################################
  198. ## START OF COLOR SCHEMES ##
  199. #######################################
  200. schemes:
  201. ### Doom One ###
  202. DoomOne: &DoomOne
  203. primary:
  204. background: '#282c34'
  205. foreground: '#bbc2cf'
  206. cursor:
  207. text: CellBackground
  208. cursor: '#528bff'
  209. selection:
  210. text: CellForeground
  211. background: '#3e4451'
  212. normal:
  213. black: '#1c1f24'
  214. red: '#ff6c6b'
  215. green: '#98be65'
  216. yellow: '#da8548'
  217. blue: '#51afef'
  218. magenta: '#c678dd'
  219. cyan: '#5699af'
  220. white: '#202328'
  221. bright:
  222. black: '#5b6268'
  223. red: '#da8548'
  224. green: '#4db5bd'
  225. yellow: '#ecbe7b'
  226. blue: '#3071db' # This is 2257a0 in Doom Emacs but I lightened it.
  227. magenta: '#a9a1e1'
  228. cyan: '#46d9ff'
  229. white: '#dfdfdf'
  230. ### Dracula ###
  231. Dracula: &Dracula
  232. primary:
  233. background: '#282a36'
  234. foreground: '#f8f8f2'
  235. cursor:
  236. text: CellBackground
  237. cursor: CellForeground
  238. vi_mode_cursor:
  239. text: CellBackground
  240. cursor: CellForeground
  241. search:
  242. matches:
  243. foreground: '#44475a'
  244. background: '#50fa7b'
  245. focused_match:
  246. foreground: '#44475a'
  247. background: '#ffb86c'
  248. bar:
  249. background: '#282a36'
  250. foreground: '#f8f8f2'
  251. line_indicator:
  252. foreground: None
  253. background: None
  254. selection:
  255. text: CellForeground
  256. background: '#44475a'
  257. normal:
  258. black: '#000000'
  259. red: '#ff5555'
  260. green: '#50fa7b'
  261. yellow: '#f1fa8c'
  262. blue: '#bd93f9'
  263. magenta: '#ff79c6'
  264. cyan: '#8be9fd'
  265. white: '#bfbfbf'
  266. bright:
  267. black: '#4d4d4d'
  268. red: '#ff6e67'
  269. green: '#5af78e'
  270. yellow: '#f4f99d'
  271. blue: '#caa9fa'
  272. magenta: '#ff92d0'
  273. cyan: '#9aedfe'
  274. white: '#e6e6e6'
  275. dim:
  276. black: '#14151b'
  277. red: '#ff2222'
  278. green: '#1ef956'
  279. yellow: '#ebf85b'
  280. blue: '#4d5b86'
  281. magenta: '#ff46b0'
  282. cyan: '#59dffc'
  283. white: '#e6e6d1'
  284. ### Gruvbox dark ###
  285. GruvboxDark: &GruvboxDark
  286. # Default colors
  287. primary:
  288. # hard contrast: background = '0x1d2021'
  289. background: '#282828'
  290. # soft contrast: background = '0x32302f'
  291. foreground: '#ebdbb2'
  292. # Normal colors
  293. normal:
  294. black: '#282828'
  295. red: '#cc241d'
  296. green: '#98971a'
  297. yellow: '#d79921'
  298. blue: '#458588'
  299. magenta: '#b16286'
  300. cyan: '#689d6a'
  301. white: '#a89984'
  302. # Bright colors
  303. bright:
  304. black: '#928374'
  305. red: '#fb4934'
  306. green: '#b8bb26'
  307. yellow: '#fabd2f'
  308. blue: '#83a598'
  309. magenta: '#d3869b'
  310. cyan: '#8ec07c'
  311. white: '#ebdbb2'
  312. ### Monokai ###
  313. MonokaiPro: &MonokaiPro
  314. # Default colors
  315. primary:
  316. background: '#2D2A2E'
  317. foreground: '#FCFCFA'
  318. # Normal colors
  319. normal:
  320. black: '#403E41'
  321. red: '#FF6188'
  322. green: '#A9DC76'
  323. yellow: '#FFD866'
  324. blue: '#FC9867'
  325. magenta: '#AB9DF2'
  326. cyan: '#78DCE8'
  327. white: '#FCFCFA'
  328. # Bright colors
  329. bright:
  330. black: '#727072'
  331. red: '#FF6188'
  332. green: '#A9DC76'
  333. yellow: '#FFD866'
  334. blue: '#FC9867'
  335. magenta: '#AB9DF2'
  336. cyan: '#78DCE8'
  337. white: '#FCFCFA'
  338. ### Nord ###
  339. Nord: &Nord
  340. # Default colors
  341. primary:
  342. background: '#2E3440'
  343. foreground: '#D8DEE9'
  344. # Normal colors
  345. normal:
  346. black: '#3B4252'
  347. red: '#BF616A'
  348. green: '#A3BE8C'
  349. yellow: '#EBCB8B'
  350. blue: '#81A1C1'
  351. magenta: '#B48EAD'
  352. cyan: '#88C0D0'
  353. white: '#E5E9F0'
  354. # Bright colors
  355. bright:
  356. black: '#4C566A'
  357. red: '#BF616A'
  358. green: '#A3BE8C'
  359. yellow: '#EBCB8B'
  360. blue: '#81A1C1'
  361. magenta: '#B48EAD'
  362. cyan: '#8FBCBB'
  363. white: '#ECEFF4'
  364. ### Oceanic Next ###
  365. OceanicNext: &OceanicNext
  366. # Default colors
  367. primary:
  368. background: '#1b2b34'
  369. foreground: '#d8dee9'
  370. # Colors the cursor will use if `custom_cursor_colors` is true
  371. cursor:
  372. text: '#1b2b34'
  373. cursor: '#ffffff'
  374. # Normal colors
  375. normal:
  376. black: '#343d46'
  377. red: '#EC5f67'
  378. green: '#99C794'
  379. yellow: '#FAC863'
  380. blue: '#6699cc'
  381. magenta: '#c594c5'
  382. cyan: '#5fb3b3'
  383. white: '#d8dee9'
  384. # Bright colors
  385. bright:
  386. black: '#343d46'
  387. red: '#EC5f67'
  388. green: '#99C794'
  389. yellow: '#FAC863'
  390. blue: '#6699cc'
  391. magenta: '#c594c5'
  392. cyan: '#5fb3b3'
  393. white: '#d8dee9'
  394. ### Palenight ###
  395. Palenight: &Palenight
  396. # Default colors
  397. primary:
  398. background: '#292d3e'
  399. foreground: '#d0d0d0'
  400. # Normal colors
  401. normal:
  402. black: '#292d3e'
  403. red: '#f07178'
  404. green: '#c3e88d'
  405. yellow: '#ffcb6b'
  406. blue: '#82aaff'
  407. magenta: '#c792ea'
  408. cyan: '#89ddff'
  409. white: '#d0d0d0'
  410. # Bright colors
  411. bright:
  412. black: '#434758'
  413. red: '#ff8b92'
  414. green: '#ddffa7'
  415. yellow: '#ffe585'
  416. blue: '#9cc4ff'
  417. magenta: '#e1acff'
  418. cyan: '#a3f7ff'
  419. white: '#ffffff'
  420. ### Solarized Dark ###
  421. SolarizedDark: &SolarizedDark
  422. # Default colors
  423. primary:
  424. background: '#002b36' # base03
  425. foreground: '#839496' # base0
  426. # Cursor colors
  427. cursor:
  428. text: '#002b36' # base03
  429. cursor: '#839496' # base0
  430. # Normal colors
  431. normal:
  432. black: '#073642' # base02
  433. red: '#dc322f' # red
  434. green: '#859900' # green
  435. yellow: '#b58900' # yellow
  436. blue: '#268bd2' # blue
  437. magenta: '#d33682' # magenta
  438. cyan: '#2aa198' # cyan
  439. white: '#eee8d5' # base2
  440. # Bright colors
  441. bright:
  442. black: '#002b36' # base03
  443. red: '#cb4b16' # orange
  444. green: '#586e75' # base01
  445. yellow: '#657b83' # base00
  446. blue: '#839496' # base0
  447. magenta: '#6c71c4' # violet
  448. cyan: '#93a1a1' # base1
  449. white: '#fdf6e3' # base3
  450. ### Solarized Light ###
  451. SolarizedLight: &SolarizedLight
  452. # Default colors
  453. primary:
  454. background: '#fdf6e3' # base3
  455. foreground: '#657b83' # base00
  456. # Cursor colors
  457. cursor:
  458. text: '#fdf6e3' # base3
  459. cursor: '#657b83' # base00
  460. # Normal colors
  461. normal:
  462. black: '#073642' # base02
  463. red: '#dc322f' # red
  464. green: '#859900' # green
  465. yellow: '#b58900' # yellow
  466. blue: '#268bd2' # blue
  467. magenta: '#d33682' # magenta
  468. cyan: '#2aa198' # cyan
  469. white: '#eee8d5' # base2
  470. # Bright colors
  471. bright:
  472. black: '#002b36' # base03
  473. red: '#cb4b16' # orange
  474. green: '#586e75' # base01
  475. yellow: '#657b83' # base00
  476. blue: '#839496' # base0
  477. magenta: '#6c71c4' # violet
  478. cyan: '#93a1a1' # base1
  479. white: '#fdf6e3' # base3
  480. ### Tomorrow Night ###
  481. TomorrowNight: &TomorrowNight
  482. # Default colors
  483. primary:
  484. background: '#1d1f21'
  485. foreground: '#c5c8c6'
  486. # Colors the cursor will use if `custom_cursor_colors` is true
  487. cursor:
  488. text: '#1d1f21'
  489. cursor: '#ffffff'
  490. # Normal colors
  491. normal:
  492. black: '#1d1f21'
  493. red: '#cc6666'
  494. green: '#b5bd68'
  495. yellow: '#e6c547'
  496. blue: '#81a2be'
  497. magenta: '#b294bb'
  498. cyan: '#70c0ba'
  499. white: '#373b41'
  500. # Bright colors
  501. bright:
  502. black: '#666666'
  503. red: '#ff3334'
  504. green: '#9ec400'
  505. yellow: '#f0c674'
  506. blue: '#81a2be'
  507. magenta: '#b77ee0'
  508. cyan: '#54ced6'
  509. white: '#282a2e'
  510. gruvbox_material: &gruvbox_material
  511. primary:
  512. background: '0x282828'
  513. foreground: '0xdfbf8e'
  514. normal:
  515. black: '0x665c54'
  516. red: '0xea6962'
  517. green: '0xa9b665'
  518. yellow: '0xe78a4e'
  519. blue: '0x7daea3'
  520. magenta: '0xd3869b'
  521. cyan: '0x89b482'
  522. white: '0xdfbf8e'
  523. bright:
  524. black: '0x928374'
  525. red: '0xea6962'
  526. green: '0xa9b665'
  527. yellow: '0xe3a84e'
  528. blue: '0x7daea3'
  529. magenta: '0xd3869b'
  530. cyan: '0x89b482'
  531. white: '0xdfbf8e'
  532. catppuccin: &catppuccin
  533. primary:
  534. background: "#1E1E2E" # base
  535. foreground: "#CDD6F4" # text
  536. # Bright and dim foreground colors
  537. dim_foreground: "#CDD6F4" # text
  538. bright_foreground: "#CDD6F4" # text
  539. # Cursor colors
  540. cursor:
  541. text: "#1E1E2E" # base
  542. cursor: "#F5E0DC" # rosewater
  543. vi_mode_cursor:
  544. text: "#1E1E2E" # base
  545. cursor: "#B4BEFE" # lavender
  546. # Search colors
  547. search:
  548. matches:
  549. foreground: "#1E1E2E" # base
  550. background: "#A6ADC8" # subtext0
  551. focused_match:
  552. foreground: "#1E1E2E" # base
  553. background: "#A6E3A1" # green
  554. footer_bar:
  555. foreground: "#1E1E2E" # base
  556. background: "#A6ADC8" # subtext0
  557. # Keyboard regex hints
  558. hints:
  559. start:
  560. foreground: "#1E1E2E" # base
  561. background: "#F9E2AF" # yellow
  562. end:
  563. foreground: "#1E1E2E" # base
  564. background: "#A6ADC8" # subtext0
  565. # Selection colors
  566. selection:
  567. text: "#1E1E2E" # base
  568. background: "#F5E0DC" # rosewater
  569. # Normal colors
  570. normal:
  571. black: "#45475A" # surface1
  572. red: "#F38BA8" # red
  573. green: "#A6E3A1" # green
  574. yellow: "#F9E2AF" # yellow
  575. blue: "#89B4FA" # blue
  576. magenta: "#F5C2E7" # pink
  577. cyan: "#94E2D5" # teal
  578. white: "#BAC2DE" # subtext1
  579. # Bright colors
  580. bright:
  581. black: "#585B70" # surface2
  582. red: "#F38BA8" # red
  583. green: "#A6E3A1" # green
  584. yellow: "#F9E2AF" # yellow
  585. blue: "#89B4FA" # blue
  586. magenta: "#F5C2E7" # pink
  587. cyan: "#94E2D5" # teal
  588. white: "#A6ADC8" # subtext0
  589. # Dim colors
  590. dim:
  591. black: "#45475A" # surface1
  592. red: "#F38BA8" # red
  593. green: "#A6E3A1" # green
  594. yellow: "#F9E2AF" # yellow
  595. blue: "#89B4FA" # blue
  596. magenta: "#F5C2E7" # pink
  597. cyan: "#94E2D5" # teal
  598. white: "#BAC2DE" # subtext1
  599. ######################################################################
  600. ## SET THEME: Choose ONE color scheme from those in the above list. ##
  601. ## ###################################################################
  602. # Available themes are:
  603. # *DoomOne
  604. # *Dracula
  605. # *GruvboxDark
  606. # *MonokaiPro
  607. # *Nord
  608. # *OceanicNext
  609. # *Palenight
  610. # *SolarizedLight
  611. # *SolarizedDark
  612. # *TomorrowNight
  613. #colors: *gruvbox_material
  614. colors: *catppuccin
  615. #######################################
  616. ## END OF COLOR SCHEMES ##
  617. #######################################
  618. # Visual Bell
  619. #
  620. # Any time the BEL code is received, Alacritty "rings" the visual bell. Once
  621. # rung, the terminal background will be set to white and transition back to the
  622. # default background color. You can control the rate of this transition by
  623. # setting the `duration` property (represented in milliseconds). You can also
  624. # configure the transition function by setting the `animation` property.
  625. #
  626. # Values for `animation`:
  627. # - Ease
  628. # - EaseOut
  629. # - EaseOutSine
  630. # - EaseOutQuad
  631. # - EaseOutCubic
  632. # - EaseOutQuart
  633. # - EaseOutQuint
  634. # - EaseOutExpo
  635. # - EaseOutCirc
  636. # - Linear
  637. #
  638. # Specifying a `duration` of `0` will disable the visual bell.
  639. #visual_bell:
  640. # animation: EaseOutExpo
  641. # duration: 0
  642. # color: '#ffffff'
  643. #selection:
  644. #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
  645. # When set to `true`, selected text will be copied to the primary clipboard.
  646. #save_to_clipboard: false
  647. # Allow terminal applications to change Alacritty's window title.
  648. #dynamic_title: true
  649. cursor:
  650. # Cursor style
  651. #
  652. # Values for `style`:
  653. # - ▇ Block
  654. # - _ Underline
  655. # - | Beam
  656. style: Beam
  657. # If this is `true`, the cursor will be rendered as a hollow box when the
  658. # window is not focused.
  659. #unfocused_hollow: true
  660. # Live config reload (changes require restart)
  661. #live_config_reload: true
  662. # Shell
  663. #
  664. # You can set `shell.program` to the path of your favorite shell, e.g. `/bin/fish`.
  665. # Entries in `shell.args` are passed unmodified as arguments to the shell.
  666. #
  667. # Default:
  668. # - (macOS) /bin/bash --login
  669. # - (Linux/BSD) user login shell
  670. # - (Windows) powershell
  671. # args:
  672. # - --login
  673. # Startup directory
  674. #
  675. # Directory the shell is started in. If this is unset, or `None`, the working
  676. # directory of the parent process will be used.
  677. #working_directory: None
  678. # WinPTY backend (Windows only)
  679. #
  680. # Alacritty defaults to using the newer ConPTY backend if it is available,
  681. # since it resolves a lot of bugs and is quite a bit faster. If it is not
  682. # available, the the WinPTY backend will be used instead.
  683. #
  684. # Setting this option to `true` makes Alacritty use the legacy WinPTY backend,
  685. # even if the ConPTY backend is available.
  686. #winpty_backend: false
  687. # Send ESC (\x1b) before characters when alt is pressed.
  688. #alt_send_esc: true
  689. #debug:
  690. # Display the time it takes to redraw each frame.
  691. #render_timer: false
  692. # Keep the log file after quitting Alacritty.
  693. #persistent_logging: false
  694. # Log level
  695. #
  696. # Values for `log_level`:
  697. # - None
  698. # - Error
  699. # - Warn
  700. # - Info
  701. # - Debug
  702. # - Trace
  703. #log_level: Warn
  704. # Print all received window events.
  705. #print_events: false
  706. # Record all characters and escape sequences as test data.
  707. #ref_test: false
  708. #mouse:
  709. # Click settings
  710. #
  711. # The `double_click` and `triple_click` settings control the time
  712. # alacritty should wait for accepting multiple clicks as one double
  713. # or triple click.
  714. #double_click: { threshold: 300 }
  715. #triple_click: { threshold: 300 }
  716. # If this is `true`, the cursor is temporarily hidden when typing.
  717. #hide_when_typing: false
  718. #url:
  719. # URL launcher
  720. #
  721. # This program is executed when clicking on a text which is recognized as a URL.
  722. # The URL is always added to the command as the last parameter.
  723. #
  724. # When set to `None`, URL launching will be disabled completely.
  725. #
  726. # Default:
  727. # - (macOS) open
  728. # - (Linux/BSD) xdg-open
  729. # - (Windows) explorer
  730. #launcher:
  731. # program: xdg-open
  732. # args: []
  733. # URL modifiers
  734. #
  735. # These are the modifiers that need to be held down for opening URLs when clicking
  736. # on them. The available modifiers are documented in the key binding section.
  737. #modifiers: None
  738. # Mouse bindings
  739. #
  740. # Mouse bindings are specified as a list of objects, much like the key
  741. # bindings further below.
  742. #
  743. # Each mouse binding will specify a:
  744. #
  745. # - `mouse`:
  746. #
  747. # - Middle
  748. # - Left
  749. # - Right
  750. # - Numeric identifier such as `5`
  751. #
  752. # - `action` (see key bindings)
  753. #
  754. # And optionally:
  755. #
  756. # - `mods` (see key bindings)
  757. #mouse_bindings:
  758. # - { mouse: Middle, action: PasteSelection }
  759. # Key bindings
  760. #
  761. # Key bindings are specified as a list of objects. For example, this is the
  762. # default paste binding:
  763. #
  764. # `- { key: V, mods: Control|Shift, action: Paste }`
  765. #
  766. # Each key binding will specify a:
  767. #
  768. # - `key`: Identifier of the key pressed
  769. #
  770. # - A-Z
  771. # - F1-F24
  772. # - Key0-Key9
  773. #
  774. # A full list with available key codes can be found here:
  775. # https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants
  776. #
  777. # Instead of using the name of the keys, the `key` field also supports using
  778. # the scancode of the desired key. Scancodes have to be specified as a
  779. # decimal number. This command will allow you to display the hex scancodes
  780. # for certain keys:
  781. #
  782. # `showkey --scancodes`.
  783. #
  784. # Then exactly one of:
  785. #
  786. # - `chars`: Send a byte sequence to the running application
  787. #
  788. # The `chars` field writes the specified string to the terminal. This makes
  789. # it possible to pass escape sequences. To find escape codes for bindings
  790. # like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside
  791. # of tmux. Note that applications use terminfo to map escape sequences back
  792. # to keys. It is therefore required to update the terminfo when changing an
  793. # escape sequence.
  794. #
  795. # - `action`: Execute a predefined action
  796. #
  797. # - Copy
  798. # - Paste
  799. # - PasteSelection
  800. # - IncreaseFontSize
  801. # - DecreaseFontSize
  802. # - ResetFontSize
  803. # - ScrollPageUp
  804. # - ScrollPageDown
  805. # - ScrollLineUp
  806. # - ScrollLineDown
  807. # - ScrollToTop
  808. # - ScrollToBottom
  809. # - ClearHistory
  810. # - Hide
  811. # - Minimize
  812. # - Quit
  813. # - ToggleFullscreen
  814. # - SpawnNewInstance
  815. # - ClearLogNotice
  816. # - ReceiveChar
  817. # - None
  818. #
  819. # (macOS only):
  820. # - ToggleSimpleFullscreen: Enters fullscreen without occupying another space
  821. #
  822. # - `command`: Fork and execute a specified command plus arguments
  823. #
  824. # The `command` field must be a map containing a `program` string and an
  825. # `args` array of command line parameter strings. For example:
  826. # `{ program: "alacritty", args: ["-e", "vttest"] }`
  827. #
  828. # And optionally:
  829. #
  830. # - `mods`: Key modifiers to filter binding actions
  831. #
  832. # - Command
  833. # - Control
  834. # - Option
  835. # - Super
  836. # - Shift
  837. # - Alt
  838. #
  839. # Multiple `mods` can be combined using `|` like this:
  840. # `mods: Control|Shift`.
  841. # Whitespace and capitalization are relevant and must match the example.
  842. #
  843. # - `mode`: Indicate a binding for only specific terminal reported modes
  844. #
  845. # This is mainly used to send applications the correct escape sequences
  846. # when in different modes.
  847. #
  848. # - AppCursor
  849. # - AppKeypad
  850. # - Alt
  851. #
  852. # A `~` operator can be used before a mode to apply the binding whenever
  853. # the mode is *not* active, e.g. `~Alt`.
  854. #
  855. # Bindings are always filled by default, but will be replaced when a new
  856. # binding with the same triggers is defined. To unset a default binding, it can
  857. # be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for
  858. # a no-op if you do not wish to receive input characters for that binding.
  859. key_bindings:
  860. # (Windows, Linux, and BSD only)
  861. - { key: V, mods: Control|Shift, action: Paste }
  862. - { key: C, mods: Control|Shift, action: Copy }
  863. - { key: Insert, mods: Shift, action: PasteSelection }
  864. - { key: Key0, mods: Control, action: ResetFontSize }
  865. - { key: Equals, mods: Control, action: IncreaseFontSize }
  866. - { key: Plus, mods: Control, action: IncreaseFontSize }
  867. - { key: Minus, mods: Control, action: DecreaseFontSize }
  868. - { key: F11, mods: None, action: ToggleFullscreen }
  869. - { key: Paste, mods: None, action: Paste }
  870. - { key: Copy, mods: None, action: Copy }
  871. - { key: L, mods: Control, action: ClearLogNotice }
  872. - { key: L, mods: Control, chars: "\x0c" }
  873. - { key: PageUp, mods: None, action: ScrollPageUp, mode: ~Alt }
  874. - { key: PageDown, mods: None, action: ScrollPageDown, mode: ~Alt }
  875. - { key: Home, mods: Shift, action: ScrollToTop, mode: ~Alt }
  876. - { key: End, mods: Shift, action: ScrollToBottom, mode: ~Alt }