TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Vim Koans

129 pointsby janogonzalezover 12 years ago

4 comments

ralphover 12 years ago
I realise the point is to show sometimes vim is inappropriate. However, the commands given in the first one are long-winded and not equivalent, I'm not sure the readers who stand to gain from the article will notice this. As I wrote elsewhere...<p>Having done :v/tcp/d there's no need to match again with :g/tcp/s... since :%s... will do, besides :g//s... would have done. Also, :g/tcp/s/\S\+\s\+\(\S\+\)\s.*/\1/ mandates a whitespace after the second word so it's not equivalent to the given :%!awk '/tcp/ {print $2}'.
rauljaraover 12 years ago
I found "The slow student’s despair" truly uplifting. It applies to so much. I'd love to read the original Koan (Koans?) it was modeled after.
评论 #4562002 未加载
nsnsover 12 years ago
Seems a little confused between koans ("gong'an" = "public record") and the Taoist stories of Zhuangzi. But never mind, both are Chinese.
评论 #4562109 未加载
评论 #4561444 未加载
anonymouzover 12 years ago
Seems to be somewhat incoherent flamebait about Vi, mainly giving contrived examples where other tools do a better job (how many people think that vim is the right tool for editing CSV? Or vimscript the right language to write a Markdown processor?). If only it were at least funny...
评论 #4561085 未加载
评论 #4560553 未加载
评论 #4560728 未加载
评论 #4560851 未加载
评论 #4560579 未加载