Live data from Hacker News

Ask HN: What is a good scriptable text editor

news.ycombinator.com

1–10 of 18 posts

Ask HN: What is a good scriptable text editor

#1
I'm looking for a good text editor that has a simple and quick scripting capability. I work a lot with text sometimes so I'll write some one off scripts sometimes to edit big files, but other files I'll use Sublime Text to do some manipulations. The problem is that it's API is somewhat restrictive, like if I want a custom input without going in the command prompt then I lose access to the region that I selected. I also have been using Visual Studio Code, but it looks to be a big effort to actually write a small plugin needing stuff like NPM and non-trivial config files. If anyone has any suggestions I would love to hear them.

For context I use Linux.

Re: Ask HN: What is a good scriptable text editor

#7

Earlier quoted context omitted.

+1 especially neovim

I was hoping for something with GUI because I'm lazy, but I really should stop putting off learning vim :|

I can understand your reasoning, but once you learn it you'll realize how this is exactly what you've been looking for. For starters, the main concept of Vim is its "Command mode", which is used exactly for the scripting you're talking about.

Re: Ask HN: What is a good scriptable text editor

#10
post #6

Earlier quoted context omitted.

I was hoping for something with GUI because I'm lazy, but I really should stop putting off learning vim :|

Then, gvim?

I doubt that's the kind of gui he wants. Probably file navigation and the like.
Post reply on HN