TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Vim Koans

129 点作者 janogonzalez超过 12 年前

4 条评论

ralph超过 12 年前
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}'.
rauljara超过 12 年前
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 未加载
nsns超过 12 年前
Seems a little confused between koans ("gong'an" = "public record") and the Taoist stories of Zhuangzi. But never mind, both are Chinese.
评论 #4562109 未加载
评论 #4561444 未加载
anonymouz超过 12 年前
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 未加载