rxi / lite-plugins

Plugins for the lite text editor
354 stars 94 forks source link

Vi keybindings #56

Open Nanoc-ice opened 4 years ago

Nanoc-ice commented 4 years ago

Question: (Just curious) is there anything that would preclude a plugin from providing a vi/vim keybindings? I know this may not be popular with a lot of folks, but my finger memory after 30 years of using vi is hard to erase. I really like how lightweight this is so far and I don’t want ask the question with the intent of making this a vi clone.

bin commented 4 years ago

This would be a nice feature; I think using libvim might be the easiest way to do it. That avoids the tiresome issues fixing inconsistencies that most vim bindings have.

flamendless commented 4 years ago

Yeah I vote as well for vi/vim keybindings support

rxi commented 4 years ago

There's no technical reason one couldn't implement this using the plugin system if it is something someone wanted to do, although I imagine it would be quite a sizeable undertaking.

Nanoc-ice commented 4 years ago

This would be a nice feature; I think using libvim might be the easiest way to do it.

I was not aware of this library, but agree. While I can’t commit to it yet, I will look into it.

sporkl commented 4 years ago

Another option might be to use the lua client for neovim: https://github.com/neovim/lua-client

I'm not (at all) familiar with how clients for neovim work, so this suggestion might not make sense, but I wanted to throw it out there in case it might be useful.

wryun commented 4 years ago

I just found: https://github.com/a327ex/lite-modalediting

(nothing to do with me)

Nanoc-ice commented 4 years ago

I just found: https://github.com/a327ex/lite-modalediting

(nothing to do with me)

This definitely looks like a solid base to work from!

wryun commented 4 years ago

Heh, already disappeared but moved to https://github.com/a327ex/lite-plugins

typon commented 3 years ago

Is anyone working on this? If anyone needs help I'd be happy to work with you

jtbx commented 1 year ago

There's also lite-xl-vibe but that's mainly designed for lite-xl plus includes some default Emacs bindings.