- Mastering Vim
- Ruslan Osipov
- 305字
- 2021-06-10 18:51:21
Setting up on Linux
Linux machines come with Vim installed, which is great news! However, it might be rather out of date, and Vim 8 introduces some much-needed optimizations. Pull up your Command Prompt, and run the following code:
$ git clone https://github.com/vim/vim.git
$ cd vim/src
$ make
$ sudo make install
$ sudo apt-get install make build-essential libncurses5-dev
libncursesw5-dev --fix-missing
This will make sure you’re on the latest major and minor patch of Vim. If you don’t care for being on the cutting edge, you can also update Vim using a package manager of your choice. Different Linux distributions use different package managers; the following list includes some common ones:

Do keep in mind that package manager repositories tend to lag behind from anywhere between a few months to a few years.
That’s it, you’re now ready to dive into the world of Vim! You can start the editor by typing the following command:
$ vim
On modern systems, you can also start Vim by invoking vi. However, it's not always the case: on older systems the two are different binaries. Vi is Vim’s predecessor (Vim stands for Vi improved). Today, it’s merely an alias pointing to Vim. There are no reasons to use Vi over Vim, unless, for some reason, you're unable to install the latter.
- Learn ECMAScript(Second Edition)
- DBA攻堅(jiān)指南:左手Oracle,右手MySQL
- Node.js 10實(shí)戰(zhàn)
- Learning Chef
- 深入淺出Prometheus:原理、應(yīng)用、源碼與拓展詳解
- Java游戲服務(wù)器架構(gòu)實(shí)戰(zhàn)
- 信息技術(shù)應(yīng)用基礎(chǔ)
- OpenCV 4計(jì)算機(jī)視覺項(xiàng)目實(shí)戰(zhàn)(原書第2版)
- Internet of Things with ESP8266
- MINECRAFT編程:使用Python語言玩轉(zhuǎn)我的世界
- Java圖像處理:基于OpenCV與JVM
- uni-app跨平臺(tái)開發(fā)與應(yīng)用從入門到實(shí)踐
- App Inventor少兒趣味編程動(dòng)手做
- JavaScript設(shè)計(jì)模式與開發(fā)實(shí)踐
- Hands-On Game Development Patterns with Unity 2019