diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/aerc.conf | 6 | ||||
-rw-r--r-- | config/binds.conf | 2 | ||||
-rw-r--r-- | config/config.go | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/config/aerc.conf b/config/aerc.conf index 1a3c1f4..8043412 100644 --- a/config/aerc.conf +++ b/config/aerc.conf @@ -209,6 +209,12 @@ header-layout=From|To,Cc|Bcc,Date,Subject # Default: false always-show-mime=false +# Parses and extracts http links when viewing a message. Links can then be +# accessed with the open-link command. +# +# Default: true +parse-http-links=true + # How long to wait after the last input before auto-completion is triggered. # # Default: 250ms diff --git a/config/binds.conf b/config/binds.conf index 4f67bbe..589dc55 100644 --- a/config/binds.conf +++ b/config/binds.conf @@ -64,6 +64,8 @@ S = :save<space> D = :delete<Enter> A = :archive flat<Enter> +<C-l> = :open-link <space> + f = :forward<Enter> rr = :reply -a<Enter> rq = :reply -aq<Enter> diff --git a/config/config.go b/config/config.go index 923a1a0..dae32b7 100644 --- a/config/config.go +++ b/config/config.go @@ -160,6 +160,7 @@ type ViewerConfig struct { Alternatives []string ShowHeaders bool `ini:"show-headers"` AlwaysShowMime bool `ini:"always-show-mime"` + ParseHttpLinks bool `ini:"parse-http-links"` HeaderLayout [][]string `ini:"-"` KeyPassthrough bool `ini:"-"` } @@ -705,6 +706,7 @@ func LoadConfigFromFile(root *string, logger *log.Logger) (*AercConfig, error) { {"Date"}, {"Subject"}, }, + ParseHttpLinks: true, }, Statusline: StatuslineConfig{ |