4 ms·
Kakoune _barely_ has a scripting language. It has essentially a set of commands and some basic string substitution, one of which will let you drop to a shell (s
by enricozb 2y ago
Kakoune _barely_ has a scripting language. It has essentially a set of commands and some basic string substitution, one of which will let you drop to a shell (something akin to substitute this string with the result of evaluating its contents through bash). With this you can write your scripts in whatever language you like. My plugins are almost all in Rust, some are in bash.
- Vegenoid 2y agoAnother vote for Kakoune. I think most people will find its approach a bit obtuse at first, but once it starts to click it’s pretty interesting. Maybe if you’re a seasoned terminal veteran it will make more sense to you right outta the gate. I started using Kakoune not long after I started using the terminal much more heavily, so it was a bit difficult at first, but it has been and continues to be rewarding. For example, select some text and press the pipe character, and then you can enter a script or shell command (sort, uniq, fmt, etc.). The selected text will be fed to stdin of the command, and then will be replaced with the output. Combine this power with multiselections, which can be operated on in separate contexts, and you’ve got a stew going.
- gaze 2y agoThe consequence of this is that kakoune forks for _everything_. In practice maybe this is fine but it seems wasteful