aboutsummaryrefslogtreecommitdiff
path: root/widgets/aerc.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-21 17:40:19 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-21 17:40:50 -0400
commit4130956b4c3cfb63c36b25fadfc19e8c95fb6536 (patch)
tree921bf22c02497e27807251e8204cc649e981fa45 /widgets/aerc.go
parentf5bf4a93243c62b5b30ed0f1d15c124739444c79 (diff)
Use user's configured ex key
Diffstat (limited to 'widgets/aerc.go')
-rw-r--r--widgets/aerc.go4
1 files changed, 3 insertions, 1 deletions
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
}