From e1d8bc4d17cb7bd79e19fdf866d1da2fedda4de5 Mon Sep 17 00:00:00 2001 From: Koni Marti Date: Tue, 14 Jun 2022 21:10:48 +0200 Subject: msgviewer: open http links from messages Parse http links from a message and display them as completions in the :open-link command. Add the following binds to the [view] section in your binds.conf: = :open-link Parsing can be disabled in aerc.conf by setting parse-http-links to false in the viewer section. Thanks to Moritz for the help with the regular expression. Signed-off-by: Koni Marti Reviewed-by: Moritz Poldrack Acked-by: Robin Jarry --- doc/aerc-config.5.scd | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd index 15c6ca3a..47ae7526 100644 --- a/doc/aerc-config.5.scd +++ b/doc/aerc-config.5.scd @@ -401,6 +401,12 @@ These options are configured in the *[viewer]* section of aerc.conf. Default: false +*parse-http-links* + Parses and extracts http links when viewing a message. Links can then be + accessed with the open-link command. + + Default: true + ## COMPOSE These options are configured in the *[compose]* section of aerc.conf. -- cgit