aerc

Working clone of aerc-mail.org
git clone git://git.danielmoch.com/aerc.git
Log | Files | Refs | README | LICENSE

commit 4130956b4c3cfb63c36b25fadfc19e8c95fb6536
parent f5bf4a93243c62b5b30ed0f1d15c124739444c79
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu, 21 Mar 2019 17:40:19 -0400

Use user's configured ex key

Diffstat:
Mwidgets/aerc.go | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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 }