2018-09-21 22:46:41 -04:00
|
|
|
# Configuration for Alacritty, the GPU enhanced terminal emulator.
|
2017-02-13 21:22:59 -05:00
|
|
|
|
2020-08-21 11:48:48 -04:00
|
|
|
# Import additional configuration files
|
|
|
|
#
|
2020-11-23 16:37:34 -05:00
|
|
|
# Imports are loaded in order, skipping all missing files, with the importing
|
|
|
|
# file being loaded last. If a field is already present in a previous import, it
|
|
|
|
# will be replaced.
|
|
|
|
#
|
|
|
|
# All imports must either be absolute paths starting with `/`, or paths relative
|
|
|
|
# to the user's home directory starting with `~/`.
|
2020-08-21 11:48:48 -04:00
|
|
|
#import:
|
|
|
|
# - /path/to/alacritty.yml
|
|
|
|
|
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
|
2019-01-17 04:17:26 -05:00
|
|
|
# check the local terminfo database and use `alacritty` if it is
|
|
|
|
# available, otherwise `xterm-256color` is used.
|
2020-02-23 15:54:44 -05:00
|
|
|
#TERM: alacritty
|
2017-02-13 21:22:59 -05:00
|
|
|
|
2019-10-06 06:47:20 -04:00
|
|
|
#window:
|
2018-09-21 22:46:41 -04:00
|
|
|
# Window dimensions (changes require restart)
|
|
|
|
#
|
2020-09-27 18:36:08 -04:00
|
|
|
# Number of lines/columns (not pixels) in the terminal. The number of columns
|
|
|
|
# must be at least `2`, while using a value of `0` for columns and lines will
|
|
|
|
# fall back to the window manager's recommended size.
|
2019-10-06 06:47:20 -04:00
|
|
|
#dimensions:
|
|
|
|
# columns: 0
|
|
|
|
# lines: 0
|
2017-12-20 14:30:22 -05:00
|
|
|
|
2019-03-11 08:35:49 -04:00
|
|
|
# Window position (changes require restart)
|
|
|
|
#
|
|
|
|
# Specified in number of pixels.
|
|
|
|
# If the position is not set, the window manager will handle the placement.
|
|
|
|
#position:
|
|
|
|
# x: 0
|
|
|
|
# y: 0
|
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Window padding (changes require restart)
|
|
|
|
#
|
2018-11-12 13:23:23 -05:00
|
|
|
# Blank space added around the window in pixels. This padding is scaled
|
2018-09-21 22:46:41 -04:00
|
|
|
# by DPI and the specified value is always added at both opposing sides.
|
2019-10-06 06:47:20 -04:00
|
|
|
#padding:
|
|
|
|
# x: 0
|
|
|
|
# y: 0
|
2017-12-20 14:30:22 -05:00
|
|
|
|
2018-11-15 14:57:15 -05:00
|
|
|
# Spread additional padding evenly around the terminal content.
|
2019-10-06 06:47:20 -04:00
|
|
|
#dynamic_padding: false
|
2018-11-15 14:57:15 -05:00
|
|
|
|
2017-12-20 14:30:22 -05:00
|
|
|
# Window decorations
|
2018-09-21 22:46:41 -04:00
|
|
|
#
|
|
|
|
# Values for `decorations`:
|
|
|
|
# - full: Borders and title bar
|
|
|
|
# - none: Neither borders nor title bar
|
2019-01-17 04:17:26 -05:00
|
|
|
#
|
|
|
|
# Values for `decorations` (macOS only):
|
2019-02-03 19:17:57 -05:00
|
|
|
# - transparent: Title bar, transparent background and title bar buttons
|
2020-11-07 00:17:32 -05:00
|
|
|
# - buttonless: Title bar, transparent background and no title bar buttons
|
2019-10-06 06:47:20 -04:00
|
|
|
#decorations: full
|
2017-05-06 11:45:23 -04:00
|
|
|
|
2021-08-16 07:49:14 -04:00
|
|
|
# Background opacity
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#opacity: 1.0
|
|
|
|
|
2019-04-23 15:05:47 -04:00
|
|
|
# Startup Mode (changes require restart)
|
|
|
|
#
|
|
|
|
# Values for `startup_mode`:
|
|
|
|
# - Windowed
|
|
|
|
# - Maximized
|
|
|
|
# - Fullscreen
|
|
|
|
#
|
|
|
|
# Values for `startup_mode` (macOS only):
|
|
|
|
# - SimpleFullscreen
|
2019-10-06 06:47:20 -04:00
|
|
|
#startup_mode: Windowed
|
2018-11-19 16:23:47 -05:00
|
|
|
|
2019-05-10 07:36:16 -04:00
|
|
|
# Window title
|
|
|
|
#title: Alacritty
|
|
|
|
|
2020-08-01 07:16:12 -04:00
|
|
|
# Allow terminal applications to change Alacritty's window title.
|
|
|
|
#dynamic_title: true
|
|
|
|
|
2020-01-04 20:54:14 -05:00
|
|
|
# Window class (Linux/BSD only):
|
2019-10-06 06:47:20 -04:00
|
|
|
#class:
|
2019-07-06 15:34:56 -04:00
|
|
|
# Application instance name
|
2019-10-06 06:47:20 -04:00
|
|
|
#instance: Alacritty
|
2019-07-06 15:34:56 -04:00
|
|
|
# General application class
|
2019-10-06 06:47:20 -04:00
|
|
|
#general: Alacritty
|
2019-07-06 15:34:56 -04:00
|
|
|
|
2020-01-04 20:54:14 -05:00
|
|
|
# GTK theme variant (Linux/BSD only)
|
2019-07-06 15:34:56 -04:00
|
|
|
#
|
2020-11-07 00:17:32 -05:00
|
|
|
# Override the variant of the GTK theme. Commonly supported values are `dark`
|
|
|
|
# and `light`. Set this to `None` to use the default theme variant.
|
2019-10-06 06:47:20 -04:00
|
|
|
#gtk_theme_variant: None
|
2019-05-10 07:36:16 -04:00
|
|
|
|
2019-10-06 06:47:20 -04:00
|
|
|
#scrolling:
|
2018-09-21 22:46:41 -04:00
|
|
|
# Maximum number of lines in the scrollback buffer.
|
|
|
|
# Specifying '0' will disable scrolling.
|
2019-10-06 06:47:20 -04:00
|
|
|
#history: 10000
|
2018-03-09 13:45:40 -05:00
|
|
|
|
2020-05-01 21:01:22 -04:00
|
|
|
# Scrolling distance multiplier.
|
2019-10-06 06:47:20 -04:00
|
|
|
#multiplier: 3
|
2018-03-09 13:45:40 -05:00
|
|
|
|
2019-11-03 14:02:26 -05:00
|
|
|
# Font configuration
|
2019-10-06 06:47:20 -04:00
|
|
|
#font:
|
2018-09-21 22:46:41 -04:00
|
|
|
# Normal (roman) font face
|
2019-01-20 12:39:15 -05:00
|
|
|
#normal:
|
2019-01-17 04:17:26 -05:00
|
|
|
# Font family
|
|
|
|
#
|
|
|
|
# Default:
|
|
|
|
# - (macOS) Menlo
|
2020-01-04 20:54:14 -05:00
|
|
|
# - (Linux/BSD) monospace
|
2019-01-17 04:17:26 -05:00
|
|
|
# - (Windows) Consolas
|
|
|
|
#family: monospace
|
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# The `style` can be specified to pick a specific face.
|
2019-01-20 12:39:15 -05:00
|
|
|
#style: Regular
|
2017-01-02 21:52:41 -05:00
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Bold font face
|
2019-01-20 12:39:15 -05:00
|
|
|
#bold:
|
2019-01-17 04:17:26 -05:00
|
|
|
# Font family
|
|
|
|
#
|
|
|
|
# If the bold family is not specified, it will fall back to the
|
|
|
|
# value specified for the normal font.
|
|
|
|
#family: monospace
|
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# The `style` can be specified to pick a specific face.
|
2019-01-20 12:39:15 -05:00
|
|
|
#style: Bold
|
2017-01-02 21:52:41 -05:00
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Italic font face
|
2019-01-20 12:39:15 -05:00
|
|
|
#italic:
|
2019-01-17 04:17:26 -05:00
|
|
|
# Font family
|
|
|
|
#
|
|
|
|
# If the italic family is not specified, it will fall back to the
|
|
|
|
# value specified for the normal font.
|
|
|
|
#family: monospace
|
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# The `style` can be specified to pick a specific face.
|
2019-01-20 12:39:15 -05:00
|
|
|
#style: Italic
|
2017-01-02 21:52:41 -05:00
|
|
|
|
2019-08-25 06:46:52 -04:00
|
|
|
# Bold italic font face
|
|
|
|
#bold_italic:
|
|
|
|
# Font family
|
|
|
|
#
|
|
|
|
# If the bold italic family is not specified, it will fall back to the
|
|
|
|
# value specified for the normal font.
|
|
|
|
#family: monospace
|
|
|
|
|
|
|
|
# The `style` can be specified to pick a specific face.
|
|
|
|
#style: Bold Italic
|
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Point size
|
2019-10-06 06:47:20 -04:00
|
|
|
#size: 11.0
|
2017-01-15 12:38:04 -05:00
|
|
|
|
2020-11-07 00:17:32 -05: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.
|
2019-10-06 06:47:20 -04:00
|
|
|
#offset:
|
|
|
|
# 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
|
2020-11-07 00:17:32 -05:00
|
|
|
# the default being at the bottom. Increasing `x` moves the glyph to the
|
|
|
|
# right, increasing `y` moves the glyph upward.
|
2019-10-06 06:47:20 -04:00
|
|
|
#glyph_offset:
|
|
|
|
# x: 0
|
|
|
|
# y: 0
|
2017-01-15 12:38:04 -05:00
|
|
|
|
2019-01-17 04:17:26 -05:00
|
|
|
# Thin stroke font rendering (macOS only)
|
|
|
|
#
|
|
|
|
# Thin strokes are suitable for retina displays, but for non-retina screens
|
2020-05-17 17:14:13 -04:00
|
|
|
# it is recommended to set `use_thin_strokes` to `false`.
|
2019-10-06 06:47:20 -04:00
|
|
|
#use_thin_strokes: true
|
2019-01-17 04:17:26 -05:00
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# If `true`, bold text is drawn using the bright color variants.
|
2020-01-20 16:13:39 -05:00
|
|
|
#draw_bold_text_with_bright_colors: false
|
2018-09-21 22:46:41 -04:00
|
|
|
|
2020-05-16 18:27:31 -04:00
|
|
|
# Colors (Tomorrow Night)
|
2019-10-06 06:47:20 -04:00
|
|
|
#colors:
|
2016-07-01 00:26:26 -04:00
|
|
|
# Default colors
|
2019-10-06 06:47:20 -04:00
|
|
|
#primary:
|
2020-05-16 18:27:31 -04:00
|
|
|
# background: '#1d1f21'
|
|
|
|
# foreground: '#c5c8c6'
|
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
|
|
|
#
|
2020-11-07 00:17:32 -05: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.
|
2020-05-16 18:27:31 -04:00
|
|
|
#dim_foreground: '#828482'
|
|
|
|
#bright_foreground: '#eaeaea'
|
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
|
|
|
|
#
|
2020-07-09 17:45:22 -04:00
|
|
|
# Colors which should be used to draw the terminal cursor.
|
|
|
|
#
|
2021-03-01 14:50:39 -05:00
|
|
|
# Allowed values are CellForeground/CellBackground, which reference the
|
2020-07-09 17:45:22 -04:00
|
|
|
# affected cell, or hexadecimal colors like #ff00ff.
|
2018-11-01 13:23:49 -04:00
|
|
|
#cursor:
|
2020-07-09 17:45:22 -04:00
|
|
|
# text: CellBackground
|
|
|
|
# cursor: CellForeground
|
2019-04-23 15:05:47 -04:00
|
|
|
|
2020-03-17 22:35:08 -04:00
|
|
|
# Vi mode cursor colors
|
|
|
|
#
|
2020-07-09 17:45:22 -04:00
|
|
|
# Colors for the cursor when the vi mode is active.
|
|
|
|
#
|
2021-03-01 14:50:39 -05:00
|
|
|
# Allowed values are CellForeground/CellBackground, which reference the
|
2020-07-09 17:45:22 -04:00
|
|
|
# affected cell, or hexadecimal colors like #ff00ff.
|
2020-03-17 22:35:08 -04:00
|
|
|
#vi_mode_cursor:
|
2020-07-09 17:45:22 -04:00
|
|
|
# text: CellBackground
|
|
|
|
# cursor: CellForeground
|
2020-03-17 22:35:08 -04:00
|
|
|
|
2020-07-09 17:45:22 -04:00
|
|
|
# Search colors
|
|
|
|
#
|
|
|
|
# Colors used for the search bar and match highlighting.
|
|
|
|
#search:
|
2021-03-01 14:50:39 -05:00
|
|
|
# Allowed values are CellForeground/CellBackground, which reference the
|
2020-08-01 07:16:12 -04:00
|
|
|
# affected cell, or hexadecimal colors like #ff00ff.
|
|
|
|
#matches:
|
|
|
|
# foreground: '#000000'
|
|
|
|
# background: '#ffffff'
|
2020-11-13 00:40:09 -05:00
|
|
|
#focused_match:
|
2021-04-30 18:16:48 -04:00
|
|
|
# foreground: '#ffffff'
|
|
|
|
# background: '#000000'
|
2020-08-01 07:16:12 -04:00
|
|
|
|
|
|
|
#bar:
|
|
|
|
# background: '#c5c8c6'
|
|
|
|
# foreground: '#1d1f21'
|
2016-07-01 00:26:26 -04:00
|
|
|
|
2021-04-26 12:08:26 -04:00
|
|
|
# Keyboard regex hints
|
2021-03-01 14:50:39 -05:00
|
|
|
#hints:
|
2021-05-20 15:29:59 -04:00
|
|
|
# First character in the hint label
|
2021-03-01 14:50:39 -05:00
|
|
|
#
|
|
|
|
# Allowed values are CellForeground/CellBackground, which reference the
|
|
|
|
# affected cell, or hexadecimal colors like #ff00ff.
|
|
|
|
#start:
|
|
|
|
# foreground: '#1d1f21'
|
|
|
|
# background: '#e9ff5e'
|
|
|
|
|
|
|
|
# All characters after the first one in the hint label
|
|
|
|
#
|
|
|
|
# Allowed values are CellForeground/CellBackground, which reference the
|
|
|
|
# affected cell, or hexadecimal colors like #ff00ff.
|
|
|
|
#end:
|
|
|
|
# foreground: '#e9ff5e'
|
|
|
|
# background: '#1d1f21'
|
|
|
|
|
2021-01-01 00:19:03 -05:00
|
|
|
# Line indicator
|
|
|
|
#
|
|
|
|
# Color used for the indicator displaying the position in history during
|
|
|
|
# search and vi mode.
|
|
|
|
#
|
|
|
|
# By default, these will use the opposing primary color.
|
|
|
|
#line_indicator:
|
|
|
|
# foreground: None
|
|
|
|
# background: None
|
|
|
|
|
|
|
|
# Selection colors
|
|
|
|
#
|
|
|
|
# Colors which should be used to draw the selection area.
|
|
|
|
#
|
2021-03-01 14:50:39 -05:00
|
|
|
# Allowed values are CellForeground/CellBackground, which reference the
|
2021-01-01 00:19:03 -05:00
|
|
|
# affected cell, or hexadecimal colors like #ff00ff.
|
|
|
|
#selection:
|
|
|
|
# text: CellBackground
|
|
|
|
# background: CellForeground
|
|
|
|
|
2016-07-01 00:26:26 -04:00
|
|
|
# Normal colors
|
2019-10-06 06:47:20 -04:00
|
|
|
#normal:
|
2020-05-16 18:27:31 -04:00
|
|
|
# black: '#1d1f21'
|
|
|
|
# red: '#cc6666'
|
|
|
|
# green: '#b5bd68'
|
|
|
|
# yellow: '#f0c674'
|
|
|
|
# blue: '#81a2be'
|
|
|
|
# magenta: '#b294bb'
|
|
|
|
# cyan: '#8abeb7'
|
|
|
|
# white: '#c5c8c6'
|
2016-07-01 00:26:26 -04:00
|
|
|
|
|
|
|
# Bright colors
|
2019-10-06 06:47:20 -04:00
|
|
|
#bright:
|
2020-02-27 18:06:04 -05:00
|
|
|
# black: '#666666'
|
2020-05-16 18:27:31 -04:00
|
|
|
# red: '#d54e53'
|
|
|
|
# green: '#b9ca4a'
|
2020-02-27 18:06:04 -05:00
|
|
|
# yellow: '#e7c547'
|
|
|
|
# blue: '#7aa6da'
|
2020-05-16 18:27:31 -04:00
|
|
|
# magenta: '#c397d8'
|
|
|
|
# cyan: '#70c0b1'
|
|
|
|
# white: '#eaeaea'
|
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.
|
2019-01-17 04:17:26 -05:00
|
|
|
#dim:
|
2020-05-16 18:27:31 -04:00
|
|
|
# black: '#131415'
|
|
|
|
# red: '#864343'
|
|
|
|
# green: '#777c44'
|
|
|
|
# yellow: '#9e824c'
|
|
|
|
# blue: '#556a7d'
|
|
|
|
# magenta: '#75617b'
|
|
|
|
# cyan: '#5b7d78'
|
|
|
|
# white: '#828482'
|
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.
|
2019-01-17 04:17:26 -05:00
|
|
|
#
|
|
|
|
# Example:
|
2020-02-27 18:06:04 -05:00
|
|
|
# `- { index: 16, color: '#ff00ff' }`
|
2019-01-17 04:17:26 -05:00
|
|
|
#
|
2019-10-06 06:47:20 -04:00
|
|
|
#indexed_colors: []
|
2018-09-23 19:05:15 -04:00
|
|
|
|
2021-08-16 07:49:14 -04:00
|
|
|
# Transparent cell backgrounds
|
|
|
|
#
|
|
|
|
# Whether or not `window.opacity` applies to all cell backgrounds or only to
|
|
|
|
# the default background. When set to `true` all cells will be transparent
|
|
|
|
# regardless of their background color.
|
|
|
|
#transparent_background_colors: false
|
|
|
|
|
2020-07-10 15:32:44 -04:00
|
|
|
# Bell
|
2017-02-03 18:34:52 -05:00
|
|
|
#
|
2020-07-10 15:32:44 -04:00
|
|
|
# The bell is rung every time the BEL control character is received.
|
|
|
|
#bell:
|
|
|
|
# Visual Bell Animation
|
|
|
|
#
|
|
|
|
# Animation effect for flashing the screen when the visual bell is rung.
|
|
|
|
#
|
|
|
|
# Values for `animation`:
|
|
|
|
# - Ease
|
|
|
|
# - EaseOut
|
|
|
|
# - EaseOutSine
|
|
|
|
# - EaseOutQuad
|
|
|
|
# - EaseOutCubic
|
|
|
|
# - EaseOutQuart
|
|
|
|
# - EaseOutQuint
|
|
|
|
# - EaseOutExpo
|
|
|
|
# - EaseOutCirc
|
|
|
|
# - Linear
|
|
|
|
#animation: EaseOutExpo
|
|
|
|
|
2020-10-30 02:22:13 -04:00
|
|
|
# Duration of the visual bell flash in milliseconds. A `duration` of `0` will
|
|
|
|
# disable the visual bell animation.
|
2020-07-10 15:32:44 -04:00
|
|
|
#duration: 0
|
|
|
|
|
|
|
|
# Visual bell animation color.
|
|
|
|
#color: '#ffffff'
|
|
|
|
|
|
|
|
# Bell Command
|
|
|
|
#
|
|
|
|
# This program is executed whenever the bell is rung.
|
|
|
|
#
|
|
|
|
# When set to `command: None`, no command will be executed.
|
|
|
|
#
|
|
|
|
# Example:
|
|
|
|
# command:
|
|
|
|
# program: notify-send
|
|
|
|
# args: ["Hello, World!"]
|
|
|
|
#
|
|
|
|
#command: None
|
2017-02-03 18:34:52 -05:00
|
|
|
|
2019-10-06 06:47:20 -04:00
|
|
|
#selection:
|
2020-11-07 00:17:32 -05:00
|
|
|
# This string contains all characters that are used as separators for
|
|
|
|
# "semantic words" in Alacritty.
|
2019-10-06 06:47:20 -04:00
|
|
|
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
|
2017-10-20 10:59:28 -04:00
|
|
|
|
2019-01-17 04:17:26 -05:00
|
|
|
# When set to `true`, selected text will be copied to the primary clipboard.
|
2019-10-06 06:47:20 -04:00
|
|
|
#save_to_clipboard: false
|
2018-09-24 08:12:45 -04:00
|
|
|
|
2019-10-06 06:47:20 -04:00
|
|
|
#cursor:
|
2018-11-01 13:23:49 -04:00
|
|
|
# Cursor style
|
2020-11-23 18:11:03 -05:00
|
|
|
#style:
|
|
|
|
# Cursor shape
|
|
|
|
#
|
|
|
|
# Values for `shape`:
|
|
|
|
# - ▇ Block
|
|
|
|
# - _ Underline
|
|
|
|
# - | Beam
|
|
|
|
#shape: Block
|
|
|
|
|
|
|
|
# Cursor blinking state
|
|
|
|
#
|
|
|
|
# Values for `blinking`:
|
|
|
|
# - Never: Prevent the cursor from ever blinking
|
|
|
|
# - Off: Disable blinking by default
|
|
|
|
# - On: Enable blinking by default
|
|
|
|
# - Always: Force the cursor to always blink
|
|
|
|
#blinking: Off
|
2018-11-01 13:23:49 -04:00
|
|
|
|
2020-03-17 22:35:08 -04:00
|
|
|
# Vi mode cursor style
|
|
|
|
#
|
|
|
|
# If the vi mode cursor style is `None` or not specified, it will fall back to
|
|
|
|
# the style of the active value of the normal cursor.
|
|
|
|
#
|
|
|
|
# See `cursor.style` for available options.
|
|
|
|
#vi_mode_style: None
|
|
|
|
|
2020-11-23 18:11:03 -05:00
|
|
|
# Cursor blinking interval in milliseconds.
|
|
|
|
#blink_interval: 750
|
|
|
|
|
2018-11-01 13:23:49 -04:00
|
|
|
# If this is `true`, the cursor will be rendered as a hollow box when the
|
|
|
|
# window is not focused.
|
2019-10-06 06:47:20 -04:00
|
|
|
#unfocused_hollow: true
|
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
|
|
|
|
2020-04-14 23:50:34 -04:00
|
|
|
# Thickness of the cursor relative to the cell width as floating point number
|
|
|
|
# from `0.0` to `1.0`.
|
|
|
|
#thickness: 0.15
|
|
|
|
|
2017-10-20 10:59:28 -04:00
|
|
|
# Live config reload (changes require restart)
|
2019-10-06 06:47:20 -04:00
|
|
|
#live_config_reload: true
|
2017-10-20 10:59:28 -04:00
|
|
|
|
|
|
|
# Shell
|
|
|
|
#
|
2020-11-07 00:17:32 -05: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.
|
2019-01-17 04:17:26 -05:00
|
|
|
#
|
|
|
|
# Default:
|
2019-06-16 07:29:18 -04:00
|
|
|
# - (macOS) /bin/bash --login
|
2020-01-04 20:54:14 -05:00
|
|
|
# - (Linux/BSD) user login shell
|
2019-01-17 04:17:26 -05:00
|
|
|
# - (Windows) powershell
|
2018-09-21 22:46:41 -04:00
|
|
|
#shell:
|
|
|
|
# program: /bin/bash
|
|
|
|
# args:
|
|
|
|
# - --login
|
2017-10-20 10:59:28 -04:00
|
|
|
|
2019-05-10 07:36:16 -04:00
|
|
|
# Startup directory
|
|
|
|
#
|
|
|
|
# Directory the shell is started in. If this is unset, or `None`, the working
|
|
|
|
# directory of the parent process will be used.
|
2019-10-06 06:47:20 -04:00
|
|
|
#working_directory: None
|
2019-05-10 07:36:16 -04:00
|
|
|
|
2019-01-17 15:42:12 -05:00
|
|
|
# Send ESC (\x1b) before characters when alt is pressed.
|
2019-10-06 06:47:20 -04:00
|
|
|
#alt_send_esc: true
|
2019-01-17 15:42:12 -05:00
|
|
|
|
2021-10-23 03:16:47 -04:00
|
|
|
# Offer IPC using `alacritty msg` (unix only)
|
|
|
|
#ipc_socket: true
|
|
|
|
|
2019-10-06 06:47:20 -04:00
|
|
|
#mouse:
|
2019-06-21 10:35:28 -04: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.
|
2019-10-06 06:47:20 -04:00
|
|
|
#double_click: { threshold: 300 }
|
|
|
|
#triple_click: { threshold: 300 }
|
2019-06-21 10:35:28 -04:00
|
|
|
|
|
|
|
# If this is `true`, the cursor is temporarily hidden when typing.
|
2019-10-06 06:47:20 -04:00
|
|
|
#hide_when_typing: false
|
2019-06-21 10:35:28 -04:00
|
|
|
|
2021-03-01 14:50:39 -05:00
|
|
|
# Regex hints
|
|
|
|
#
|
|
|
|
# Terminal hints can be used to find text in the visible part of the terminal
|
|
|
|
# and pipe it to other applications.
|
|
|
|
#hints:
|
|
|
|
# Keys used for the hint labels.
|
|
|
|
#alphabet: "jfkdls;ahgurieowpq"
|
|
|
|
|
|
|
|
# List with all available hints
|
|
|
|
#
|
2021-04-12 23:24:42 -04:00
|
|
|
# Each hint must have a `regex` and either an `action` or a `command` field.
|
|
|
|
# The fields `mouse`, `binding` and `post_processing` are optional.
|
|
|
|
#
|
2021-07-07 18:05:05 -04:00
|
|
|
# The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and
|
2021-06-19 18:58:15 -04:00
|
|
|
# `mouse.mods` accept the same values as they do in the `key_bindings` section.
|
2021-04-12 23:24:42 -04:00
|
|
|
#
|
|
|
|
# The `mouse.enabled` field controls if the hint should be underlined while
|
|
|
|
# the mouse with all `mouse.mods` keys held or the vi mode cursor is above it.
|
2021-04-03 19:52:44 -04:00
|
|
|
#
|
2021-04-12 23:24:42 -04:00
|
|
|
# If the `post_processing` field is set to `true`, heuristics will be used to
|
|
|
|
# shorten the match if there are characters likely not to be part of the hint
|
|
|
|
# (e.g. a trailing `.`). This is most useful for URIs.
|
2021-03-01 14:50:39 -05:00
|
|
|
#
|
2021-04-03 19:52:44 -04:00
|
|
|
# Values for `action`:
|
|
|
|
# - Copy
|
|
|
|
# Copy the hint's text to the clipboard.
|
|
|
|
# - Paste
|
|
|
|
# Paste the hint's text to the terminal or search.
|
|
|
|
# - Select
|
|
|
|
# Select the hint's text.
|
2021-04-15 17:25:49 -04:00
|
|
|
# - MoveViModeCursor
|
|
|
|
# Move the vi mode cursor to the beginning of the hint.
|
2021-04-12 23:24:42 -04:00
|
|
|
#enabled:
|
2021-05-21 19:09:06 -04:00
|
|
|
# - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
|
2021-05-09 18:33:51 -04:00
|
|
|
# [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
|
2021-04-12 23:24:42 -04:00
|
|
|
# command: xdg-open
|
|
|
|
# post_processing: true
|
|
|
|
# mouse:
|
|
|
|
# enabled: true
|
|
|
|
# mods: None
|
|
|
|
# binding:
|
|
|
|
# key: U
|
|
|
|
# mods: Control|Shift
|
2021-03-01 14:50:39 -05:00
|
|
|
|
2019-06-21 10:35:28 -04:00
|
|
|
# Mouse bindings
|
|
|
|
#
|
|
|
|
# Mouse bindings are specified as a list of objects, much like the key
|
|
|
|
# bindings further below.
|
|
|
|
#
|
2020-11-07 00:17:32 -05:00
|
|
|
# To trigger mouse bindings when an application running within Alacritty
|
|
|
|
# captures the mouse, the `Shift` modifier is automatically added as a
|
|
|
|
# requirement.
|
2020-01-09 19:44:41 -05:00
|
|
|
#
|
2019-06-21 10:35:28 -04:00
|
|
|
# Each mouse binding will specify a:
|
|
|
|
#
|
|
|
|
# - `mouse`:
|
|
|
|
#
|
|
|
|
# - Middle
|
|
|
|
# - Left
|
|
|
|
# - Right
|
|
|
|
# - Numeric identifier such as `5`
|
|
|
|
#
|
2021-07-29 11:40:51 -04:00
|
|
|
# - `action` (see key bindings for actions not exclusive to mouse mode)
|
|
|
|
#
|
|
|
|
# - Mouse exclusive actions:
|
|
|
|
#
|
|
|
|
# - ExpandSelection
|
|
|
|
# Expand the selection to the current mouse cursor location.
|
2019-06-21 10:35:28 -04:00
|
|
|
#
|
|
|
|
# And optionally:
|
|
|
|
#
|
|
|
|
# - `mods` (see key bindings)
|
2019-10-06 06:47:20 -04:00
|
|
|
#mouse_bindings:
|
2021-07-29 11:40:51 -04:00
|
|
|
# - { mouse: Right, action: ExpandSelection }
|
|
|
|
# - { mouse: Middle, mode: ~Vi, action: PasteSelection }
|
2019-06-21 10:35:28 -04:00
|
|
|
|
2016-11-15 12:38:50 -05:00
|
|
|
# Key bindings
|
|
|
|
#
|
2019-06-21 10:35:28 -04:00
|
|
|
# Key bindings are specified as a list of objects. For example, this is the
|
|
|
|
# default paste binding:
|
|
|
|
#
|
|
|
|
# `- { key: V, mods: Control|Shift, action: Paste }`
|
|
|
|
#
|
|
|
|
# Each key binding will specify a:
|
|
|
|
#
|
|
|
|
# - `key`: Identifier of the key pressed
|
|
|
|
#
|
|
|
|
# - A-Z
|
2019-09-18 15:21:01 -04:00
|
|
|
# - F1-F24
|
2019-06-21 10:35:28 -04:00
|
|
|
# - Key0-Key9
|
|
|
|
#
|
|
|
|
# A full list with available key codes can be found here:
|
2019-10-04 06:27:06 -04:00
|
|
|
# https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants
|
2019-06-21 10:35:28 -04:00
|
|
|
#
|
|
|
|
# Instead of using the name of the keys, the `key` field also supports using
|
|
|
|
# the scancode of the desired key. Scancodes have to be specified as a
|
|
|
|
# decimal number. This command will allow you to display the hex scancodes
|
|
|
|
# for certain keys:
|
|
|
|
#
|
|
|
|
# `showkey --scancodes`.
|
|
|
|
#
|
|
|
|
# Then exactly one of:
|
|
|
|
#
|
|
|
|
# - `chars`: Send a byte sequence to the running application
|
|
|
|
#
|
|
|
|
# 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. 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.
|
|
|
|
#
|
|
|
|
# - `action`: Execute a predefined action
|
|
|
|
#
|
2020-03-17 22:35:08 -04:00
|
|
|
# - ToggleViMode
|
2020-07-15 17:27:32 -04:00
|
|
|
# - SearchForward
|
2020-08-02 18:42:17 -04:00
|
|
|
# Start searching toward the right of the search origin.
|
2020-07-15 17:27:32 -04:00
|
|
|
# - SearchBackward
|
2020-08-02 18:42:17 -04:00
|
|
|
# Start searching toward the left of the search origin.
|
2019-06-21 10:35:28 -04:00
|
|
|
# - Copy
|
2018-09-21 22:46:41 -04:00
|
|
|
# - Paste
|
|
|
|
# - IncreaseFontSize
|
|
|
|
# - DecreaseFontSize
|
|
|
|
# - ResetFontSize
|
|
|
|
# - ScrollPageUp
|
|
|
|
# - ScrollPageDown
|
2020-06-09 17:25:34 -04:00
|
|
|
# - ScrollHalfPageUp
|
|
|
|
# - ScrollHalfPageDown
|
2019-04-08 15:50:06 -04:00
|
|
|
# - ScrollLineUp
|
|
|
|
# - ScrollLineDown
|
2018-09-21 22:46:41 -04:00
|
|
|
# - ScrollToTop
|
|
|
|
# - ScrollToBottom
|
|
|
|
# - ClearHistory
|
2020-08-02 18:42:17 -04:00
|
|
|
# Remove the terminal's scrollback history.
|
2018-09-21 22:46:41 -04:00
|
|
|
# - Hide
|
2020-08-02 18:42:17 -04:00
|
|
|
# Hide the Alacritty window.
|
2020-01-04 20:54:14 -05:00
|
|
|
# - Minimize
|
2020-08-02 18:42:17 -04:00
|
|
|
# Minimize the Alacritty window.
|
2018-09-21 22:46:41 -04:00
|
|
|
# - Quit
|
2020-08-02 18:42:17 -04:00
|
|
|
# Quit Alacritty.
|
2019-04-23 15:05:47 -04:00
|
|
|
# - ToggleFullscreen
|
2019-06-21 10:35:28 -04:00
|
|
|
# - SpawnNewInstance
|
2020-08-02 18:42:17 -04:00
|
|
|
# Spawn a new instance of Alacritty.
|
2021-10-23 03:16:47 -04:00
|
|
|
# - CreateNewWindow
|
|
|
|
# Create a new Alacritty window from the current process.
|
2019-06-21 10:35:28 -04:00
|
|
|
# - ClearLogNotice
|
2020-08-02 18:42:17 -04:00
|
|
|
# Clear Alacritty's UI warning and error notice.
|
2020-03-17 22:35:08 -04:00
|
|
|
# - ClearSelection
|
2020-08-02 18:42:17 -04:00
|
|
|
# Remove the active selection.
|
2019-09-27 20:37:22 -04:00
|
|
|
# - ReceiveChar
|
2019-01-17 04:17:26 -05:00
|
|
|
# - None
|
2016-11-15 12:38:50 -05:00
|
|
|
#
|
2020-11-07 00:17:32 -05:00
|
|
|
# - Vi mode exclusive actions:
|
|
|
|
#
|
2020-03-17 22:35:08 -04:00
|
|
|
# - Open
|
2021-04-26 12:08:26 -04:00
|
|
|
# Perform the action of the first matching hint under the vi mode cursor
|
|
|
|
# with `mouse.enabled` set to `true`.
|
2020-11-07 00:17:32 -05:00
|
|
|
# - ToggleNormalSelection
|
|
|
|
# - ToggleLineSelection
|
|
|
|
# - ToggleBlockSelection
|
|
|
|
# - ToggleSemanticSelection
|
|
|
|
# Toggle semantic selection based on `selection.semantic_escape_chars`.
|
|
|
|
#
|
|
|
|
# - Vi mode exclusive cursor motion actions:
|
|
|
|
#
|
2020-03-17 22:35:08 -04:00
|
|
|
# - Up
|
2020-11-07 00:17:32 -05:00
|
|
|
# One line up.
|
2020-03-17 22:35:08 -04:00
|
|
|
# - Down
|
2020-11-07 00:17:32 -05:00
|
|
|
# One line down.
|
2020-03-17 22:35:08 -04:00
|
|
|
# - Left
|
2020-11-07 00:17:32 -05:00
|
|
|
# One character left.
|
2020-03-17 22:35:08 -04:00
|
|
|
# - Right
|
2020-11-07 00:17:32 -05:00
|
|
|
# One character right.
|
2020-03-17 22:35:08 -04:00
|
|
|
# - First
|
2020-11-07 00:17:32 -05:00
|
|
|
# First column, or beginning of the line when already at the first column.
|
2020-03-17 22:35:08 -04:00
|
|
|
# - Last
|
2020-11-07 00:17:32 -05:00
|
|
|
# Last column, or beginning of the line when already at the last column.
|
2020-03-17 22:35:08 -04:00
|
|
|
# - FirstOccupied
|
2020-11-07 00:17:32 -05:00
|
|
|
# First non-empty cell in this terminal row, or first non-empty cell of
|
|
|
|
# the line when already at the first cell of the row.
|
2020-03-17 22:35:08 -04:00
|
|
|
# - High
|
2020-11-07 00:17:32 -05:00
|
|
|
# Top of the screen.
|
2020-03-17 22:35:08 -04:00
|
|
|
# - Middle
|
2020-11-07 00:17:32 -05:00
|
|
|
# Center of the screen.
|
2020-03-17 22:35:08 -04:00
|
|
|
# - Low
|
2020-11-07 00:17:32 -05:00
|
|
|
# Bottom of the screen.
|
2020-03-17 22:35:08 -04:00
|
|
|
# - SemanticLeft
|
2020-11-07 00:17:32 -05:00
|
|
|
# Start of the previous semantically separated word.
|
2020-03-17 22:35:08 -04:00
|
|
|
# - SemanticRight
|
2020-11-07 00:17:32 -05:00
|
|
|
# Start of the next semantically separated word.
|
2020-03-17 22:35:08 -04:00
|
|
|
# - SemanticLeftEnd
|
2020-11-07 00:17:32 -05:00
|
|
|
# End of the previous semantically separated word.
|
2020-03-17 22:35:08 -04:00
|
|
|
# - SemanticRightEnd
|
2020-11-07 00:17:32 -05:00
|
|
|
# End of the next semantically separated word.
|
2020-03-17 22:35:08 -04:00
|
|
|
# - WordLeft
|
2020-11-07 00:17:32 -05:00
|
|
|
# Start of the previous whitespace separated word.
|
2020-08-02 18:42:17 -04:00
|
|
|
# - WordRight
|
2020-11-07 00:17:32 -05:00
|
|
|
# Start of the next whitespace separated word.
|
2020-03-17 22:35:08 -04:00
|
|
|
# - WordLeftEnd
|
2020-11-07 00:17:32 -05:00
|
|
|
# End of the previous whitespace separated word.
|
2020-08-02 18:42:17 -04:00
|
|
|
# - WordRightEnd
|
2020-11-07 00:17:32 -05:00
|
|
|
# End of the next whitespace separated word.
|
2020-03-17 22:35:08 -04:00
|
|
|
# - Bracket
|
2020-11-07 00:17:32 -05:00
|
|
|
# Character matching the bracket at the cursor's location.
|
2020-07-09 17:45:22 -04:00
|
|
|
# - SearchNext
|
2020-11-07 00:17:32 -05:00
|
|
|
# Beginning of the next match.
|
2020-07-09 17:45:22 -04:00
|
|
|
# - SearchPrevious
|
2020-11-07 00:17:32 -05:00
|
|
|
# Beginning of the previous match.
|
2020-07-14 11:17:29 -04:00
|
|
|
# - SearchStart
|
2020-11-07 00:17:32 -05:00
|
|
|
# Start of the match to the left of the vi mode cursor.
|
2020-07-14 11:17:29 -04:00
|
|
|
# - SearchEnd
|
2020-11-07 00:17:32 -05:00
|
|
|
# End of the match to the right of the vi mode cursor.
|
2020-03-17 22:35:08 -04:00
|
|
|
#
|
2020-12-18 23:07:20 -05:00
|
|
|
# - Search mode exclusive actions:
|
|
|
|
# - SearchFocusNext
|
|
|
|
# Move the focus to the next search match.
|
|
|
|
# - SearchFocusPrevious
|
|
|
|
# Move the focus to the previous search match.
|
|
|
|
# - SearchConfirm
|
|
|
|
# - SearchCancel
|
|
|
|
# - SearchClear
|
|
|
|
# Reset the search regex.
|
|
|
|
# - SearchDeleteWord
|
|
|
|
# Delete the last word in the search regex.
|
2020-12-19 23:27:08 -05:00
|
|
|
# - SearchHistoryPrevious
|
|
|
|
# Go to the previous regex in the search history.
|
|
|
|
# - SearchHistoryNext
|
|
|
|
# Go to the next regex in the search history.
|
2020-12-18 23:07:20 -05:00
|
|
|
#
|
2020-11-07 00:17:32 -05:00
|
|
|
# - macOS exclusive actions:
|
2020-08-02 18:42:17 -04:00
|
|
|
# - ToggleSimpleFullscreen
|
|
|
|
# Enter fullscreen without occupying another space.
|
2019-04-23 15:05:47 -04:00
|
|
|
#
|
2020-11-07 00:17:32 -05:00
|
|
|
# - Linux/BSD exclusive actions:
|
|
|
|
#
|
2020-08-02 18:42:17 -04:00
|
|
|
# - CopySelection
|
|
|
|
# Copy from the selection buffer.
|
|
|
|
# - PasteSelection
|
|
|
|
# Paste from the selection buffer.
|
2020-03-23 19:46:33 -04:00
|
|
|
#
|
2019-06-21 10:35:28 -04:00
|
|
|
# - `command`: Fork and execute a specified command plus arguments
|
|
|
|
#
|
|
|
|
# The `command` field must be a map containing a `program` string and an
|
|
|
|
# `args` array of command line parameter strings. For example:
|
|
|
|
# `{ program: "alacritty", args: ["-e", "vttest"] }`
|
|
|
|
#
|
|
|
|
# And optionally:
|
|
|
|
#
|
|
|
|
# - `mods`: Key modifiers to filter binding actions
|
|
|
|
#
|
|
|
|
# - Command
|
|
|
|
# - Control
|
|
|
|
# - Option
|
|
|
|
# - Super
|
|
|
|
# - Shift
|
|
|
|
# - Alt
|
|
|
|
#
|
|
|
|
# Multiple `mods` can be combined using `|` like this:
|
|
|
|
# `mods: Control|Shift`.
|
|
|
|
# Whitespace and capitalization are relevant and must match the example.
|
|
|
|
#
|
|
|
|
# - `mode`: Indicate a binding for only specific terminal reported modes
|
|
|
|
#
|
|
|
|
# This is mainly used to send applications the correct escape sequences
|
|
|
|
# when in different modes.
|
|
|
|
#
|
|
|
|
# - AppCursor
|
|
|
|
# - AppKeypad
|
2020-12-18 23:07:20 -05:00
|
|
|
# - Search
|
2019-06-21 10:35:28 -04:00
|
|
|
# - Alt
|
2020-08-12 03:37:54 -04:00
|
|
|
# - Vi
|
2016-11-15 12:38:50 -05:00
|
|
|
#
|
2019-06-21 10:35:28 -04:00
|
|
|
# A `~` operator can be used before a mode to apply the binding whenever
|
|
|
|
# the mode is *not* active, e.g. `~Alt`.
|
2017-02-28 15:27:09 -05:00
|
|
|
#
|
2019-06-21 10:35:28 -04:00
|
|
|
# Bindings are always filled by default, but will be replaced when a new
|
|
|
|
# binding with the same triggers is defined. To unset a default binding, it can
|
2019-09-27 20:37:22 -04:00
|
|
|
# be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for
|
|
|
|
# a no-op if you do not wish to receive input characters for that binding.
|
2020-02-05 17:59:16 -05:00
|
|
|
#
|
|
|
|
# If the same trigger is assigned to multiple actions, all of them are executed
|
2020-07-15 17:02:31 -04:00
|
|
|
# in the order they were defined in.
|
2019-10-06 06:47:20 -04:00
|
|
|
#key_bindings:
|
2020-12-18 23:07:20 -05:00
|
|
|
#- { key: Paste, action: Paste }
|
|
|
|
#- { key: Copy, action: Copy }
|
|
|
|
#- { key: L, mods: Control, action: ClearLogNotice }
|
|
|
|
#- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" }
|
|
|
|
#- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, }
|
|
|
|
#- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown }
|
|
|
|
#- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop, }
|
|
|
|
#- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom }
|
2020-03-17 22:35:08 -04:00
|
|
|
|
|
|
|
# Vi Mode
|
2020-12-18 23:07:20 -05:00
|
|
|
#- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode }
|
2021-07-07 18:05:05 -04:00
|
|
|
#- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom }
|
2020-12-18 23:07:20 -05:00
|
|
|
#- { key: Escape, mode: Vi|~Search, action: ClearSelection }
|
|
|
|
#- { key: I, mode: Vi|~Search, action: ToggleViMode }
|
2021-07-07 18:05:05 -04:00
|
|
|
#- { key: I, mode: Vi|~Search, action: ScrollToBottom }
|
2020-12-18 23:07:20 -05:00
|
|
|
#- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode }
|
|
|
|
#- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp }
|
|
|
|
#- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown }
|
|
|
|
#- { key: G, mode: Vi|~Search, action: ScrollToTop }
|
|
|
|
#- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom }
|
|
|
|
#- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp }
|
|
|
|
#- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown }
|
|
|
|
#- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp }
|
|
|
|
#- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown }
|
|
|
|
#- { key: Y, mode: Vi|~Search, action: Copy }
|
|
|
|
#- { key: Y, mode: Vi|~Search, action: ClearSelection }
|
|
|
|
#- { key: Copy, mode: Vi|~Search, action: ClearSelection }
|
|
|
|
#- { key: V, mode: Vi|~Search, action: ToggleNormalSelection }
|
|
|
|
#- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection }
|
|
|
|
#- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection }
|
|
|
|
#- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection }
|
|
|
|
#- { key: Return, mode: Vi|~Search, action: Open }
|
|
|
|
#- { key: K, mode: Vi|~Search, action: Up }
|
|
|
|
#- { key: J, mode: Vi|~Search, action: Down }
|
|
|
|
#- { key: H, mode: Vi|~Search, action: Left }
|
|
|
|
#- { key: L, mode: Vi|~Search, action: Right }
|
|
|
|
#- { key: Up, mode: Vi|~Search, action: Up }
|
|
|
|
#- { key: Down, mode: Vi|~Search, action: Down }
|
|
|
|
#- { key: Left, mode: Vi|~Search, action: Left }
|
|
|
|
#- { key: Right, mode: Vi|~Search, action: Right }
|
|
|
|
#- { key: Key0, mode: Vi|~Search, action: First }
|
|
|
|
#- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last }
|
|
|
|
#- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied }
|
|
|
|
#- { key: H, mods: Shift, mode: Vi|~Search, action: High }
|
|
|
|
#- { key: M, mods: Shift, mode: Vi|~Search, action: Middle }
|
|
|
|
#- { key: L, mods: Shift, mode: Vi|~Search, action: Low }
|
|
|
|
#- { key: B, mode: Vi|~Search, action: SemanticLeft }
|
|
|
|
#- { key: W, mode: Vi|~Search, action: SemanticRight }
|
|
|
|
#- { key: E, mode: Vi|~Search, action: SemanticRightEnd }
|
|
|
|
#- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft }
|
|
|
|
#- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight }
|
|
|
|
#- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd }
|
|
|
|
#- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket }
|
|
|
|
#- { key: Slash, mode: Vi|~Search, action: SearchForward }
|
|
|
|
#- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward }
|
|
|
|
#- { key: N, mode: Vi|~Search, action: SearchNext }
|
|
|
|
#- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious }
|
|
|
|
|
|
|
|
# Search Mode
|
2020-12-19 23:27:08 -05:00
|
|
|
#- { key: Return, mode: Search|Vi, action: SearchConfirm }
|
|
|
|
#- { key: Escape, mode: Search, action: SearchCancel }
|
2020-12-31 00:33:58 -05:00
|
|
|
#- { key: C, mods: Control, mode: Search, action: SearchCancel }
|
2020-12-19 23:27:08 -05:00
|
|
|
#- { key: U, mods: Control, mode: Search, action: SearchClear }
|
|
|
|
#- { key: W, mods: Control, mode: Search, action: SearchDeleteWord }
|
|
|
|
#- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious }
|
|
|
|
#- { key: N, mods: Control, mode: Search, action: SearchHistoryNext }
|
|
|
|
#- { key: Up, mode: Search, action: SearchHistoryPrevious }
|
|
|
|
#- { key: Down, mode: Search, action: SearchHistoryNext }
|
|
|
|
#- { key: Return, mode: Search|~Vi, action: SearchFocusNext }
|
|
|
|
#- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious }
|
2020-03-17 22:35:08 -04:00
|
|
|
|
2020-01-04 20:54:14 -05:00
|
|
|
# (Windows, Linux, and BSD only)
|
2020-12-18 23:07:20 -05:00
|
|
|
#- { key: V, mods: Control|Shift, mode: ~Vi, action: Paste }
|
|
|
|
#- { key: C, mods: Control|Shift, action: Copy }
|
|
|
|
#- { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward }
|
|
|
|
#- { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward }
|
|
|
|
#- { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection }
|
|
|
|
#- { key: Insert, mods: Shift, action: PasteSelection }
|
|
|
|
#- { key: Key0, mods: Control, action: ResetFontSize }
|
|
|
|
#- { key: Equals, mods: Control, action: IncreaseFontSize }
|
|
|
|
#- { key: Plus, mods: Control, action: IncreaseFontSize }
|
|
|
|
#- { key: NumpadAdd, mods: Control, action: IncreaseFontSize }
|
|
|
|
#- { key: Minus, mods: Control, action: DecreaseFontSize }
|
|
|
|
#- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize }
|
2020-01-04 20:54:14 -05:00
|
|
|
|
|
|
|
# (Windows only)
|
2019-06-16 07:35:28 -04:00
|
|
|
#- { key: Return, mods: Alt, action: ToggleFullscreen }
|
2019-01-17 04:17:26 -05:00
|
|
|
|
|
|
|
# (macOS only)
|
2021-04-08 17:01:47 -04:00
|
|
|
#- { key: K, mods: Command, mode: ~Vi|~Search, chars: "\x0c" }
|
|
|
|
#- { key: K, mods: Command, mode: ~Vi|~Search, action: ClearHistory }
|
|
|
|
#- { key: Key0, mods: Command, action: ResetFontSize }
|
|
|
|
#- { key: Equals, mods: Command, action: IncreaseFontSize }
|
|
|
|
#- { key: Plus, mods: Command, action: IncreaseFontSize }
|
|
|
|
#- { key: NumpadAdd, mods: Command, action: IncreaseFontSize }
|
|
|
|
#- { key: Minus, mods: Command, action: DecreaseFontSize }
|
|
|
|
#- { key: NumpadSubtract, mods: Command, action: DecreaseFontSize }
|
|
|
|
#- { key: V, mods: Command, action: Paste }
|
|
|
|
#- { key: C, mods: Command, action: Copy }
|
|
|
|
#- { key: C, mods: Command, mode: Vi|~Search, action: ClearSelection }
|
|
|
|
#- { key: H, mods: Command, action: Hide }
|
|
|
|
#- { key: H, mods: Command|Alt, action: HideOtherApplications }
|
|
|
|
#- { key: M, mods: Command, action: Minimize }
|
|
|
|
#- { key: Q, mods: Command, action: Quit }
|
|
|
|
#- { key: W, mods: Command, action: Quit }
|
|
|
|
#- { key: N, mods: Command, action: SpawnNewInstance }
|
|
|
|
#- { key: F, mods: Command|Control, action: ToggleFullscreen }
|
|
|
|
#- { key: F, mods: Command, mode: ~Search, action: SearchForward }
|
|
|
|
#- { key: B, mods: Command, mode: ~Search, action: SearchBackward }
|
2020-03-01 16:41:05 -05:00
|
|
|
|
|
|
|
#debug:
|
|
|
|
# Display the time it takes to redraw each frame.
|
|
|
|
#render_timer: false
|
|
|
|
|
|
|
|
# Keep the log file after quitting Alacritty.
|
|
|
|
#persistent_logging: false
|
|
|
|
|
|
|
|
# Log level
|
|
|
|
#
|
|
|
|
# Values for `log_level`:
|
2020-12-20 21:44:38 -05:00
|
|
|
# - Off
|
2020-03-01 16:41:05 -05:00
|
|
|
# - Error
|
|
|
|
# - Warn
|
|
|
|
# - Info
|
|
|
|
# - Debug
|
|
|
|
# - Trace
|
|
|
|
#log_level: Warn
|
|
|
|
|
|
|
|
# Print all received window events.
|
|
|
|
#print_events: false
|