Commit Graph
126 Commits
Author SHA1 Message Date
Kirill Chibisov 882954cb48 Mark SimpleFullscreen as macOS only startup mode 2024-01-06 08:59:54 +01:00
Christian Duerr 78fa4d6feb Alacritty version 0.13.0 2023-12-27 22:13:35 +01:00
Christian Duerr b8acfdae19 Alacritty version 0.13.0-rc2 2023-12-22 10:42:02 +01:00
Christian Duerr ada35aeb70 Alacritty version 0.13.0-rc1 2023-12-14 03:46:34 +00:00
Kirill Chibisov 0fd04c371a Bump crossfont to 0.7.0 2023-12-14 07:15:40 +04:00
Kirill Chibisov 5adfc4fb00 Adjust default Vi's SearchBackwards binding
We have the same policy with Shift for numbers.
2023-11-28 03:03:29 +04:00
Kirill Chibisov 0b41841305 Add migrate to alacritty(1) 2023-11-24 03:01:10 +04:00
Kirill Chibisov 48b1dc8101 Fix default for [[hints.enabled]] in man pages
The default was incomplete, since `command` was missing.
2023-11-24 03:01:10 +04:00
Kirill Chibisov da69839c6b Drop repo link in *SEE ALSO* man sections
The alacritty documentation is fully present inside the man pages, the
repo provides nothing extra other than a way to report issues, which
lives in its own section anyway.
2023-11-24 03:01:10 +04:00
Kirill Chibisov 0a9e40ba73 Add example for [window] section in alacritty(5)
This should give a hint on how to generally tweak things.
2023-11-24 03:01:10 +04:00
Kirill Chibisov 8c1b1b8538 Improve section to TOML section refs
This should give more hints where to put things.
2023-11-24 03:01:10 +04:00
Kirill Chibisov a024822568 Explicitly use = in alacritty(5)
This should help with understanding how to write TOML
without reading too much into specification.
2023-11-24 03:01:10 +04:00
Kirill Chibisov 357c2e0ae4 Make man pages look consistent
Part of the man pages were using _value_, other part were using just
value, thus make everything as _value_.

Also properly dot terminate and add spacing through out the man pages.
2023-11-24 03:01:10 +04:00
Kirill Chibisov b79b1d747d Fix SelectLastTab in alacritty-bindings(5) 2023-11-24 03:01:10 +04:00
Kirill Chibisov b54747ce5e Make sections the same case in man pages 2023-11-24 03:01:10 +04:00
Gregory Anders 13834d4de8 Fix Sync capability in terminfo
Alacritty has supported mode 2026 for synchornized updates for a few
months, but the terminfo entry still used the old DCS sequence
originally supported by iTerm2. Since many other terminal emulators and
applications seem to be standardizing around 2026, change the terminfo
entry to use SM instead of DCS.
2023-11-13 23:29:44 +00:00
Kirill Chibisov dc46d41ff9 Change default bell.animation to Linear
The default animation feels really choppy, but it's just how its
function looks.
2023-11-13 02:19:03 +04:00
Christian Duerr 2f097dac5c Add --option argument to create-window
This patch adds a new CLI parameter to the `create-window` subcommand,
matching the existing `--option` parameter when creating a new Alacritty
instance.

This parameter allows setting up the initial window configuration from
the CLI without having to call `alacritty msg config`, making sure that
all options are set appropriately right from the start.

Closes #6238.
2023-11-11 20:33:06 +01:00
Kirill Chibisov 4a26667060 Use builtin font to draw powerline symbols
In addition to box drawing it was decided to also draw powerline
symbols, since those are quite common and rather simple to draw with
present box drawing infra.
2023-11-11 19:28:19 +04:00
Kirill Chibisov a0663c5225 Add window.blur config option
Fixes #972.
2023-10-29 16:18:33 +04:00
Pavel Roskin 75eef3be96 Fix typos 2023-10-25 23:20:58 +00:00
Pavel Roskin 500b696ca8 Prefer exact matches for bindings in mouse mode
Only consider bindings without Shift if there are no actions defined for the
actual mouse event.

