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
|
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.
|
2018-10-07 14:40:58 -04:00
|
|
|
#TERM: xterm-256color
|
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)
|
|
|
|
#
|
|
|
|
# Specified in number of columns/lines, not pixels.
|
|
|
|
# If both are `0`, this setting is ignored.
|
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
|
|
|
|
# - buttonless: Title bar, transparent background, but no title bar buttons
|
2019-10-06 06:47:20 -04:00
|
|
|
#decorations: full
|
2017-05-06 11:45:23 -04:00
|
|
|
|
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
|
|
|
|
|
|
|
|
# Window class (Linux 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
|
|
|
|
|
|
|
# GTK theme variant (Linux only)
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
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).
|
2019-10-06 06:47:20 -04:00
|
|
|
#multiplier: 3
|
2018-03-09 13:45:40 -05:00
|
|
|
|
2018-09-21 22:46:41 -04:00
|
|
|
# Scroll to the bottom when new text is written to the terminal.
|
2019-10-06 06:47:20 -04:00
|
|
|
#auto_scroll: false
|
2018-03-22 20:01:55 -04:00
|
|
|
|
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.
|
2019-10-06 06:47:20 -04:00
|
|
|
#tabspaces: 8
|
2016-10-28 12:26:16 -04: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
|
|
|
|
# - (Linux) monospace
|
|
|
|
# - (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
|
|
|
|
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.
|
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
|
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.
|
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
|
|
|
|
# it is recommended to set `use_thin_strokes` to `false`
|
|
|
|
#
|
|
|
|
# macOS >= 10.14.x:
|
|
|
|
#
|
|
|
|
# If the font quality on non-retina display looks bad then set
|
|
|
|
# `use_thin_strokes` to `true` and enable font smoothing by running the
|
|
|
|
# following command:
|
|
|
|
# `defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO`
|
|
|
|
#
|
|
|
|
# This is a global setting and will require a log out or restart to take
|
|
|
|
# effect.
|
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.
|
2019-10-06 06:47:20 -04:00
|
|
|
#draw_bold_text_with_bright_colors: true
|
2018-09-21 22:46:41 -04:00
|
|
|
|
2016-10-15 18:56:27 -04:00
|
|
|
# Colors (Tomorrow Night Bright)
|
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:
|
|
|
|
# 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
|
|
|
|
#
|
2018-11-01 13:23:49 -04:00
|
|
|
# Colors which should be used to draw the terminal cursor. If these are unset,
|
|
|
|
# the cursor color will be the inverse of the cell color.
|
|
|
|
#cursor:
|
|
|
|
# text: '0x000000'
|
|
|
|
# cursor: '0xffffff'
|
2019-04-23 15:05:47 -04:00
|
|
|
|
2019-03-12 19:11:32 -04:00
|
|
|
# Selection colors
|
|
|
|
#
|
2019-04-23 15:05:47 -04:00
|
|
|
# Colors which should be used to draw the selection area. If selection
|
|
|
|
# background is unset, selection color will be the inverse of the cell colors.
|
2019-03-12 19:11:32 -04:00
|
|
|
# If only text is unset the cell text color will remain the same.
|
|
|
|
#selection:
|
|
|
|
# text: '0xeaeaea'
|
|
|
|
# background: '0x404040'
|
2016-07-01 00:26:26 -04:00
|
|
|
|
|
|
|
# Normal colors
|
2019-10-06 06:47:20 -04:00
|
|
|
#normal:
|
|
|
|
# black: '0x000000'
|
|
|
|
# red: '0xd54e53'
|
|
|
|
# green: '0xb9ca4a'
|
|
|
|
# yellow: '0xe6c547'
|
|
|
|
# blue: '0x7aa6da'
|
|
|
|
# magenta: '0xc397d8'
|
|
|
|
# cyan: '0x70c0ba'
|
|
|
|
# white: '0xeaeaea'
|
2016-07-01 00:26:26 -04:00
|
|
|
|
|
|
|
# Bright colors
|
2019-10-06 06:47:20 -04:00
|
|
|
#bright:
|
|
|
|
# black: '0x666666'
|
|
|
|
# red: '0xff3334'
|
|
|
|
# green: '0x9ec400'
|
|
|
|
# yellow: '0xe7c547'
|
|
|
|
# blue: '0x7aa6da'
|
|
|
|
# magenta: '0xb77ee0'
|
|
|
|
# cyan: '0x54ced6'
|
|
|
|
# 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.
|
2019-01-17 04:17:26 -05:00
|
|
|
#dim:
|
|
|
|
# black: '0x000000'
|
|
|
|
# red: '0x8c3336'
|
|
|
|
# green: '0x7a8530'
|
|
|
|
# yellow: '0x97822e'
|
|
|
|
# blue: '0x506d8f'
|
|
|
|
# magenta: '0x80638e'
|
|
|
|
# cyan: '0x497e7a'
|
|
|
|
# white: '0x9a9a9a'
|
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:
|
|
|
|
# `- { index: 16, color: '0xff00ff' }`
|
|
|
|
#
|
2019-10-06 06:47:20 -04:00
|
|
|
#indexed_colors: []
|
2018-09-23 19:05:15 -04:00
|
|
|
|
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.
|
2019-10-06 06:47:20 -04:00
|
|
|
#visual_bell:
|
|
|
|
# animation: EaseOutExpo
|
|
|
|
# duration: 0
|
|
|
|
# color: '0xffffff'
|
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.
|
2019-10-06 06:47:20 -04:00
|
|
|
#background_opacity: 1.0
|
2017-08-20 12:55:45 -04:00
|
|
|
|
2019-10-06 06:47:20 -04:00
|
|
|
#selection:
|
|
|
|
#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-01-17 04:17:26 -05:00
|
|
|
# Allow terminal applications to change Alacritty's window title.
|
2019-10-06 06:47:20 -04:00
|
|
|
#dynamic_title: true
|
2017-12-24 13:24:28 -05:00
|
|
|
|
2019-10-06 06:47:20 -04:00
|
|
|
#cursor:
|
2018-11-01 13:23:49 -04:00
|
|
|
# Cursor style
|
|
|
|
#
|
2019-01-17 04:17:26 -05:00
|
|
|
# Values for `style`:
|
2018-11-01 13:23:49 -04:00
|
|
|
# - ▇ Block
|
|
|
|
# - _ Underline
|
|
|
|
# - | Beam
|
2019-10-06 06:47:20 -04:00
|
|
|
#style: Block
|
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
|
|
|
|
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
|
|
|
|
#
|
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.
|
2019-01-17 04:17:26 -05:00
|
|
|
#
|
|
|
|
# Default:
|
2019-06-16 07:29:18 -04:00
|
|
|
# - (macOS) /bin/bash --login
|
|
|
|
# - (Linux) 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 04:17:26 -05:00
|
|
|
# Windows 10 ConPTY backend (Windows only)
|
|
|
|
#
|
|
|
|
# This will enable better color support and may resolve other issues,
|
|
|
|
# however this API and its implementation is still young and so is
|
|
|
|
# disabled by default, as stability may not be as good as the winpty
|
|
|
|
# backend.
|
|
|
|
#
|
|
|
|
# Alacritty will fall back to the WinPTY automatically if the ConPTY
|
|
|
|
# backend cannot be initialized.
|
2019-10-06 06:47:20 -04:00
|
|
|
#enable_experimental_conpty_backend: false
|
2019-01-17 04:17:26 -05: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
|
|
|
|
2019-10-06 06:47:20 -04:00
|
|
|
#debug:
|
2019-05-10 07:36:16 -04:00
|
|
|
# Display the time it takes to redraw each frame.
|
2019-10-06 06:47:20 -04:00
|
|
|
#render_timer: false
|
2019-05-10 07:36:16 -04:00
|
|
|
|
|
|
|
# Keep the log file after quitting Alacritty.
|
2019-10-06 06:47:20 -04:00
|
|
|
#persistent_logging: false
|
2019-05-10 07:36:16 -04:00
|
|
|
|
|
|
|
# Log level
|
|
|
|
#
|
|
|
|
# Values for `log_level`:
|
|
|
|
# - None
|
|
|
|
# - Error
|
|
|
|
# - Warn
|
|
|
|
# - Info
|
|
|
|
# - Debug
|
|
|
|
# - Trace
|
2019-10-06 06:47:20 -04:00
|
|
|
#log_level: Warn
|
2019-05-10 07:36:16 -04:00
|
|
|
|
|
|
|
# Print all received window events.
|
2019-10-06 06:47:20 -04:00
|
|
|
#print_events: false
|
2019-05-10 07:36:16 -04:00
|
|
|
|
|
|
|
# Record all characters and escape sequences as test data.
|
2019-10-06 06:47:20 -04:00
|
|
|
#ref_test: false
|
2019-05-10 07:36:16 -04:00
|
|
|
|
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
|
|
|
|
2019-10-06 06:47:20 -04:00
|
|
|
#url:
|
2019-06-21 10:35:28 -04:00
|
|
|
# URL launcher
|
|
|
|
#
|
|
|
|
# This program is executed when clicking on a text which is recognized as a URL.
|
|
|
|
# The URL is always added to the command as the last parameter.
|
|
|
|
#
|
|
|
|
# When set to `None`, URL launching will be disabled completely.
|
|
|
|
#
|
|
|
|
# Default:
|
|
|
|
# - (macOS) open
|
|
|
|
# - (Linux) xdg-open
|
|
|
|
# - (Windows) explorer
|
|
|
|
#launcher:
|
|
|
|
# program: xdg-open
|
|
|
|
# args: []
|
|
|
|
|
|
|
|
# URL modifiers
|
|
|
|
#
|
|
|
|
# These are the modifiers that need to be held down for opening URLs when clicking
|
|
|
|
# on them. The available modifiers are documented in the key binding section.
|
2019-10-06 06:47:20 -04:00
|
|
|
#modifiers: None
|
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.
|
|
|
|
#
|
|
|
|
# Each mouse binding will specify a:
|
|
|
|
#
|
|
|
|
# - `mouse`:
|
|
|
|
#
|
|
|
|
# - Middle
|
|
|
|
# - Left
|
|
|
|
# - Right
|
|
|
|
# - Numeric identifier such as `5`
|
|
|
|
#
|
|
|
|
# - `action` (see key bindings)
|
|
|
|
#
|
|
|
|
# And optionally:
|
|
|
|
#
|
|
|
|
# - `mods` (see key bindings)
|
2019-10-06 06:47:20 -04:00
|
|
|
#mouse_bindings:
|
|
|
|
# - { mouse: Middle, 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
|
|
|
|
#
|
|
|
|
# - Copy
|
2018-09-21 22:46:41 -04:00
|
|
|
# - Paste
|
|
|
|
# - PasteSelection
|
|
|
|
# - IncreaseFontSize
|
|
|
|
# - DecreaseFontSize
|
|
|
|
# - ResetFontSize
|
|
|
|
# - ScrollPageUp
|
|
|
|
# - ScrollPageDown
|
2019-04-08 15:50:06 -04:00
|
|
|
# - ScrollLineUp
|
|
|
|
# - ScrollLineDown
|
2018-09-21 22:46:41 -04:00
|
|
|
# - ScrollToTop
|
|
|
|
# - ScrollToBottom
|
|
|
|
# - ClearHistory
|
|
|
|
# - Hide
|
|
|
|
# - Quit
|
2019-04-23 15:05:47 -04:00
|
|
|
# - ToggleFullscreen
|
2019-06-21 10:35:28 -04:00
|
|
|
# - SpawnNewInstance
|
|
|
|
# - ClearLogNotice
|
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
|
|
|
#
|
2019-06-21 10:35:28 -04:00
|
|
|
# (macOS only):
|
2019-04-23 15:05:47 -04:00
|
|
|
# - ToggleSimpleFullscreen: Enters fullscreen without occupying another space
|
|
|
|
#
|
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
|
|
|
|
# - Alt
|
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.
|
2019-10-06 06:47:20 -04:00
|
|
|
#key_bindings:
|
2019-01-17 04:17:26 -05:00
|
|
|
# (Windows/Linux only)
|
2019-02-07 20:46:56 -05:00
|
|
|
#- { key: V, mods: Control|Shift, action: Paste }
|
|
|
|
#- { key: C, mods: Control|Shift, action: Copy }
|
|
|
|
#- { key: Insert, mods: Shift, action: PasteSelection }
|
|
|
|
#- { key: Key0, mods: Control, action: ResetFontSize }
|
|
|
|
#- { key: Equals, mods: Control, action: IncreaseFontSize }
|
2019-03-15 16:41:48 -04:00
|
|
|
#- { key: Add, mods: Control, action: IncreaseFontSize }
|
2019-02-07 20:46:56 -05:00
|
|
|
#- { key: Subtract, mods: Control, action: DecreaseFontSize }
|
2019-03-15 16:41:48 -04:00
|
|
|
#- { key: Minus, mods: Control, action: DecreaseFontSize }
|
2019-06-16 07:35:28 -04:00
|
|
|
#- { key: Return, mods: Alt, action: ToggleFullscreen }
|
2019-01-17 04:17:26 -05:00
|
|
|
|
|
|
|
# (macOS only)
|
2019-06-16 07:35:28 -04:00
|
|
|
#- { key: Key0, mods: Command, action: ResetFontSize }
|
|
|
|
#- { key: Equals, mods: Command, action: IncreaseFontSize }
|
|
|
|
#- { key: Add, mods: Command, action: IncreaseFontSize }
|
|
|
|
#- { key: Minus, mods: Command, action: DecreaseFontSize }
|
|
|
|
#- { key: K, mods: Command, action: ClearHistory }
|
|
|
|
#- { key: K, mods: Command, chars: "\x0c" }
|
|
|
|
#- { key: V, mods: Command, action: Paste }
|
|
|
|
#- { key: C, mods: Command, action: Copy }
|
|
|
|
#- { key: H, mods: Command, action: Hide }
|
|
|
|
#- { key: Q, mods: Command, action: Quit }
|
|
|
|
#- { key: W, mods: Command, action: Quit }
|
|
|
|
#- { key: F, mods: Command|Control, action: ToggleFullscreen }
|
2019-02-07 20:46:56 -05:00
|
|
|
|
2019-10-06 06:47:20 -04:00
|
|
|
#- { key: Paste, action: Paste }
|
|
|
|
#- { key: Copy, action: Copy }
|
|
|
|
#- { key: L, mods: Control, action: ClearLogNotice }
|
|
|
|
#- { key: L, mods: Control, chars: "\x0c" }
|
|
|
|
#- { key: PageUp, mods: Shift, action: ScrollPageUp, mode: ~Alt }
|
|
|
|
#- { key: PageDown, mods: Shift, action: ScrollPageDown, mode: ~Alt }
|
|
|
|
#- { key: Home, mods: Shift, action: ScrollToTop, mode: ~Alt }
|
|
|
|
#- { key: End, mods: Shift, action: ScrollToBottom, mode: ~Alt }
|