2018-09-21 22:46:41 -04:00
|
|
|
# Configuration for Alacritty, the GPU enhanced terminal emulator.
|
2017-02-13 21:22:59 -05:00
|
|
|
|
|
|
|
# Any items in the `env` entry below will be added as
|
|
|
|
# environment variables. Some entries may override variables
|
2018-09-21 22:46:41 -04:00
|
|
|
# set by alacritty itself.
|
2018-10-07 14:40:58 -04:00
|
|
|
#env:
|
2018-09-24 15:06:12 -04:00
|
|
|
# TERM variable
|
2017-04-21 19:24:54 -04:00
|
|
|
#
|
2018-09-24 15:06:12 -04:00
|
|
|
# This value is used to set the `$TERM` environment variable for
|
|
|
|
# each instance of Alacritty. If it is not present, alacritty will
|
|
|
|
# check the local terminfo database and use 'alacritty' if it is
|
|
|
|
# available, otherwise 'xterm-256color' is used.
|
2017-04-21 19:24:54 -04:00
|
|
|
#
|
2018-10-07 14:40:58 -04:00
|
|
|
#TERM: xterm-256color
|
2017-02-13 21:22:59 -05:00
|
|
|
|
2017-12-20 14:30:22 -05:00
|
|
|
window:
|
2018-09-21 22:46:41 -04:00
|
|
|
# Window dimensions (changes require restart)
|
|
|
|
#
|
|
|
|
# Specified in number of columns/lines, not pixels.
|
|
|
|
# If both are `0`, this setting is ignored.
|
2017-12-20 14:30:22 -05:00
|
|
|
dimensions:
|
|
|
|
columns: 80
|
|
|
|
lines: 24
|
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Window padding (changes require restart)
|
|
|
|
#
|
|
|
|
# Blank space added around the window in pixels. This padding is not scaled
|
|
|
|
# by DPI and the specified value is always added at both opposing sides.
|
2017-12-20 14:30:22 -05:00
|
|
|
padding:
|
|
|
|
x: 2
|
|
|
|
y: 2
|
|
|
|
|
|
|
|
# Window decorations
|
2018-09-21 22:46:41 -04:00
|
|
|
#
|
|
|
|
# Values for `decorations`:
|
|
|
|
# - full: Borders and title bar
|
|
|
|
# - none: Neither borders nor title bar
|
2018-09-20 11:24:26 -04:00
|
|
|
decorations: full
|
2017-05-06 11:45:23 -04:00
|
|
|
|
2018-03-09 13:45:40 -05:00
|
|
|
scrolling:
|
2018-09-21 22:46:41 -04:00
|
|
|
# Maximum number of lines in the scrollback buffer.
|
|
|
|
# Specifying '0' will disable scrolling.
|
2018-03-09 13:45:40 -05:00
|
|
|
history: 10000
|
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Number of lines the viewport will move for every line scrolled when
|
|
|
|
# scrollback is enabled (history > 0).
|
2018-03-09 17:02:45 -05:00
|
|
|
multiplier: 3
|
2018-03-09 13:45:40 -05:00
|
|
|
|
|
|
|
# Faux Scrolling
|
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
# The `faux_multiplier` setting controls the number of lines the terminal
|
|
|
|
# should scroll when the alternate screen buffer is active. This is used
|
|
|
|
# to allow mouse scrolling for applications like `man`.
|
2018-03-09 13:45:40 -05:00
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
# Specifying `0` will disable faux scrolling.
|
2018-03-09 13:45:40 -05:00
|
|
|
faux_multiplier: 3
|
2018-02-16 20:54:32 -05:00
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Scroll to the bottom when new text is written to the terminal.
|
2018-03-22 20:01:55 -04:00
|
|
|
auto_scroll: false
|
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Spaces per Tab (changes require restart)
|
2018-09-18 16:20:59 -04:00
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
# This setting defines the width of a tab in cells.
|
2018-09-18 16:20:59 -04:00
|
|
|
#
|
|
|
|
# Some applications, like Emacs, rely on knowing about the width of a tab.
|
|
|
|
# To prevent unexpected behavior in these applications, it's also required to
|
|
|
|
# change the `it` value in terminfo when altering this setting.
|
2016-10-28 12:26:16 -04:00
|
|
|
tabspaces: 8
|
|
|
|
|
|
|
|
# Font configuration (changes require restart)
|
2017-10-09 11:51:25 -04:00
|
|
|
#
|
|
|
|
# Important font attributes like antialiasing, subpixel aa, and hinting can be
|
|
|
|
# controlled through fontconfig. Specifically, the following attributes should
|
|
|
|
# have an effect:
|
2018-09-21 22:46:41 -04:00
|
|
|
# - hintstyle
|
|
|
|
# - antialias
|
|
|
|
# - lcdfilter
|
|
|
|
# - rgba
|
2017-10-09 11:51:25 -04:00
|
|
|
#
|
|
|
|
# For instance, if you wish to disable subpixel antialiasing, you might set the
|
2018-09-21 22:46:41 -04:00
|
|
|
# rgba property to `none`. If you wish to completely disable antialiasing, you
|
|
|
|
# can set antialias to `false`.
|
2017-10-09 11:51:25 -04:00
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
# Please see these resources for more information on how to use fontconfig:
|
|
|
|
# - https://wiki.archlinux.org/index.php/font_configuration#Fontconfig_configuration
|
|
|
|
# - file:///usr/share/doc/fontconfig/fontconfig-user.html
|
2016-06-30 12:04:06 -04:00
|
|
|
font:
|
2018-09-21 22:46:41 -04:00
|
|
|
# Normal (roman) font face
|
2017-01-02 21:52:41 -05:00
|
|
|
normal:
|
2018-09-21 22:46:41 -04:00
|
|
|
family: monospace
|
|
|
|
# The `style` can be specified to pick a specific face.
|
2017-01-02 21:52:41 -05:00
|
|
|
# style: Regular
|
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Bold font face
|
2017-01-02 21:52:41 -05:00
|
|
|
bold:
|
2018-09-21 22:46:41 -04:00
|
|
|
family: monospace
|
|
|
|
# The `style` can be specified to pick a specific face.
|
2017-01-02 21:52:41 -05:00
|
|
|
# style: Bold
|
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Italic font face
|
2017-01-02 21:52:41 -05:00
|
|
|
italic:
|
2018-09-21 22:46:41 -04:00
|
|
|
family: monospace
|
|
|
|
# The `style` can be specified to pick a specific face.
|
2017-01-02 21:52:41 -05:00
|
|
|
# style: Italic
|
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Point size
|
2016-06-30 12:04:06 -04:00
|
|
|
size: 11.0
|
2017-01-15 12:38:04 -05:00
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Offset is the extra space around each character. `offset.y` can be thought of
|
|
|
|
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
|
2016-06-30 12:04:06 -04:00
|
|
|
offset:
|
2018-03-13 02:07:40 -04:00
|
|
|
x: 0
|
|
|
|
y: 0
|
2016-06-30 12:04:06 -04:00
|
|
|
|
2017-01-15 12:38:04 -05:00
|
|
|
# Glyph offset determines the locations of the glyphs within their cells with
|
2018-09-21 22:46:41 -04:00
|
|
|
# the default being at the bottom. Increasing `x` moves the glyph to the right,
|
|
|
|
# increasing `y` moves the glyph upwards.
|
2017-01-15 12:38:04 -05:00
|
|
|
glyph_offset:
|
2018-03-13 02:07:40 -04:00
|
|
|
x: 0
|
|
|
|
y: 0
|
2017-01-15 12:38:04 -05:00
|
|
|
|
2018-07-21 13:17:41 -04:00
|
|
|
# Scale the font size based on the monitor's DPI. This will lead to bigger text on HiDPI
|
|
|
|
# screens and make reading text a little easier.
|
|
|
|
# On X11 it is possible to change the DPI for each instance of alacritty by using
|
|
|
|
# `WINIT_HIDPI_FACTOR=1.0 alacritty` to scale the font.
|
|
|
|
scale_with_dpi: true
|
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Display the time it takes to redraw each frame.
|
2016-06-30 12:04:06 -04:00
|
|
|
render_timer: false
|
2016-07-01 00:26:26 -04:00
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Use custom cursor colors. If `true`, the `colors.cursor.foreground` and
|
|
|
|
# `colors.cursor.background` colors will be used to display the cursor.
|
|
|
|
# Otherwise the cell colors are inverted for the cursor.
|
2017-01-08 22:18:39 -05:00
|
|
|
custom_cursor_colors: false
|
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# If `true`, bold text is drawn using the bright color variants.
|
|
|
|
draw_bold_text_with_bright_colors: true
|
|
|
|
|
2016-10-15 18:56:27 -04:00
|
|
|
# Colors (Tomorrow Night Bright)
|
2016-07-01 00:26:26 -04:00
|
|
|
colors:
|
|
|
|
# Default colors
|
2016-10-15 18:56:27 -04:00
|
|
|
primary:
|
|
|
|
background: '0x000000'
|
|
|
|
foreground: '0xeaeaea'
|
2017-02-10 12:15:36 -05:00
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Bright and dim foreground colors
|
Merge master into scrollback
* Allow disabling DPI scaling
This makes it possible to disable DPI scaling completely, instead the
the display pixel ration will always be fixed to 1.0.
By default nothing has changed and DPI is still enabled, this just seems
like a better way than running `WINIT_HIDPI_FACTOR=1.0 alacritty` every
time the user wants to start alacritty.
It would be possible to allow specifying any DPR, however I've decided
against this since I'd assume it's a very rare usecase. It's also still
possible to make use of `WINIT_HIDPI_FACTOR` to do this on X11.
Currently this is not updated at runtime using the live config update,
there is not really much of a technical limitation why this woudn't be
possible, however a solution for that issue should be first added in
jwilm/alacritty#1346, once a system is established for changing DPI at
runtime, porting that functionality to this PR should be simple.
* Add working --class and --title CLI parameters
* Reduce Increase-/DecreaseFontSize step to 0.5
Until now the Increase-/DecreaseFontSize keybinds hand a step size of 1.0. Since the font size however is multiplied by two to allow more granular font size control, this lead to the bindings skipping one font size (incrementing/decrementing by +-2).
To fix this the step size of the Increase-/DecreaseFontSize bindings has been reduced to the minimum step size that exists with the current font configuration (0.5). This should allow users to increment and decrement the font size by a single point instead of two.
This also adds a few tests to make sure the methods for increasing/decreasing/resetting font size work properly.
* Add Copy/Cut/Paste keys
This just adds support for the Copy/Cut/Paste keys and sets up
Copy/Paste as alternative defaults for Ctrl+Shift+C/V.
* Move to cargo clippy
Using clippy as a library has been deprecated, instead the `cargo
clippy` command should be used instead. To comply with this change
clippy has been removed from the `Cargo.toml` and is now installed with
cargo when building in CI.
This has also lead to a few new clippy issues to show up, this includes
everything in the `font` subdirectory. This has been fixed and `font`
should now be covered by clippy CI too.
This also upgrades all dependencies, as a result this fixes #1341 and
this fixes #1344.
* Override dynamic_title when --title is specified
* Change green implementation to use the macro
* Ignore mouse input if window is unfocused
* Make compilation of binary a phony target
* Add opensuse zypper install method to readme
* Fix clippy issues
* Update manpage to document all CLI options
The introduction of `--class` has added a flag to the CLI without adding
it to the manpage. This has been fixed by updating the manpage.
This also adds the default values of `--class` and `--title` to the CLI
options.
* Remove unnecessary clippy lint annotations
We moved to "cargo clippy" in 5ba34d4f9766a55a06ed5e3e44cc384af1b09f65 and
removing the clippy lint annotations in `src/lib.rs` does not cause any additional warnings.
This also changes `cargo clippy` to use the flags required for checking integration tests.
* Enable clippy in font/copypasta crates
Enabled clippy in the sub-crates font and copypasta. All issues
that were discovered by this change have also been fixed.
* Remove outdated comment about NixOS
* Replace debug asserts with static_assertions
To check that transmutes will work correctly without having to rely on
error-prone runtime checking, the `static_assertions` crate has been
introduced. This allows comparing the size of types at compile time,
preventing potentially silent breakage.
This fixes #1417.
* Add `cargo deb` build instructions
Updated the `Cargo.toml` file and added a `package.metadata.deb`
subsection to define how to build a debian "deb" install file using
`cargo deb`. This will allow debian/ubuntu users to install `alacritty`
using their system's package manager. It also will make it easier to
provide pre-built binaries for those systems.
Also fixed a stray debug line in the bash autocomplete script that was
writting to a tempfile.
* Add config for unfocused window cursor change
* Add support for cursor shape escape sequence
* Add bright foreground color option
It was requested in jwilm/alacritty#825 that it should be possible to
add an optional bright foreground color.
This is now added to the primary colors structure and allows the user to
set a foreground color for bold normal text. This has no effect unless
the draw_bold_text_with_bright_colors option is also enabled.
If the color is not specified, the bright foreground color will fall
back to the normal foreground color.
This fixes #825.
* Fix clone URL in deb install instructions
* Fix 'cargo-deb' desktop file name
* Remove redundant dependency from deb build
* Switch from deprecated `std::env::home_dir` to `dirs::home_dir`
* Allow specifying modifiers for mouse bindings
* Send newline with NumpadEnter
* Add support for LCD-V pixel mode
* Add binding action for hiding the window
* Switch to rustup clippy component
* Add optional dim foreground color
Add optional color for the dim foreground (`\e[2m;`)
Defaults to 2/3 of the foreground color. (same as other colors).
If a bright color is dimmed, it's displayed as the normal color. The
exception for this is when the bright foreground is dimmed when no
bright foreground color is set. In that case it's treated as a normal
foreground color and dimmed to DimForeground.
To minimize the surprise for the user, the bright and dim colors have
been completely removed from the default configuration file.
Some documentation has also been added to make it clear to users what
these options can be used for.
This fixes #1448.
* Fix clippy lints and run font tests on travis
This fixes some existing clippy issues and runs the `font` tests through travis.
Testing of copypasta crate was omitted due to problens when running on headless travis-ci environment (x11 clipboard would fail).
* Ignore errors when logger can't write to output
The (e)print macro will panic when there is no output available to
write to, however in our scenario where we only log user errors to
stderr, the better choice would be to ignore when writing to stdout or
stderr is not possible.
This changes the (e)print macro to make use of `write` and ignore
any potential errors.
Since (e)println rely on (e)print, this also solves potential failuers
when calling (e)println.
With this change implemented, all of logging, (e)println and (e)print
should never fail even if the stdout/stderr is not available.
2018-07-28 19:10:13 -04:00
|
|
|
#
|
|
|
|
# The dimmed foreground color is calculated automatically if it is not present.
|
|
|
|
# If the bright foreground color is not set, or `draw_bold_text_with_bright_colors`
|
|
|
|
# is `false`, the normal foreground color will be used.
|
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
#dim_foreground: '0x9a9a9a'
|
|
|
|
#bright_foreground: '0xffffff'
|
Merge master into scrollback
* Allow disabling DPI scaling
This makes it possible to disable DPI scaling completely, instead the
the display pixel ration will always be fixed to 1.0.
By default nothing has changed and DPI is still enabled, this just seems
like a better way than running `WINIT_HIDPI_FACTOR=1.0 alacritty` every
time the user wants to start alacritty.
It would be possible to allow specifying any DPR, however I've decided
against this since I'd assume it's a very rare usecase. It's also still
possible to make use of `WINIT_HIDPI_FACTOR` to do this on X11.
Currently this is not updated at runtime using the live config update,
there is not really much of a technical limitation why this woudn't be
possible, however a solution for that issue should be first added in
jwilm/alacritty#1346, once a system is established for changing DPI at
runtime, porting that functionality to this PR should be simple.
* Add working --class and --title CLI parameters
* Reduce Increase-/DecreaseFontSize step to 0.5
Until now the Increase-/DecreaseFontSize keybinds hand a step size of 1.0. Since the font size however is multiplied by two to allow more granular font size control, this lead to the bindings skipping one font size (incrementing/decrementing by +-2).
To fix this the step size of the Increase-/DecreaseFontSize bindings has been reduced to the minimum step size that exists with the current font configuration (0.5). This should allow users to increment and decrement the font size by a single point instead of two.
This also adds a few tests to make sure the methods for increasing/decreasing/resetting font size work properly.
* Add Copy/Cut/Paste keys
This just adds support for the Copy/Cut/Paste keys and sets up
Copy/Paste as alternative defaults for Ctrl+Shift+C/V.
* Move to cargo clippy
Using clippy as a library has been deprecated, instead the `cargo
clippy` command should be used instead. To comply with this change
clippy has been removed from the `Cargo.toml` and is now installed with
cargo when building in CI.
This has also lead to a few new clippy issues to show up, this includes
everything in the `font` subdirectory. This has been fixed and `font`
should now be covered by clippy CI too.
This also upgrades all dependencies, as a result this fixes #1341 and
this fixes #1344.
* Override dynamic_title when --title is specified
* Change green implementation to use the macro
* Ignore mouse input if window is unfocused
* Make compilation of binary a phony target
* Add opensuse zypper install method to readme
* Fix clippy issues
* Update manpage to document all CLI options
The introduction of `--class` has added a flag to the CLI without adding
it to the manpage. This has been fixed by updating the manpage.
This also adds the default values of `--class` and `--title` to the CLI
options.
* Remove unnecessary clippy lint annotations
We moved to "cargo clippy" in 5ba34d4f9766a55a06ed5e3e44cc384af1b09f65 and
removing the clippy lint annotations in `src/lib.rs` does not cause any additional warnings.
This also changes `cargo clippy` to use the flags required for checking integration tests.
* Enable clippy in font/copypasta crates
Enabled clippy in the sub-crates font and copypasta. All issues
that were discovered by this change have also been fixed.
* Remove outdated comment about NixOS
* Replace debug asserts with static_assertions
To check that transmutes will work correctly without having to rely on
error-prone runtime checking, the `static_assertions` crate has been
introduced. This allows comparing the size of types at compile time,
preventing potentially silent breakage.
This fixes #1417.
* Add `cargo deb` build instructions
Updated the `Cargo.toml` file and added a `package.metadata.deb`
subsection to define how to build a debian "deb" install file using
`cargo deb`. This will allow debian/ubuntu users to install `alacritty`
using their system's package manager. It also will make it easier to
provide pre-built binaries for those systems.
Also fixed a stray debug line in the bash autocomplete script that was
writting to a tempfile.
* Add config for unfocused window cursor change
* Add support for cursor shape escape sequence
* Add bright foreground color option
It was requested in jwilm/alacritty#825 that it should be possible to
add an optional bright foreground color.
This is now added to the primary colors structure and allows the user to
set a foreground color for bold normal text. This has no effect unless
the draw_bold_text_with_bright_colors option is also enabled.
If the color is not specified, the bright foreground color will fall
back to the normal foreground color.
This fixes #825.
* Fix clone URL in deb install instructions
* Fix 'cargo-deb' desktop file name
* Remove redundant dependency from deb build
* Switch from deprecated `std::env::home_dir` to `dirs::home_dir`
* Allow specifying modifiers for mouse bindings
* Send newline with NumpadEnter
* Add support for LCD-V pixel mode
* Add binding action for hiding the window
* Switch to rustup clippy component
* Add optional dim foreground color
Add optional color for the dim foreground (`\e[2m;`)
Defaults to 2/3 of the foreground color. (same as other colors).
If a bright color is dimmed, it's displayed as the normal color. The
exception for this is when the bright foreground is dimmed when no
bright foreground color is set. In that case it's treated as a normal
foreground color and dimmed to DimForeground.
To minimize the surprise for the user, the bright and dim colors have
been completely removed from the default configuration file.
Some documentation has also been added to make it clear to users what
these options can be used for.
This fixes #1448.
* Fix clippy lints and run font tests on travis
This fixes some existing clippy issues and runs the `font` tests through travis.
Testing of copypasta crate was omitted due to problens when running on headless travis-ci environment (x11 clipboard would fail).
* Ignore errors when logger can't write to output
The (e)print macro will panic when there is no output available to
write to, however in our scenario where we only log user errors to
stderr, the better choice would be to ignore when writing to stdout or
stderr is not possible.
This changes the (e)print macro to make use of `write` and ignore
any potential errors.
Since (e)println rely on (e)print, this also solves potential failuers
when calling (e)println.
With this change implemented, all of logging, (e)println and (e)print
should never fail even if the stdout/stderr is not available.
2018-07-28 19:10:13 -04:00
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Cursor colors
|
|
|
|
#
|
|
|
|
# These will only be used when the `custom_cursor_colors` field is set to `true`.
|
2017-01-08 22:18:39 -05:00
|
|
|
cursor:
|
2017-02-24 11:23:07 -05:00
|
|
|
text: '0x000000'
|
|
|
|
cursor: '0xffffff'
|
2016-07-01 00:26:26 -04:00
|
|
|
|
|
|
|
# Normal colors
|
|
|
|
normal:
|
2016-10-15 18:56:27 -04:00
|
|
|
black: '0x000000'
|
|
|
|
red: '0xd54e53'
|
|
|
|
green: '0xb9ca4a'
|
|
|
|
yellow: '0xe6c547'
|
|
|
|
blue: '0x7aa6da'
|
|
|
|
magenta: '0xc397d8'
|
|
|
|
cyan: '0x70c0ba'
|
2017-05-27 23:02:01 -04:00
|
|
|
white: '0xffffff'
|
2016-07-01 00:26:26 -04:00
|
|
|
|
|
|
|
# Bright colors
|
|
|
|
bright:
|
2016-10-15 18:56:27 -04:00
|
|
|
black: '0x666666'
|
|
|
|
red: '0xff3334'
|
|
|
|
green: '0x9ec400'
|
|
|
|
yellow: '0xe7c547'
|
|
|
|
blue: '0x7aa6da'
|
|
|
|
magenta: '0xb77ee0'
|
|
|
|
cyan: '0x54ced6'
|
2017-05-27 23:02:01 -04:00
|
|
|
white: '0xffffff'
|
2016-07-01 00:26:26 -04:00
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Dim colors
|
|
|
|
#
|
|
|
|
# If the dim colors are not set, they will be calculated automatically based
|
|
|
|
# on the `normal` colors.
|
2017-06-23 13:01:53 -04:00
|
|
|
dim:
|
2017-09-02 10:14:26 -04:00
|
|
|
black: '0x333333'
|
|
|
|
red: '0xf2777a'
|
|
|
|
green: '0x99cc99'
|
|
|
|
yellow: '0xffcc66'
|
|
|
|
blue: '0x6699cc'
|
|
|
|
magenta: '0xcc99cc'
|
|
|
|
cyan: '0x66cccc'
|
|
|
|
white: '0xdddddd'
|
2017-06-23 13:01:53 -04:00
|
|
|
|
2018-09-23 19:05:15 -04:00
|
|
|
# Indexed Colors
|
|
|
|
#
|
|
|
|
# The indexed colors include all colors from 16 to 256.
|
|
|
|
# When these are not set, they're filled with sensible defaults.
|
|
|
|
#
|
|
|
|
#indexed_colors:
|
|
|
|
# - { index: 16, color: '0x000000' }
|
|
|
|
|
2017-02-03 18:34:52 -05:00
|
|
|
# Visual Bell
|
|
|
|
#
|
|
|
|
# Any time the BEL code is received, Alacritty "rings" the visual bell. Once
|
|
|
|
# rung, the terminal background will be set to white and transition back to the
|
|
|
|
# default background color. You can control the rate of this transition by
|
|
|
|
# setting the `duration` property (represented in milliseconds). You can also
|
|
|
|
# configure the transition function by setting the `animation` property.
|
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
# Values for `animation`:
|
|
|
|
# - Ease
|
|
|
|
# - EaseOut
|
|
|
|
# - EaseOutSine
|
|
|
|
# - EaseOutQuad
|
|
|
|
# - EaseOutCubic
|
|
|
|
# - EaseOutQuart
|
|
|
|
# - EaseOutQuint
|
|
|
|
# - EaseOutExpo
|
|
|
|
# - EaseOutCirc
|
|
|
|
# - Linear
|
2017-02-03 18:34:52 -05:00
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
# Specifying a `duration` of `0` will disable the visual bell.
|
2017-02-10 12:15:36 -05:00
|
|
|
visual_bell:
|
|
|
|
animation: EaseOutExpo
|
2017-02-11 23:42:58 -05:00
|
|
|
duration: 0
|
2017-02-03 18:34:52 -05:00
|
|
|
|
2017-08-20 12:55:45 -04:00
|
|
|
# Background opacity
|
2018-10-03 07:29:37 -04:00
|
|
|
#
|
|
|
|
# Window opacity as a floating point number from `0.0` to `1.0`.
|
|
|
|
# The value `0.0` is completely transparent and `1.0` is opaque.
|
2017-08-20 12:55:45 -04:00
|
|
|
background_opacity: 1.0
|
|
|
|
|
2017-10-20 10:59:28 -04:00
|
|
|
# Mouse bindings
|
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
# Available fields:
|
|
|
|
# - mouse
|
|
|
|
# - action
|
|
|
|
# - mods (optional)
|
2017-10-20 10:59:28 -04:00
|
|
|
#
|
|
|
|
# Values for `mouse`:
|
2018-09-21 22:46:41 -04:00
|
|
|
# - Middle
|
|
|
|
# - Left
|
|
|
|
# - Right
|
|
|
|
# - Numeric identifier such as `5`
|
2017-10-20 10:59:28 -04:00
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
# All available `mods` and `action` values are documented in the key binding
|
|
|
|
# section.
|
2017-10-20 10:59:28 -04:00
|
|
|
mouse_bindings:
|
|
|
|
- { mouse: Middle, action: PasteSelection }
|
|
|
|
|
|
|
|
mouse:
|
2017-12-29 12:37:46 -05:00
|
|
|
# Click settings
|
|
|
|
#
|
|
|
|
# The `double_click` and `triple_click` settings control the time
|
|
|
|
# alacritty should wait for accepting multiple clicks as one double
|
|
|
|
# or triple click.
|
2017-10-20 10:59:28 -04:00
|
|
|
double_click: { threshold: 300 }
|
|
|
|
triple_click: { threshold: 300 }
|
2017-12-29 12:37:46 -05:00
|
|
|
|
2017-10-20 10:59:28 -04:00
|
|
|
selection:
|
|
|
|
semantic_escape_chars: ",│`|:\"' ()[]{}<>"
|
|
|
|
|
2018-09-24 08:12:45 -04:00
|
|
|
# When set to `true`, selected text will be copied to both the primary and
|
|
|
|
# the selection clipboard. Otherwise, it will only be copied to the selection
|
|
|
|
# clipboard.
|
|
|
|
save_to_clipboard: false
|
|
|
|
|
2017-12-24 13:24:28 -05:00
|
|
|
dynamic_title: true
|
|
|
|
|
2017-10-20 10:59:28 -04:00
|
|
|
hide_cursor_when_typing: false
|
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Cursor style
|
2017-12-03 16:38:42 -05:00
|
|
|
#
|
|
|
|
# Values for 'cursor_style':
|
2018-09-21 22:46:41 -04:00
|
|
|
# - Block
|
|
|
|
# - Underline
|
|
|
|
# - Beam
|
2017-12-03 16:38:42 -05:00
|
|
|
cursor_style: Block
|
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# If this is `true`, the cursor will be rendered as a hollow box when the
|
|
|
|
# window is not focused.
|
Merge master into scrollback
* Allow disabling DPI scaling
This makes it possible to disable DPI scaling completely, instead the
the display pixel ration will always be fixed to 1.0.
By default nothing has changed and DPI is still enabled, this just seems
like a better way than running `WINIT_HIDPI_FACTOR=1.0 alacritty` every
time the user wants to start alacritty.
It would be possible to allow specifying any DPR, however I've decided
against this since I'd assume it's a very rare usecase. It's also still
possible to make use of `WINIT_HIDPI_FACTOR` to do this on X11.
Currently this is not updated at runtime using the live config update,
there is not really much of a technical limitation why this woudn't be
possible, however a solution for that issue should be first added in
jwilm/alacritty#1346, once a system is established for changing DPI at
runtime, porting that functionality to this PR should be simple.
* Add working --class and --title CLI parameters
* Reduce Increase-/DecreaseFontSize step to 0.5
Until now the Increase-/DecreaseFontSize keybinds hand a step size of 1.0. Since the font size however is multiplied by two to allow more granular font size control, this lead to the bindings skipping one font size (incrementing/decrementing by +-2).
To fix this the step size of the Increase-/DecreaseFontSize bindings has been reduced to the minimum step size that exists with the current font configuration (0.5). This should allow users to increment and decrement the font size by a single point instead of two.
This also adds a few tests to make sure the methods for increasing/decreasing/resetting font size work properly.
* Add Copy/Cut/Paste keys
This just adds support for the Copy/Cut/Paste keys and sets up
Copy/Paste as alternative defaults for Ctrl+Shift+C/V.
* Move to cargo clippy
Using clippy as a library has been deprecated, instead the `cargo
clippy` command should be used instead. To comply with this change
clippy has been removed from the `Cargo.toml` and is now installed with
cargo when building in CI.
This has also lead to a few new clippy issues to show up, this includes
everything in the `font` subdirectory. This has been fixed and `font`
should now be covered by clippy CI too.
This also upgrades all dependencies, as a result this fixes #1341 and
this fixes #1344.
* Override dynamic_title when --title is specified
* Change green implementation to use the macro
* Ignore mouse input if window is unfocused
* Make compilation of binary a phony target
* Add opensuse zypper install method to readme
* Fix clippy issues
* Update manpage to document all CLI options
The introduction of `--class` has added a flag to the CLI without adding
it to the manpage. This has been fixed by updating the manpage.
This also adds the default values of `--class` and `--title` to the CLI
options.
* Remove unnecessary clippy lint annotations
We moved to "cargo clippy" in 5ba34d4f9766a55a06ed5e3e44cc384af1b09f65 and
removing the clippy lint annotations in `src/lib.rs` does not cause any additional warnings.
This also changes `cargo clippy` to use the flags required for checking integration tests.
* Enable clippy in font/copypasta crates
Enabled clippy in the sub-crates font and copypasta. All issues
that were discovered by this change have also been fixed.
* Remove outdated comment about NixOS
* Replace debug asserts with static_assertions
To check that transmutes will work correctly without having to rely on
error-prone runtime checking, the `static_assertions` crate has been
introduced. This allows comparing the size of types at compile time,
preventing potentially silent breakage.
This fixes #1417.
* Add `cargo deb` build instructions
Updated the `Cargo.toml` file and added a `package.metadata.deb`
subsection to define how to build a debian "deb" install file using
`cargo deb`. This will allow debian/ubuntu users to install `alacritty`
using their system's package manager. It also will make it easier to
provide pre-built binaries for those systems.
Also fixed a stray debug line in the bash autocomplete script that was
writting to a tempfile.
* Add config for unfocused window cursor change
* Add support for cursor shape escape sequence
* Add bright foreground color option
It was requested in jwilm/alacritty#825 that it should be possible to
add an optional bright foreground color.
This is now added to the primary colors structure and allows the user to
set a foreground color for bold normal text. This has no effect unless
the draw_bold_text_with_bright_colors option is also enabled.
If the color is not specified, the bright foreground color will fall
back to the normal foreground color.
This fixes #825.
* Fix clone URL in deb install instructions
* Fix 'cargo-deb' desktop file name
* Remove redundant dependency from deb build
* Switch from deprecated `std::env::home_dir` to `dirs::home_dir`
* Allow specifying modifiers for mouse bindings
* Send newline with NumpadEnter
* Add support for LCD-V pixel mode
* Add binding action for hiding the window
* Switch to rustup clippy component
* Add optional dim foreground color
Add optional color for the dim foreground (`\e[2m;`)
Defaults to 2/3 of the foreground color. (same as other colors).
If a bright color is dimmed, it's displayed as the normal color. The
exception for this is when the bright foreground is dimmed when no
bright foreground color is set. In that case it's treated as a normal
foreground color and dimmed to DimForeground.
To minimize the surprise for the user, the bright and dim colors have
been completely removed from the default configuration file.
Some documentation has also been added to make it clear to users what
these options can be used for.
This fixes #1448.
* Fix clippy lints and run font tests on travis
This fixes some existing clippy issues and runs the `font` tests through travis.
Testing of copypasta crate was omitted due to problens when running on headless travis-ci environment (x11 clipboard would fail).
* Ignore errors when logger can't write to output
The (e)print macro will panic when there is no output available to
write to, however in our scenario where we only log user errors to
stderr, the better choice would be to ignore when writing to stdout or
stderr is not possible.
This changes the (e)print macro to make use of `write` and ignore
any potential errors.
Since (e)println rely on (e)print, this also solves potential failuers
when calling (e)println.
With this change implemented, all of logging, (e)println and (e)print
should never fail even if the stdout/stderr is not available.
2018-07-28 19:10:13 -04:00
|
|
|
unfocused_hollow_cursor: true
|
|
|
|
|
2017-10-20 10:59:28 -04:00
|
|
|
# Live config reload (changes require restart)
|
|
|
|
live_config_reload: true
|
|
|
|
|
|
|
|
# Shell
|
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
# You can set `shell.program` to the path of your favorite shell, e.g. `/bin/fish`.
|
|
|
|
# Entries in `shell.args` are passed unmodified as arguments to the shell.
|
2018-01-10 13:36:34 -05:00
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
#shell:
|
|
|
|
# program: /bin/bash
|
|
|
|
# args:
|
|
|
|
# - --login
|
2017-10-20 10:59:28 -04:00
|
|
|
|
2016-11-15 12:38:50 -05:00
|
|
|
# Key bindings
|
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
# Key bindings are specified as a list of objects. Each binding will specify
|
|
|
|
# a key and modifiers required to trigger it, terminal modes where the binding
|
|
|
|
# is applicable, and what should be done when the key binding fires. It can
|
|
|
|
# either send a byte sequnce to the running application (`chars`), execute
|
|
|
|
# a predefined action (`action`) or fork and execute a specified command plus
|
|
|
|
# arguments (`command`).
|
|
|
|
#
|
|
|
|
# Example:
|
|
|
|
# `- { key: V, mods: Command, action: Paste }`
|
2016-11-15 12:38:50 -05:00
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
# Available fields:
|
|
|
|
# - key
|
|
|
|
# - mods (optional)
|
|
|
|
# - chars | action | command (exactly one required)
|
|
|
|
# - mode (optional)
|
2018-01-10 13:36:34 -05:00
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
# Values for `key`:
|
|
|
|
# - `A` -> `Z`
|
|
|
|
# - `F1` -> `F12`
|
|
|
|
# - `Key1` -> `Key0`
|
2016-11-15 12:38:50 -05:00
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
# A full list with available key codes can be found here:
|
|
|
|
# https://docs.rs/glutin/*/glutin/enum.VirtualKeyCode.html#variants
|
2016-11-15 12:38:50 -05:00
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
# Values for `mods`:
|
|
|
|
# - Command
|
|
|
|
# - Control
|
|
|
|
# - Shift
|
|
|
|
# - Alt
|
|
|
|
#
|
|
|
|
# Multiple `mods` can be combined using `|` like this: `mods: Control|Shift`.
|
|
|
|
# Whitespace and capitalization is relevant and must match the example.
|
|
|
|
#
|
|
|
|
# Values for `chars`:
|
|
|
|
# The `chars` field writes the specified string to the terminal. This makes
|
|
|
|
# it possible to pass escape sequences.
|
|
|
|
# To find escape codes for bindings like `PageUp` ("\x1b[5~"), you can run
|
|
|
|
# the command `showkey -a` outside of tmux.
|
2018-09-24 15:06:12 -04:00
|
|
|
# Note that applications use terminfo to map escape sequences back to
|
|
|
|
# keys. It is therefore required to update the terminfo when
|
|
|
|
# changing an escape sequence.
|
2018-09-21 22:46:41 -04:00
|
|
|
#
|
|
|
|
# Values for `action`:
|
|
|
|
# - Paste
|
|
|
|
# - PasteSelection
|
|
|
|
# - Copy
|
|
|
|
# - IncreaseFontSize
|
|
|
|
# - DecreaseFontSize
|
|
|
|
# - ResetFontSize
|
|
|
|
# - ScrollPageUp
|
|
|
|
# - ScrollPageDown
|
|
|
|
# - ScrollToTop
|
|
|
|
# - ScrollToBottom
|
|
|
|
# - ClearHistory
|
|
|
|
# - Hide
|
|
|
|
# - Quit
|
2016-11-15 12:38:50 -05:00
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
# Values for `command`:
|
|
|
|
# The `command` field must be a map containing a `program` string and
|
|
|
|
# an `args` array of command line parameter strings.
|
2016-11-15 12:38:50 -05:00
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
# Example:
|
|
|
|
# `command: { program: "alacritty", args: ["-e", "vttest"] }`
|
2017-02-28 15:27:09 -05:00
|
|
|
#
|
2018-09-21 22:46:41 -04:00
|
|
|
# Values for `mode`:
|
|
|
|
# - ~AppCursor
|
|
|
|
# - AppCursor
|
|
|
|
# - ~AppKeypad
|
|
|
|
# - AppKeypad
|
2016-11-15 12:38:50 -05:00
|
|
|
key_bindings:
|
2017-03-27 06:01:50 -04:00
|
|
|
- { key: V, mods: Control|Shift, action: Paste }
|
|
|
|
- { key: C, mods: Control|Shift, action: Copy }
|
2018-07-21 13:17:41 -04:00
|
|
|
- { key: Paste, action: Paste }
|
|
|
|
- { key: Copy, action: Copy }
|
2017-02-05 21:32:43 -05:00
|
|
|
- { key: Q, mods: Command, action: Quit }
|
|
|
|
- { key: W, mods: Command, action: Quit }
|
2017-03-02 16:13:59 -05:00
|
|
|
- { key: Insert, mods: Shift, action: PasteSelection }
|
2017-10-14 13:35:56 -04:00
|
|
|
- { key: Key0, mods: Control, action: ResetFontSize }
|
|
|
|
- { key: Equals, mods: Control, action: IncreaseFontSize }
|
|
|
|
- { key: Subtract, mods: Control, action: DecreaseFontSize }
|
2017-02-10 12:15:36 -05:00
|
|
|
- { key: Home, chars: "\x1bOH", mode: AppCursor }
|
2017-08-22 15:23:19 -04:00
|
|
|
- { key: Home, chars: "\x1b[H", mode: ~AppCursor }
|
2017-02-10 12:15:36 -05:00
|
|
|
- { key: End, chars: "\x1bOF", mode: AppCursor }
|
2017-08-22 15:23:19 -04:00
|
|
|
- { key: End, chars: "\x1b[F", mode: ~AppCursor }
|
2017-05-10 12:51:41 -04:00
|
|
|
- { key: PageUp, mods: Shift, chars: "\x1b[5;2~" }
|
2017-05-10 08:46:32 -04:00
|
|
|
- { key: PageUp, mods: Control, chars: "\x1b[5;5~" }
|
2016-11-15 12:38:50 -05:00
|
|
|
- { key: PageUp, chars: "\x1b[5~" }
|
2017-05-10 12:51:41 -04:00
|
|
|
- { key: PageDown, mods: Shift, chars: "\x1b[6;2~" }
|
2017-05-10 08:46:32 -04:00
|
|
|
- { key: PageDown, mods: Control, chars: "\x1b[6;5~" }
|
2016-11-15 12:38:50 -05:00
|
|
|
- { key: PageDown, chars: "\x1b[6~" }
|
2017-10-20 10:59:28 -04:00
|
|
|
- { key: Tab, mods: Shift, chars: "\x1b[Z" }
|
|
|
|
- { key: Back, chars: "\x7f" }
|
|
|
|
- { key: Back, mods: Alt, chars: "\x1b\x7f" }
|
|
|
|
- { key: Insert, chars: "\x1b[2~" }
|
|
|
|
- { key: Delete, chars: "\x1b[3~" }
|
2016-11-15 12:38:50 -05:00
|
|
|
- { key: Left, mods: Shift, chars: "\x1b[1;2D" }
|
|
|
|
- { key: Left, mods: Control, chars: "\x1b[1;5D" }
|
|
|
|
- { key: Left, mods: Alt, chars: "\x1b[1;3D" }
|
|
|
|
- { key: Left, chars: "\x1b[D", mode: ~AppCursor }
|
|
|
|
- { key: Left, chars: "\x1bOD", mode: AppCursor }
|
|
|
|
- { key: Right, mods: Shift, chars: "\x1b[1;2C" }
|
|
|
|
- { key: Right, mods: Control, chars: "\x1b[1;5C" }
|
|
|
|
- { key: Right, mods: Alt, chars: "\x1b[1;3C" }
|
|
|
|
- { key: Right, chars: "\x1b[C", mode: ~AppCursor }
|
|
|
|
- { key: Right, chars: "\x1bOC", mode: AppCursor }
|
|
|
|
- { key: Up, mods: Shift, chars: "\x1b[1;2A" }
|
|
|
|
- { key: Up, mods: Control, chars: "\x1b[1;5A" }
|
|
|
|
- { key: Up, mods: Alt, chars: "\x1b[1;3A" }
|
|
|
|
- { key: Up, chars: "\x1b[A", mode: ~AppCursor }
|
|
|
|
- { key: Up, chars: "\x1bOA", mode: AppCursor }
|
|
|
|
- { key: Down, mods: Shift, chars: "\x1b[1;2B" }
|
|
|
|
- { key: Down, mods: Control, chars: "\x1b[1;5B" }
|
|
|
|
- { key: Down, mods: Alt, chars: "\x1b[1;3B" }
|
|
|
|
- { key: Down, chars: "\x1b[B", mode: ~AppCursor }
|
|
|
|
- { key: Down, chars: "\x1bOB", mode: AppCursor }
|
|
|
|
- { key: F1, chars: "\x1bOP" }
|
|
|
|
- { key: F2, chars: "\x1bOQ" }
|
|
|
|
- { key: F3, chars: "\x1bOR" }
|
|
|
|
- { key: F4, chars: "\x1bOS" }
|
|
|
|
- { key: F5, chars: "\x1b[15~" }
|
|
|
|
- { key: F6, chars: "\x1b[17~" }
|
|
|
|
- { key: F7, chars: "\x1b[18~" }
|
|
|
|
- { key: F8, chars: "\x1b[19~" }
|
|
|
|
- { key: F9, chars: "\x1b[20~" }
|
|
|
|
- { key: F10, chars: "\x1b[21~" }
|
|
|
|
- { key: F11, chars: "\x1b[23~" }
|
|
|
|
- { key: F12, chars: "\x1b[24~" }
|
2017-10-20 10:59:28 -04:00
|
|
|
- { key: F1, mods: Shift, chars: "\x1b[1;2P" }
|
|
|
|
- { key: F2, mods: Shift, chars: "\x1b[1;2Q" }
|
|
|
|
- { key: F3, mods: Shift, chars: "\x1b[1;2R" }
|
|
|
|
- { key: F4, mods: Shift, chars: "\x1b[1;2S" }
|
|
|
|
- { key: F5, mods: Shift, chars: "\x1b[15;2~" }
|
|
|
|
- { key: F6, mods: Shift, chars: "\x1b[17;2~" }
|
|
|
|
- { key: F7, mods: Shift, chars: "\x1b[18;2~" }
|
|
|
|
- { key: F8, mods: Shift, chars: "\x1b[19;2~" }
|
|
|
|
- { key: F9, mods: Shift, chars: "\x1b[20;2~" }
|
|
|
|
- { key: F10, mods: Shift, chars: "\x1b[21;2~" }
|
|
|
|
- { key: F11, mods: Shift, chars: "\x1b[23;2~" }
|
|
|
|
- { key: F12, mods: Shift, chars: "\x1b[24;2~" }
|
|
|
|
- { key: F1, mods: Control, chars: "\x1b[1;5P" }
|
|
|
|
- { key: F2, mods: Control, chars: "\x1b[1;5Q" }
|
|
|
|
- { key: F3, mods: Control, chars: "\x1b[1;5R" }
|
|
|
|
- { key: F4, mods: Control, chars: "\x1b[1;5S" }
|
|
|
|
- { key: F5, mods: Control, chars: "\x1b[15;5~" }
|
|
|
|
- { key: F6, mods: Control, chars: "\x1b[17;5~" }
|
|
|
|
- { key: F7, mods: Control, chars: "\x1b[18;5~" }
|
|
|
|
- { key: F8, mods: Control, chars: "\x1b[19;5~" }
|
|
|
|
- { key: F9, mods: Control, chars: "\x1b[20;5~" }
|
|
|
|
- { key: F10, mods: Control, chars: "\x1b[21;5~" }
|
|
|
|
- { key: F11, mods: Control, chars: "\x1b[23;5~" }
|
|
|
|
- { key: F12, mods: Control, chars: "\x1b[24;5~" }
|
|
|
|
- { key: F1, mods: Alt, chars: "\x1b[1;6P" }
|
|
|
|
- { key: F2, mods: Alt, chars: "\x1b[1;6Q" }
|
|
|
|
- { key: F3, mods: Alt, chars: "\x1b[1;6R" }
|
|
|
|
- { key: F4, mods: Alt, chars: "\x1b[1;6S" }
|
|
|
|
- { key: F5, mods: Alt, chars: "\x1b[15;6~" }
|
|
|
|
- { key: F6, mods: Alt, chars: "\x1b[17;6~" }
|
|
|
|
- { key: F7, mods: Alt, chars: "\x1b[18;6~" }
|
|
|
|
- { key: F8, mods: Alt, chars: "\x1b[19;6~" }
|
|
|
|
- { key: F9, mods: Alt, chars: "\x1b[20;6~" }
|
|
|
|
- { key: F10, mods: Alt, chars: "\x1b[21;6~" }
|
|
|
|
- { key: F11, mods: Alt, chars: "\x1b[23;6~" }
|
|
|
|
- { key: F12, mods: Alt, chars: "\x1b[24;6~" }
|
|
|
|
- { key: F1, mods: Super, chars: "\x1b[1;3P" }
|
|
|
|
- { key: F2, mods: Super, chars: "\x1b[1;3Q" }
|
|
|
|
- { key: F3, mods: Super, chars: "\x1b[1;3R" }
|
|
|
|
- { key: F4, mods: Super, chars: "\x1b[1;3S" }
|
|
|
|
- { key: F5, mods: Super, chars: "\x1b[15;3~" }
|
|
|
|
- { key: F6, mods: Super, chars: "\x1b[17;3~" }
|
|
|
|
- { key: F7, mods: Super, chars: "\x1b[18;3~" }
|
|
|
|
- { key: F8, mods: Super, chars: "\x1b[19;3~" }
|
|
|
|
- { key: F9, mods: Super, chars: "\x1b[20;3~" }
|
|
|
|
- { key: F10, mods: Super, chars: "\x1b[21;3~" }
|
|
|
|
- { key: F11, mods: Super, chars: "\x1b[23;3~" }
|
|
|
|
- { key: F12, mods: Super, chars: "\x1b[24;3~" }
|