Closes #7292.
2023-10-25 00:04:32 +00:00
Kirill Chibisov 80d4daccc3 Update winit to 0.29.2 and copypasta to 0.10.0
Fixes #7236.
Fixes #7201.
Fixes #7146.
Fixes #6848.
Fixes #3601.
Fixes #3108.
Fixes #2453.
2023-10-21 22:56:20 +04:00
Christian Duerr 845a5d8a8d Add inline vi mode search
This patch adds inline search to vi mode using `f`/`F` and `t`/`T` as
default bindings. The behavior matches that of vim.

Fixes #7203.
2023-10-20 13:33:38 +04:00
Christian Duerr 59c63d3738 Update dependencies
This patch applies all breaking and non-breaking dependency updates
and bumps MSRV to 1.70.0.
2023-10-08 07:29:57 +04:00
Christian Duerr 77aa9f42ba Add missing position config docs 2023-09-16 13:32:21 +04:00
Kirill Chibisov 34b5dbacd2 Test man-pages compilation on the CI 2023-09-07 15:23:08 +04:00
Rolf Sievert 8eed17227a Add prefer_egl debug option
Some systems have rendering issues when using GLX rather than EGL. While this is
usually due to a driver bug, it is helpful to provide a workaround for this by
allowing people to prefer EGL over GLX.

This patch adds the new `debug.prefer_egl` option to provide this workaround.

Closes #7056.
2023-09-04 20:15:46 +00:00
Kirill Chibisov 8d174429ee Support startup notify on Wayland/X11
Activate a window to indicate that we want initial focus when the
system uses startup notifications.

Fixes #6931.
2023-09-04 03:01:12 +04:00
Kirill Chibisov bfcebbcd38 Add bindings for macOS tabs
This doesn't represnet the movement to add tabs on any other platform,
unless winit could add a similar API for them.
2023-09-04 03:01:12 +04:00
Kirill Chibisov bbc02004b8 Add examples to more sections
Some sections were provided without a default, so provide an example for
them.
2023-09-04 02:25:53 +04:00
Kirill Chibisov bcc90872de Quote None consistently inside the man page
`None` must be inside the `"`, since it's a string value.
2023-09-04 02:25:53 +04:00
Pavel Roskin 6143b3f4eb Fix decorations_theme_variant spelling in manpage 2023-08-13 23:38:04 +00:00
Kirill Bulatov d20cce9401 Make URL_REGEX more strict 2023-07-22 19:58:52 +00:00
Kirill ChibisovandChristian Duerr 0c94e4ae7b Add terminal config section to control OSCs
Some environments demand certain OSC sequences to be disabled or
some escape sequence could require handling which is out of scope
of alacritty, but could be done by external script (OSC 777).

Added section for now just handles the `OSC 52` sequence and changes
its default to be `OnlyCopy`, which is handy for remote copy, but
`Paste` is redundant because normal `Paste` hotkey could be used as
well.

Fixes #3386.

Co-authored-by: Christian Duerr <contact@christianduerr.com>
2023-07-22 18:31:35 +00:00
Kirill Chibisov f2e543880f Mention Forward/Back mouse buttons in man page
They were mentioned only in the changelog, but forgotten in the man
page.
2023-07-21 09:57:47 +00:00
Kirill Chibisov 2101d5ac37 Fix keys like + not working on neo layouts
The key_without_modifier removes all the modifiers including the
multiple shift levels, which is not desired. In alacritty we
just wanted to treat uppercase and lowercase latters the same,
which we can with the help of builtin functions.
2023-07-20 17:42:47 +00:00
Christian DuerrandKirill Chibisov bf671412ce Fix manpage docs for shell section
Closes #7087.

Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
2023-07-20 13:27:31 +00:00
Kirill Chibisov 296eb55460 Mention all the actions in the man page
A lot of actions were left without a notice, so the only way to figure
out some of them was to browse source code. An example of such
actions were `Maximize` and `Minimize`, since we don't have a binding
for them, so they were left even in alacritty-bindings(5).

