Ubuntu 14.04 + vim + ctags + taglist installation and use
install Ctags, and execute the following command:
sudo apt-get install Exuberant-ctagsNote: You can also use the source code installation
to install TagList, follow these steps:
1. Download
1, continuous input the same characters
For example, enter 10 consecutive #: + + i + #
2, exchange two consecutive letter position
For example, swap the first and second letters in the RPINTLN (change to println), then move the cursor to the
This article in the author's personal blog, blog Park, csdn synchronous publication, if reproduced, please indicate the author and the original link. CSDN Link: http://blog.csdn.net/miracle_wong/article/details/25039889
Recent learning artifact Vim,
Using Vim can be useful for some powerful functions. This section describes its advanced features.
First, the abbreviationAbbreviations for words: IAB AD AdvertisementWhen you type AD, the advertisement is automatically completeAbbreviations
I accidentally saw notepad ++ on the Internet. After playing, it's okay. Others by the wayProgram/Text Editor: ultraedit/sourceinsight/Vim/Emacs/VI. Pretty good!
Source insight: http://baike.baidu.com/view/1539152.html? WTP = TT
VIM:
In the past two days, I want to write a large amount of code in Linux. I heard that VIM + csinsight can implement functions similar to sourceinsight, and it took me half a day to learn how to use csinsight.
1. Prepare VimVim -- version | GRPECscope
Linux Vim has an error in hexadecimal format. When viewing and editing a binary file, you must add the-B parameter.
Today, you need to check the hexadecimal file. When debugging, you find that something is wrong. After comparison, we find that Vim
FreeBSD Security Vim
FreeBSD Security Vim
[FreeBSD Vim]
1. CD/usr/ports/Editors/Vim
2. Make-dwithout_x11 install clean # Vim
3. CD/root
4. VI. vimrc # Add preference settings
5. Note! Do not import the Chinese interpretation of the following
In Linux, we cannot easily view the code. We don't know how to use many tools. Below is a summary of my VIM + cssag + ctags environment:
1. Vim
(1) Check whether Vim supports csflood.
# Vim -- version | grep cscope
+ Cryptv + cs1_+ cursorshape +
When Vim is used, Chinese characters are garbled. In this case, we can modify the vimrc file to solve the problem!
First, you need to find out where vimrc is located. In general, in Linux
Linux:/usr/share/Vim/vimrc in Windows, it should be in the
As the editor God, Vim's key ing function is very practical. When writing code, you often need to enter various parentheses, such as the parentheses of function parameters and the brackets under the array, the braces of the function body. To avoid
Learn Vim full graph explanation step by step (highly recommended)
You can learn Vim step by step based on the solution example-the following comments are drunk and explained by yourself based
Vim can be automatically completed based on the dictionary of the user's meaning. 1) dictionary: Vim uses a series of words in a text file. If it is written in the same line, vim will automatically split according to the delimiter in iskeyword. If
Common Vim commands
Original article addressHttp://dozb.bokee.com/4767885.html
Access the VI commandVI filename: open or create a file and place the cursor at the beginning of the first lineVi + N filename: open the file and place the cursor at
Problems with vim arrow keys in Ubuntu
After Ubuntu is installed, the direction keys in VI are displayed with letters.In the $ home/WYC/. vimrc file (a new one is created if no one is available), add the following sentence:Set nocompatible
2. Add
This article is well organized on the Internet, and its form is as follows:
Formal expression
Description and Examples
Unmatched strings
//
String containing the letter "A", such as "AB", "BAC", and "CBA"
"Xyz"
Emacs has been used intermittently for several years, but still feels unskillful. It mainly involves Automatic completion and automatic prompt, and it feels too complicated in Emacs. Try Vim today to see if it is convenient.
After gvim is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service