Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

@dpritchett, how is your key mappings defined for this?

I have the following in my .vimrc, it's commented out because I had gotten some weird behavior:

inoremap <esc> <nop>

inoremap jk <esc>

When I'm in insert mode with these mappings un-commented, if I hit the arrow keys I get input like the following:

0A0D0B0C

(up, left, down, right keys). It prints the hex values into the editor instead of moving the cursor. And if I click with the mouse or drag in insert mode:

[M_M1[M@M2[M@N1[M#U ... etc.

With those mappings commented out I don't have this problem - of course I'm back to stretching my pinky 3 rows of keys up to the escape key :(



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: