inkdropapp / inkdrop-vim

Provides Vim modal control for Inkdrop, blending the best of Vim and Inkdrop
https://www.inkdrop.app/
MIT License
101 stars 9 forks source link

CTRL+[ not working #6

Closed fkjctm closed 5 years ago

fkjctm commented 5 years ago

Inkdrop Version: 3.23.1 OS: Ubuntu 18.04

My escape sequence is CTRL+[ which was not working by default. I had to add the following to keymap.cson to get it to work:

{
  ".CodeMirror.vim-mode.insert-mode textarea": {
    "ctrl-[": "vim-mode:exit-insert-mode"
  }
}
craftzdog commented 5 years ago

Hi @agvctm,

Thanks for reporting. This should be a keyboard setting problem because ctrl-[ is natively mapped to esc by default on Linux. I got it to work without the keymap setting.

fkjctm commented 5 years ago

Interesting. I do swap my left control key with caps lock, but I can't get it to escape when using the right control key either. I don't have a problem in any other vim emulator (Ideavim) either. I'll go ahead and close this issue.