Explicitly list all the bindings we have. The search bindings were
also not accurately restricted, since we allow them to be executed
inside regardless of mode.
2023-07-16 03:46:47 +00:00
Kirill Chibisov db903503df Update to the new winit keyboard API
The main highlight of this update is that alacritty will now use new
keyboard API from the winit, which resolves a lot of issues around
key bindings, such as ability to bind dead keys. It also fixes long
standing issues with the virtual key code bindings and make bindings
in general more predictable. It also makes our default Vi key bindings
fully working.

Given that alacritty was using `VirtualKey` directly in the bindings
from the winit, and winit simply removed the enum, we've added internal
conversions to minimize the fallout, but new way to specify the bindings
should be more intuitive.

Other part of this update fixes some forward compatibility bugs with the
Wayland backend, given that wayland-rs 0.30 is fully forward compatible.
The update also fixes weird Maximized startup issues on GNOME Wayland,
however they were present on any sane compositor.

Fixes #6842.
Fixes #6455.
Fixes #6184.
Fixes #5684.
Fixes #3574.
Fixes #3460.
Fixes #1336.
Fixes #892.
Fixes #458.
Fixes #55.
2023-07-11 02:22:14 +00:00
Pavel Roskin acbf8e581e Update binding sections in config manpage 2023-07-07 21:37:50 +00:00
Christian Duerr 279d51d489 Add manpage links to "see also" section 2023-07-01 16:41:09 +04:00
Kirill Chibisov 1a67fc35f0 Change the default colorscheme
The new colorscheme is base16 classic dark with the bright colors
generated with oklab toolkits. The base16 classic dark is less washed
out and represents the current maintainers preference. The motivation
to change it was subjective, though it does look like generic dark
theme.

On a side note, this colorscheme was used for alacritty.org web page for
a long time, however it used different foreground color.
2023-06-29 23:08:18 +04:00
Sonu Bardai df00be25c6 Remove mouse double_click/triple_click options
Fixes #6962.
2023-06-29 17:17:54 +04:00
Sonu Bardai be03effdbe Add option to persist hints after selection
Closes #6976.
2023-06-15 00:03:38 +00:00
Christian Duerr bd4906722a Switch to TOML configuration format
This switches Alacritty's default configuration format from yaml to
toml. While yaml is still supported, it is done by converting it to toml
and should be removed entirely in the future.

All existing features were persisted based on my testing. Behavior
should not change much, though `--option` might have slightly different
behavior since the entire line is not interpreted as one line of toml.

A new `alacritty migrate` subcommand has been added which allows
automatic migration from yaml to toml. This also could be used as a
facility to automatically fix configuration file changes in the future.

Closes #6592.
2023-06-12 00:23:41 +00:00
Christian Duerr e3746e49a1 Move manpages to scdoc
This rewrites the existing manpages to use the `scdoc` format, making it
simpler to read and edit the manpages without intricate roff knowledge.

Some minor changes to the manpages were made in the process, mostly
focusing on correcting some of the wording. The list of maintainers has
also changed to ensure people not involved in the project anymore aren't
unnecessarily contacted for support.
2023-05-28 10:13:09 +00:00
Kirill Chibisov 6f6ad2b2ee Update clap to v4.2.7
Fixes #6879.
Fixes #6874.
2023-05-17 08:36:41 +03:00
Christian Duerr d40198da53 Add missing terminfo capabilities
This adds capabilities for focus in/out (XF, kxIN, kxOUT) and bracketed
paste (BD, BE, PE, PS).
2023-04-08 17:33:12 +00:00
Kirill Chibisov 9cf2c89fd1 Bump development version to 0.13.0-dev
This is only an update to the development version and does not represent
a stable release.
2023-02-15 02:19:19 +03:00