vibreoffice icon indicating copy to clipboard operation
vibreoffice copied to clipboard

Esc with jk

Open MrJJJ opened this issue 9 years ago • 3 comments

Thanks a lot for this amazing plugin (I've been waiting that for a long time).

Is it possible to map jk on Esc (very popular mapping in vimrc) ?

MrJJJ avatar Apr 12 '15 17:04 MrJJJ

Hi, thanks for your interest in my project! Unfortunately, I've been pretty busy so I haven't worked on it for a while.

It might be possible, but it's currently not a huge priority for me. From what I understand with the jk mapping, vim waits for about a second after you type a "j", and if you press a "k" during that time, it registers as an escape; otherwise, the "j" comes out as a normal letter. I don't know if that's even possible with LibreOffice Basic and the API, but it might be. It may be worth looking into if you're interested in it. A secondary (and more easily solvable) issue is how to allow user preferences, either from a custom vimrc or something else.

Hope this helps :)

seanyeh avatar Apr 21 '15 23:04 seanyeh

A user preferences vimrc type file would be really great. I doubt it could be nearly as full featured as a real .vimrc, but I really like the idea of users defining their own keybindings.

perrycate avatar Apr 22 '15 02:04 perrycate

Hey, Thank you so much for building this ext for us 👍 I need jk too, Esc is really hard to press, I hope you do it asap thanks again!

sdsaati avatar Jul 19 '18 11:07 sdsaati