4 ms·
I want an editor that's built around language entities. "Move to end of the scope" or "insert after this expression" and similar. The overlap between language
by bulbar 8mo ago
I want an editor that's built around language entities.
"Move to end of the scope" or "insert after this expression" and similar.
The overlap between languages should be large enough to make this feasible.
- srik 8mo agoNeo/vim does this with community and built-in “text objects”. https://neovim.io/doc/user/usr_04/#_text-objects https://neovim.io/doc/user/usr_04/#_text-objects
- zer 8mo agoThese are great. I really have come to love this little plugin that extends and creates a/i textobjects: https://github.com/nvim-mini/mini.ai https://github.com/nvim-mini/mini.ai
- bulbar 8mo agoDo you use it professionally or as your daily driver? My experience had been that such plugins tend to need a lot of tuning to work flawlessly, which I don't like to do anymore. I like to live default mode for the most part, but for that a piece of technology must be dedicated to a smooth out of the box experience. But all that fancy neovim/dwm/... ecosystem tend to be "we provide you a great framework to create your own things", which is nice, but not for me.
- srik 8mo agoNot op but I’ll vouch for the mini.nvim plugin suite. While I take advantage of their high configurability, their defaults are well thought out and I happily use some like that as well.
- vaylian 8mo agoHelix has built-in Tree Sitter support. > "Move to end of the scope" You can select the current syntax object under the cursor with alt+o and expand the selection to the enclosing syntax objects with further presses of alt+o. This moves you automatically to the end of the selected syntax object. You can use alt+b to move to the beginning of the selected syntax object. > "insert after this expression" Select the expression and after that you can use regular commands like a and p.
- org3 8mo agohttps://ki-editor.org/docs/introduction https://ki-editor.org/docs/introduction