Learn vim, make vim suitable for your own programming habits, and writing configuration files (.vimrc) is essential. But after struggling for a long time, I found that I couldn't find a systematic grammar tutorial. Many configuration methods were found and searched, and I didn't know why.
So now I need a vim configuration tutorial:
Official Best
The more detailed and comprehensive the better
Do you have any recommendations? 0_0 Or, can experts share their own learning methods for vim configuration?
This assumes that you are determined to study it carefully
vim
, rather than asking how to set a certain option to achieve the effect.1. You can directly use Daniel’s packaged distribution sp13 vim. (When I started researching
are too obvious. If you are interested, you can Refer to my enali's vimrc, it basically has comments, although I don't recommend reading mine)vim
的时候, 还没有这个, 现在有了也不想用, 毕竟vim
, this was not available. Now that I have it, I don’t want to use it. After all, the personalized features ofvim
的官方帮助是有中文最新的翻译版的, 如果想要直接在vim
中:h something
, 将vimcdoc添加到你的包管理工具, 我用Vundle
. 如果想查看PDF
版本的, 好作笔记, 访问vim中文文档, 如果你会翻墙的话. 特意给你准备的百度网盘链接, 密钥wxju
, 不过, 里面我已经作了不少笔记. 基本看前面300多页的用户指南就OK
2. The official help about:h something
directly in, add vimcdoc to your package management tool, I use
3. If you have nothing to do, you can take a look at vimawesome. Basically, the popular plug-ins are ranked first, but someone seems to be cheating on the website, and some rankings are inaccurate. You may install a lot of plug-ins, but I still hope you are vigilant and don’t be too careful. Rely on plug-ins, read more manuals, you will find that more thingsVundle
. If you want to view thePDF
version, it is easy to take notes and access vim Chinese documents, if you know how to circumvent the firewall. The Baidu network disk link is specially prepared for you, the keywxju
, however, I have taken a lot of notes in it. Basically, it isOK
to read the previous 300 pages of user guide.vim
本身提供了解决方式. 插件会拖慢vim
的启动速度和运行速度. 手册常温故, 常知新. 对于安装的插件, 最好也把它的帮助文档读一读, 别只是按README.md
itself provides solutions. Plug-ins will slow down
vimer
's startup speed and running speed. The manual is always familiar and always new. For installed plug-ins, it is best to Also read its help document, don’t just clickREADME.md
to configure it and it will work. Understand what a plug-in can and cannot do.4. You can take a look at vim practical tips. Amazon is currently the cheapest, and Douban Reading also has them. You will verify what I said in the previous article, and you will find more techniques that you have never thought of. For me, a 5-year veteran
vim
处理各种文本, 接下来看看vim
中文手册的300多页以后, 了解vimL
脚本语言的语法和插件的家法, 以及常用语言, 如python
和ruby
的编程接口. 可以自己写些小插件, 不断扩展你能用vim
That said, it also surprised me and taught me a lot.5. So far, you have reached the intermediate level and can use
Chinese manual to understand the syntax of thevim 7.4.x
to process various texts very fluently. Next, take a look at the more than 300 pages of thevimL
scripting language. and plug-in methods, as well as programming interfaces in common languages, such aspython
andruby
. You can write some small plug-ins yourself to continuously expand what you can do with 🎜.🎜 🎜6, a new neovim is under development. Different from the current one 🎜, it is a basic redesign and has a very promising future. 🎜