HackerTrans
トップ新着トレンドコメント過去質問紹介求人

video_2

no profile record

投稿

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

github.com
1 ポイント·投稿者 video_2·昨年·6 コメント

コメント

video_2
·昨年·議論
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
·昨年·議論
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.