News for hackers. Stuff that matters.
Re:Ask HN: What is a good scriptable text editor by volaski on Friday January 08, 2016 @01:22PM (#10866953)
vim?
Re:Ask HN: What is a good scriptable text editor by nanis on Friday January 08, 2016 @07:16PM (#10869332)
Compile vim and/or gvim with Perl support, use Vim::X < https://metacpan.org/pod/Vim::X >, and enjoy.
Re:Ask HN: What is a good scriptable text editor by perugolate on Friday January 08, 2016 @01:28PM (#10867009)
+1 especially neovim
Re:Ask HN: What is a good scriptable text editor by luchadorvader on Friday January 08, 2016 @01:46PM (#10867161)
I was hoping for something with GUI because I'm lazy, but I really should stop putting off learning vim :|
Re:Ask HN: What is a good scriptable text editor by NetStrikeForce on Friday January 08, 2016 @08:57PM (#10869689)
Vim is perfect for lazy people. Trust me, I know about laziness :)

Just picture this: You want to delete one line in your file. With Vim you just press 'dd' (that's 'd' two times). Not impressive, right? But what if you wanted to delete 27 lines? Are you going to select them with your mouse while counting? You might prefer to type '27' and then 'dd'. Done.

Do you want to jump to line 2135? type :2135 and press enter. What if I want to find a string? /string. Oh, and then I could just press 'n' for the next occurrence.

I needed years to only grasp a few Vim tricks, but every single one of them is almost mind blowing. I've only find Sublime Text to be a rival, for other reasons (multiple cursors are ideal to trim log files 100x faster while troubleshooting).

Re:Ask HN: What is a good scriptable text editor by volaski on Friday January 08, 2016 @03:46PM (#10868098)
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 by runjake on Friday January 08, 2016 @03:20PM (#10867896)
Then, gvim?
Re:Ask HN: What is a good scriptable text editor by mod on Friday January 08, 2016 @07:49PM (#10869458)
I doubt that's the kind of gui he wants. Probably file navigation and the like.