1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-29 16:56:40 +03:00

Add comments

This commit is contained in:
Ezequiel Rosas 2017-08-15 23:11:33 -05:00
parent 16c5120ddf
commit 09555e9452

View File

@ -106,7 +106,7 @@ extension NeoVimView {
// See special cases in vim/os_win32.c from vim sources // See special cases in vim/os_win32.c from vim sources
// Also mentioned in MacVim's KeyBindings.plist // Also mentioned in MacVim's KeyBindings.plist
if .control == flags && chars == "6" { if .control == flags && chars == "6" {
self.agent.vimInput("\u{1e}") self.agent.vimInput("\u{1e}") // AKA ^^
return true return true
} }
if .control == flags && chars == "2" { if .control == flags && chars == "2" {
@ -114,6 +114,7 @@ extension NeoVimView {
self.agent.vimInput(self.wrapNamedKeys("Nul")) self.agent.vimInput(self.wrapNamedKeys("Nul"))
return true return true
} }
// NsEvent already sets \u{1f} for <C--> && <C-_>
return false return false
} }