Closed neojski closed 9 years ago
I try to type :bla
and then <C-c>
, and the command-line is cancelled as expected.
It might be the differences of the behavior of Chrome in different OSes. Which OS are you using?
<C-space>
doesn't appear to get forwarded to neovim either.
:bla<C-c>
does not work either. I'm using archlinux. It looks like <C-r>
works. I'm not sure why this is happening.
I see, I think that the key codes might need special checks across different OSes. I think I'll need to collect more information, or to find a library for this task.
@rygwdn yeah, I found that both charCode
and keyCode
are 0 for the keypress event of <C-space>
, I might need to capture keydown
events for this.
I have integrated the functions of atom-keymap
, hopefully it's better now. But a side-effect is that caps-lock
is now ignored.
It has been pushed to the master
branch, please give a try.
@coolwanglu I tried out the master
branch and unfortunately <C-Space>
still does nothing.
disregard that last comment, it does indeed work! (I forgot to re-generate the JS from coffeescript).
@rygwdn great!
@neojski Could you test <c-c>
?
Works now, thanks!
I expected
<c-c>
to work but it looks likeatom-shell
is preventing then somehow. They don't show-up in theaddEventListener
callback.