强迫自己掌握 vi 的最佳方法是什么? [英] What is the best way to force yourself to master vi?

查看:24
本文介绍了强迫自己掌握 vi 的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不久前,我阅读了 viemu 创建者的一篇文章,澄清了很多关于 vi 的误解,并解释了为什么它是一个好主意(以及为什么它在过去 30 多年里非常流行).同一个人还有 一组很棒的图形备忘单,可以一次教授一些基础知识时间.

A good while ago, I read an article by the creator of viemu, clearing up a lot of the misconceptions about vi, as well as explaining why it's a good idea (and why it's been very popular for the last 30 years+). The same guy also has a great set of graphical cheat sheets that teach the basics a few bits at a time.

我相信.

事实上,过去 2 年我一直深信不疑.但是我仍然真的没有时间强迫自己学习 vi 作为我的主要编辑器,学习曲线太高了.当我开始工作时,可接受但立竿见影的生产力(使用我当前的编辑器)到目前为止已经赢得了更远的巨大生产力(使用 vi).

I've been convinced for the past 2 years in fact. But I still really haven't gotten around to force myself to learn vi as my primary editor, the learning curve is just too high. When I get down to work, acceptable but immediate productivity (using my current editor) has so far won over tremendous productivity farther down the line (using vi).

有人有什么好的技巧可以帮助克服学习曲线吗?它可以是直接的提示、其他一些教程或文章,等等.

Does anybody have any good tips to help get past the learning curve? It can be straight out tips, some other tutorial or article, whatever.

请注意,我知道 vim/gVim奶油MacVim(等)vi 的变体.我保留了关于 vi 的问题,以指代整个 vi 家族.感谢所有精彩的回答.

Note that I'm aware of the vim/gVim, Cream and MacVim (etc.) variants of vi. I kept my question about vi to refer to the vi family as a whole. Thanks for all the great answers.

自去年 12 月以来,我一直在我的日常职业生涯中使用 Vim(更准确地说是 MacVim).我不会回去:-)

I've been using Vim (more precisely, MacVim) in my day to day professional life since last December. I'm not going back :-)

祝所有精通 Vim 的人好运.

Good luck to everyone in their Vim mastery.

推荐答案

首先,你可能想要拿起 Vim;它具有非常优越的功能集以及 ​​vi 的所有功能.

First of all, you may want to pick up Vim; it has a vastly superior feature set along with everything vi has.

也就是说,学习需要纪律.如果你有一份工作并且负担不起生产力的损失(不会被解雇),我建议你参加一个周末项目,唯一目的是学习编辑.在您工作时保持其文档开放,并保持足够的纪律性,不要退缩.随着您了解更多、变得更有效率并开始依赖肌肉记忆,坚持下去就不会那么难了.

That said, it takes discipline to learn. If you have a job and can't afford the productivity hit (without getting fired), I'd suggest taking on a weekend project for the sole purpose of learning the editor. Keep its documentation open as you work, and be disciplined enough not to chicken out. As you learn more, become efficient and start relying on muscle memory, it won't be as hard to stick with it.

我使用 Vim 已经很长时间了,我什至没有考虑按什么键来搜索、导航或保存.我的手永远不会离开键盘.使用 Vim 是我在编程生涯中做出的最佳选择之一.

I've been using Vim for so long that I don't even think about what keys to press to search or navigate or save. And my hands never leave the keyboard. To use Vim is one of the best choices I've made in my programming career.

这篇关于强迫自己掌握 vi 的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