eugenpt / lite-xl-vibe

VI(m?) Bindings (with a hint of Emacs) for lite-xl.
MIT License
55 stars 7 forks source link

Macroses. Macrosi? Macros:plural() #4

Open eugenpt opened 3 years ago

eugenpt commented 3 years ago

seems fine. And I think I'll go with vim's register usage

But also - I sure like the idea of creating commands on the fly, like in Emacs. Maybe do sth interesting here?

eugenpt commented 3 years ago

Maybe make a simpler set of functions

Make an easy enough tutorial

And then make command to make commands?

Create commands as separate files, import them on the fly (also adding all necessary 'require's before the command body)

seems .. interesting?

eugenpt commented 3 years ago

Ok, kinda works now for vim-style macros as simply sequences of strokes (including, to some degree, input to command view)

TODO:

eugenpt commented 3 years ago

And what about lisp interpreter? That could be fun

eugenpt commented 3 years ago

But seriously. What about plugins in any language? This already is lua, with basically the speed of C and flexibility of JS, why not take this to the next level?