zlacker

[parent] [thread] 1 comments
1. rollca+(OP)[view] [source] 2025-01-29 12:30:38
> Shameless plug - I wrote a plugin ages ago which makes it possible to replace and sort text using Python code [...]

I've been trying out Lite XL, and I have a crude (WIP) plugin that can pipe selected text thru any shell command (sed, sort, etc), and either output to a new buffer, or replace the selection. Then I started writing some scripts to supply the commands I miss from Emacs, like align-regexp. Since it's just shell commands, you can write them in any language.

I'm not sure if I like Lite XL, but the scripts I already wrote would be easily reusable in any editor that supports piping selections. Perhaps it would be a fun project to create a collection of such portable scripts, sort of like what LSP did.

replies(1): >>gherar+zo6
2. gherar+zo6[view] [source] 2025-01-31 15:40:08
>>rollca+(OP)
nice to see another lite XL enjoyer. Neat editor and its stupid easy to write plugins for it.
[go to top]