1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2025-02-24 16:06:43 -05:00
Commit graph

21 commits

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