vim-dist / webvim

WebVim is a vim based distribution targeting JavaScript and Web development
http://webvim.org
GNU General Public License v3.0
330 stars 34 forks source link

any key into insert mode #53

Closed gatspy closed 7 years ago

gatspy commented 7 years ago

OS: mac osx 10.11.5 I don't know why any key input into insert mode

krampstudio commented 7 years ago

That's weird. I've never seen this kind of issue. How did you install vim and webvim ?

gatspy commented 7 years ago

thanks for you reply, i installed macvim and webvim.

krampstudio commented 7 years ago

webvim is configured to run in a terminal I think there's some conflicts with MacVim. Do you have the same result when running vim in a terminal ?

gatspy commented 7 years ago

I have been using item2. then i test it in terminal. the same issue happened.

WebWeave commented 7 years ago

I am having the exact same issue, using iterm2 with oh my zsh. Also using Mac osx

WebWeave commented 7 years ago

Already worked it out, this was the problem. in insert mode, use jk to switch back to normal mode instead of <esc>

krampstudio commented 7 years ago

Ah, that's what you meant. So yes by default, use jk to leave the insert mode, arrow keys are also disabled in the hardcore mode. You can disable this mode in the configuration