vim takes you to pretend to force you to fly (1)

Foreword: It has been a long time since we escaped from windows, especially in the current era of android, we have no reason not to choose ubuntu as the first choice for compiling and developing android. In fact, the operating system is just a tool we use,

Whether it's windows or linux, it's really good if you use it well. But good development tools allow us to do more with less.

 

  Let’s talk about my road to programming development tools first. Source insight3.5 is a must-have tool for just working, and it is simply an artifact of code reading and development. But there is a disadvantage that it is very inconvenient to debug and compile. VS programming is rich and handsome, programming and debugging are very easy to use, and the interface is quite friendly. Basically, Windows program development, compilation and debugging are all-inclusive without dead ends. However, most of our embedded development is under linux. Although this tall tool is greedy, basically we can only think about advanced functions. Let's wash and sleep.

   

  As the saying goes, if you want to do good work, you must first sharpen your tools, so let's learn the development tools under linux together! At present, I am using ubuntu, but basically the linux systems are similar, and the obvious sign is that they all have Terminal.

Based on command line operation, vim is an essential tool for linux. After talking for a long time, let's enter the theme, build and use the vim programming environment, read, develop and debug large projects.

First, let's talk about the build:

sudo apt-get install vim exuberant-ctags cscope global; (you can execute it for ubuntu14.04 and above, please do the following first for the following versions)

sudoadd-apt-repository ppa:fcwu-tw/ppa;

sudoapt-get update; 

sudo apt-get install vim;


  If you are not familiar with the above tools, please google, bing, baidu. With these tools, we can only do simple operations, and reading and developing projects is far from enough. So we need to configure vim, add some vim plugins, there are two files .vimrc .vimrc.bundles The script I configured needs to be downloaded for the first time, please execute: BundleInstall installation script, after downloading, you can use its powerful functions. You can first look at the Chinese comments in the script to understand the shortcut keys we use. In the next article, I will introduce the shortcut keys for commonly used functions and the development of large-scale projects. Let you be a real keyboard party and get rid of mouse hands.

 
Get blog update reminders and more technical information sharing at the first time, welcome to pay attention to the personal WeChat public platform: Programmer Interactive Alliance  1. Get original technical articles in
more than ten fields in the industry at the first time 
Ask questions, get replies as soon as possible, and answer them patiently. 
3. You can become good friends with the author of the original article and expand your network resources. 
Scan the QR code below or search the WeChat account coder_online to follow, we can communicate online.

 

 

 

Please see the script file http://blog.csdn.net/yistn/article/details/38637639

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326393190&siteId=291194637