Commit Graph

15 Commits

Author SHA1 Message Date
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 Chibisov 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
Christian Duerr 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