Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrow Keys print characters in Insert mode #12

Open
wady101 opened this issue Sep 22, 2018 · 1 comment
Open

Arrow Keys print characters in Insert mode #12

wady101 opened this issue Sep 22, 2018 · 1 comment

Comments

@wady101
Copy link

wady101 commented Sep 22, 2018

Like the title suggests, when in Insert mode of the VimIDE, characters are printed on the line above. So for example, if we take a few lines of code from vimrc


"==========================================================================
" Make vim incompatbile to vi.
set nocompatible
set modelines=0

So if my cursor is on set nocompatible and I am in Insert mode, I press the up arrow key and this happens:


"==========================================================================
" Make vim incompatbile to vi.
A
set nocompatible
set modelines=0

From what I read from the net, it happens in vi. But the lines to make it incompatible with vi have already been added to the config file.
I loved the IDE, but please someone help! It sucks to switch to Normal mode to move the cursor around (or using the mouse :( )

@wady101 wady101 changed the title Arrow Keys print characters in _Insert_ mode Arrow Keys print characters in Insert mode Sep 22, 2018
@wady101
Copy link
Author

wady101 commented Sep 22, 2018

Forgot to mention : The delete key is also capitalizing the character I want to delete in insert mode.
Here is what I tried to fix this problem in a .exrc file (Though didn't work :P)

set nocompatible

map! ^[OA ^[ka
map! ^[OB ^[ja
map! ^[OC ^[la
map! ^[OD ^[ha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant