seanyeh / vibreoffice

Vi Mode for LibreOffice/OpenOffice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Esc with jk

MrJJJ opened this issue · comments

commented

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) ?

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 :)

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.

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!