:lua with a [range] executes that range as Lua code, in any buffer.
Finally! Something similar to M-x eval-region
built-in (as far as I'm aware).
:lua with a [range] executes that range as Lua code, in any buffer.
Finally! Something similar to M-x eval-region
built-in (as far as I'm aware).
Switching from Vim was a no-brainer. I was on WSL 1, and the Alt/Meta key support was horrendous at the time. Neovim supported it perfectly.
Years later Neovim adopts Lua, I went back and forth between Emacs and Neovim for several months. Neovim stuck, because for some reason it just works. Lua is a little easier to learn and write (before I find the time to sit down and read the elisp manual properly, appreciating the lisp-ness), my Neovim setup had a satisfactory number of features whilst having minimum moving parts. It became easier to maintain. As my current daily driver I don't need to touch my config for months and it will work.
I also tried helix several weeks ago, it's great, but it doesn't support custom snippets and templates, among other things that were essential to the development for some of my projects.
I am not convinced Neovim is best for me, I miss Emacs from time to time. It's just what I've sticked with and I'm happy with it for now.
Inspiration and Thanks
Github Copilot for code
Welp, interesting!
My friends type up code in Google Docs to do programming homework on the phone while on the bus.
I recently switched to Codeberg Pages and it's the first time I'm hearing about a weekly downtime. Is there somewhere this is documented or I can read more about it?