mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-25 06:06:21 +03:00
Give Priority to NamedKeys
This commit is contained in:
parent
3a91b3a3fb
commit
38840c5c58
@ -29,7 +29,7 @@ extension NeoVimView {
|
||||
|
||||
let flags = self.vimModifierFlags(modifierFlags) ?? ""
|
||||
let isNamedKey = KeyUtils.isSpecial(key: charsIgnoringModifiers)
|
||||
let isControlCode = KeyUtils.isControlCode(key: chars)
|
||||
let isControlCode = KeyUtils.isControlCode(key: chars) && !isNamedKey
|
||||
let isPlain = flags.isEmpty && !isNamedKey
|
||||
let isWrapNeeded = !isControlCode && !isPlain
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user