Use user's configured ex key
This commit is contained in:
parent
f5bf4a9324
commit
4130956b4c
1 changed files with 3 additions and 1 deletions
|
@ -148,7 +148,9 @@ func (aerc *Aerc) Event(event tcell.Event) bool {
|
||||||
}
|
}
|
||||||
if !incomplete {
|
if !incomplete {
|
||||||
aerc.pendingKeys = []config.KeyStroke{}
|
aerc.pendingKeys = []config.KeyStroke{}
|
||||||
if event.Rune() == ':' {
|
if event.Key() == bindings.ExKey.Key &&
|
||||||
|
event.Rune() == bindings.ExKey.Rune {
|
||||||
|
|
||||||
aerc.BeginExCommand()
|
aerc.BeginExCommand()
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue