
Vim 实用技巧
Practical VIM
Drew Neil · 初版 2012 年
58人推荐
72位读者提及
95次提及
为什么值得读
- 被读者评价为市面上最出色的Vim学习资源
- 帮助掌握应对复杂编辑任务的大量操作心智
- 深入解释编辑器功能原本的设计意图
Vim 是一款快速且高效的文本编辑器,能让你成为一名更快、更高效的开发者。它几乎适用于所有 OS;如果你掌握了本书中的技巧,就再也不需要其他文本编辑器了。通过 120 多个 Vim tips,你将迅速掌握该编辑器的核心功能,搞定最棘手的编辑和编写任务。这本备受喜爱的畅销书已针对 Vim 8 进行了修订和更新,包含 3 个全新 tips 以及 5 个全面修订的 tips。作为一款高度可配置的跨平台文本编辑器,Vim 是程序员、Web 开发者以及 sysadmins 的得力工具。
Hacker News 上怎么说
正在加载完整评论……
……这类东西。确实有些东西既不是最实用也不是最显而易见的,但理解它们最初的设计意图还是很有好处的。不是故意贬低这篇的作者,但我更推荐 Drew Neil 的 Practical Vim,胜过这本(以及几乎所有其他 Vim 书)。https://pragprog.com/book/dnvim/practical-vim
…such things. Indeed there certainly some things that aren't the most useful or obvious but it's good to understand their original intent. Not to crap on the author of this but I'd recommend Drew Neil's Practical Vim over this (and pretty much every other Vim book). https://pragprog.com/book/dnvim/practical-vim
……解释-为什么-有人会想从 vim 转到 emacs。Org-mode 和用类似 lisp 的语言配置 emacs 确实很酷,但对我来说不值得把所有东西重学一遍。我读了 Drew Neil 的《Practical Vim》以及网上其他 vim 资料,早就把这些时间投进去了。相信大家都知道,vi 基本上无处不在。在我用不了 vim 或者没网的时候,这至少救了我两次狗命……
…explain -why- one would want to switch to emacs from vim. Org-mode and configuring emacs in a lisp-like are cool, but are not worth re-learning everything for me. I put that time in already by reading "Practical Vim" by Drew Neil and other vim literature online. I'm sure everyone is already aware, but vi is available basically everywhere. This has saved my ass at least twice where I couldn't access vim or had internet…
Drew Neil 写的 Practical Vim 绝对是市面上最好的 vim 学习资源,毫无争议。根本没有任何东西能望其项背。
Practical vim by Drew Neil is hands down the best vim learning resource out there. Nothing even comes close.
……随机挑选的例子,因为要想精通 Vim,你脑子里得同时摆弄一大堆稀奇古怪的特性来完成编辑任务。能帮你精通 Vim 的主要资源是 Drew Neil 写的《Practical Vim》;另外要是你哪天不幸沦落到必须编写或修改 Vim 插件的地步,《Learn Vimscript the Hard Way》简直是无价之宝 http://learnvimscriptthehardway.stevelosh.com/
…randomly chosen examples, because mastering Vim involves mentally juggling a very large playbook of oddball features to complete editing tasks. The main resources to help you master Vim are the book "Practical Vim" by Drew Neil, and if you're ever in the unfortunate position of needing to write or edit a Vim plugin, "Learn Vimscript the Hard Way" is invaluable http://learnvimscriptthehardway.stevelosh.com/
……开始阅读 vim 手册,挨个学习按键操作,然后打造自己的 distribution,那时候我才算真正懂了怎么用 vim。即便如此,我依然从 Drew Neil 的 Practical Vim 这类书里学到了很多棒极了的东西(关于 Tmux,有一本《Tmux 2: Productive Mouse-Free Development》)。我想你可能已经知道了,不过我还是在这儿顺手提几条小技巧。我没有什么捷径,就那句座右铭。
…start to read the vim manual, learn the key strokes one by one and then building my own distribution, that's when I really know how to use vim. Even so, I still learn many great things from books like Practical Vim by Drew Neil (on Tmux, there's Tmux 2: Productive Mouse-Free Development) I think you might already know that, but still shooting here for some quick tips. I don't have any shortcut, just that motto.
Drew Neil 的 Practical Vim 这本书我怎么推荐都不为过。Vim 并不难,而且比其他任何编辑器都快。Vim 是唯一的真神编辑器(除了另一个也是真神的编辑器之外,那个也还行)。
I can’t recommend enough the book Practical Vim by Drew Neil. Vim isn’t hard, and it’s faster than everything else. Vim is the one true editor (except for that other one true editor which is also ok).