mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
Fix default for [[hints.enabled]] in man pages
The default was incomplete, since `command` was missing.
This commit is contained in:
parent
da69839c6b
commit
48b1dc8101
1 changed files with 11 additions and 8 deletions
|
@ -696,14 +696,17 @@ _action_ or a _command_.
|
|||
The _enabled_ field controls if the hint should be underlined when
|
||||
hovering over the hint text with all _mods_ pressed.
|
||||
|
||||
Default: [{
|
||||
regex = _"(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\\u0000-\\u001F\\u007F-\\u009F<>\\"\\\\s{-}\\\\^⟨⟩`]+"_,++
|
||||
hyperlinks = _true_,++
|
||||
post_processing = _true_,++
|
||||
persist = _false_,++
|
||||
mouse = { enabled = _true_ },++
|
||||
binding = { key = _"U"_, mods = _"Control|Shift"_ },++
|
||||
}]
|
||||
Default:
|
||||
*[[hints.enabled]]*++
|
||||
command = _"xdg-open"_ # On Linux/BSD++
|
||||
# command = _"open"_ # On macOS++
|
||||
# command = { program = _"cmd"_, args = [ _"/c"_, _"start"_, _""_ ] } # On Windows++
|
||||
hyperlinks = _true_++
|
||||
post_processing = _true_++
|
||||
persist = _false_++
|
||||
mouse.enabled = _true_++
|
||||
binding = { key = _"U"_, mods = _"Control|Shift"_ }++
|
||||
regex = _"(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\\u0000-\\u001F\\u007F-\\u009F<>\\"\\\\s{-}\\\\^⟨⟩`]+"_
|
||||
|
||||
# KEYBOARD
|
||||
|
||||
|
|
Loading…
Reference in a new issue