HackerTrans
TopNewTrendsCommentsPastAskShowJobs

video_2

no profile record

Submissions

Show HN: A command-line tool for slicing and formatting input using Vim motions

github.com
1 points·by video_2·ano passado·6 comments

comments

video_2
·ano passado·discuss
Yes, but vicut is also faster on benchmarks. And you won't need to write out a whole regex.

Also, I'd love to see what this "sentence finding" regex of yours would look like. I'm sure it's way better than just typing "vis"
video_2
·ano passado·discuss
awk is nice in a lot of cases, especially for tabular data, but it's hard to deny vim's capabilities for handling plain text using text objects. For instance, you can't really tell awk to just "extract this entire sentence" like you can with vim.