ardagnir/pterosaur

Arrow Keys Break After Turning Off Fullvim

noctuid opened this issue · 6 comments

EDIT: The fact that I had mapped the arrows keys to in insert mode seems to be entirely unrelated to the whatever the reason is that they stop working after toggling fullvim on then off. I apologize.

Are you setting the imaps through pterosaur/vim (it should should VIM_COMMAND when you're typing it) or through pentadactyl?

I tested it with an imap in my ~/.vimrc

Edit:
Okay, it seems it only happens if I have something mapped to :
inoremap <left> <nop>
And this doesn't happen for letter keys. So it only happens for specific imap commands.
Sorry, this was very badly tested on my part. I just assumed that it had to do with the imaps because I just put them there and hadn't noticed this before. Even if I remove them from my vimrc, the arrow keys stop working after using fullvim. Nothing else seems to be affected, and this happens for all text boxes I've tried.

Should be fixed now.

They still stop working after turning fullvim on then off. I've updated to the new version of the plugin and restarted firefox. Do I need to do something else?

Type :help pterosaur-plugin in pentadactyl. Are you running version 0.8.3?

Everything should work fine when you update and restart, but if not, you can force firefox not to use the cache by changing the name of the plugin from pterosaur.js to pterosaur2.js

I had to rename the plugin for firefox to use the new version, but :help pterosaur-plugin still lists it as version 0.8.2 for some reason (even though pterosaur.js it's listed as 0.8.3). The problem is fixed now though. Thank you.