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.

The Grammar of Vim

125 pointsby daniel02216about 13 years ago

7 comments

akurilinabout 13 years ago
I've been reading through the brand new Practical Vim by Pragmatic Bookshelf, it goes pretty in depth in this and much much more: <a href="http://pragprog.com/book/dnvim/practical-vim" rel="nofollow">http://pragprog.com/book/dnvim/practical-vim</a>
评论 #3963187 未加载
stcredzeroabout 13 years ago
I suspect there's an opportunity/lesson lurking here somewhere.<p>One of the biggest complaints devs have about tools is responsiveness. The more responsive a tool is, the higher time-density of information available to a developer.<p>IDEs tend to suck in this regard, but Vim positively shines. Many people advocate Vim because it tends to shine in this department, even though they may not consciously realize it. Responsiveness seems to be the one vital attribute for developer tools in general. (Mosh is another example of a dev tool that capitalizes on responsiveness.)<p>So at first glance, it's quite odd that many IDEs suck re: responsiveness. After all, this is measurable. However, the tools to measure this on desktop apps tend to be proprietary and quite involved to use. As a result, FOSS developer tools don't do this kind of measurement, and the Tragedy of the Commons results in bloated IDEs. So the environments that avoid poor responsiveness tend to be ones that matured in a world with far fewer resources.<p>The takeaway: if your plans for world domination also involve a dev environment to rule them all, you'd best be measuring UI responsiveness as a part of your continuous integration/testing -- and set standards and make the devs stick by them.
评论 #3965915 未加载
mwexlerabout 13 years ago
A link, or links much like this describing the "grammar" of Vim, gets reposted every few months, which is probably fine because it's a good thing to learn and share, but it would be nice if there were a HN "Hall of Fame" which would prevent reposting things like this over and over and over again. It could have either posts, or "concepts" with some of the more popular posts about Vi/Vim/etc, Emacs, C++, etc.<p>(What reposts, you say? I was thinking of <a href="http://news.ycombinator.com/item?id=2911930" rel="nofollow">http://news.ycombinator.com/item?id=2911930</a> or <a href="http://news.ycombinator.com/item?id=3361993" rel="nofollow">http://news.ycombinator.com/item?id=3361993</a> linking to Yan Pritzkers original post, referenced in parent link. But to be fair, they are different posts, not truly reposts.)<p>(However, there's also value in serendipity of new users "discovering" great links, so perhaps we can just leave well enough alone. Yeah, I know, useless comment when it takes both sides of a point).
评论 #3964144 未加载
评论 #3965276 未加载
bltabout 13 years ago
I have been using Vim for a few years. I recently installed a trial version of ViEmu plugin for Visual Studio. With Vim inside my main IDE at work, I have the chance to really master it. But I ran into an unexpected hiccup - nobody else can use it when we're collaborating on code! Sadly, I think this might be a big enough reason to remove it.
评论 #3963160 未加载
评论 #3963502 未加载
评论 #3964267 未加载
评论 #3964524 未加载
SkyMarshalabout 13 years ago
Does emacs have a consistent grammar like this?<p>I use vim, but have been interested in learning emacs too. However, every time I startup the emacs tutorial, I immediately start missing the vim's semantic grammar.<p>Have I just not gotten far enough into emacs to discover that yet?
评论 #3965435 未加载
gbogabout 13 years ago
True but I'd say this verb-noun idiom only accounts to 15% of the user manual. For instance learning fold commands za will tell you nothing about other commands using 'a'.
评论 #3964082 未加载
donniezazenabout 13 years ago
Do you guys use a mix of VIM and Text editor? OR just VIM?
评论 #3966683 未加载