From 4130956b4c3cfb63c36b25fadfc19e8c95fb6536 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 21 Mar 2019 17:40:19 -0400 Subject: Use user's configured ex key --- widgets/aerc.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/widgets/aerc.go b/widgets/aerc.go index 8d456b1..17d41a3 100644 --- a/widgets/aerc.go +++ b/widgets/aerc.go @@ -148,7 +148,9 @@ func (aerc *Aerc) Event(event tcell.Event) bool { } if !incomplete { aerc.pendingKeys = []config.KeyStroke{} - if event.Rune() == ':' { + if event.Key() == bindings.ExKey.Key && + event.Rune() == bindings.ExKey.Rune { + aerc.BeginExCommand() return true } -- cgit 1.4.1-2-gfad0