mirror of
https://github.com/qvacua/vimr.git
synced 2025-01-02 10:43:41 +03:00
commit
4fc189b6de
@ -56,6 +56,7 @@ class KeyUtils {
|
||||
NSF33FunctionKey: "F33",
|
||||
NSF34FunctionKey: "F34",
|
||||
NSF35FunctionKey: "F35",
|
||||
0x19: "Tab",
|
||||
]
|
||||
|
||||
static func isSpecial(key: String) -> Bool {
|
||||
|
@ -1036,6 +1036,7 @@ extension NeoVimView: NSTextInputClient {
|
||||
let control = modifierFlags.contains(.control)
|
||||
let option = modifierFlags.contains(.option)
|
||||
let command = modifierFlags.contains(.command)
|
||||
let shift = modifierFlags.contains(.shift)
|
||||
|
||||
if control {
|
||||
result += "C-"
|
||||
@ -1049,6 +1050,10 @@ extension NeoVimView: NSTextInputClient {
|
||||
result += "D-"
|
||||
}
|
||||
|
||||
if shift {
|
||||
result += "S-"
|
||||
}
|
||||
|
||||
if result.characters.count > 0 {
|
||||
return result
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user