How to build an IDE for Linux C learning-Vim (III), IDE interface by lazy wood
How to convert Vim into an IDE programming environment (image and text) by Wu gen
Build Vim into a real ide by vimerProgramWorld
For more details about VIM + cscope:
There may still be a lot of people who don't want to use VI/Vim in CLI to write things. However, when you get used to it, its efficiency is immeasurable. The figure below is clear at a glance. From now on, learning is no longer difficult.
Note:
Vim has been using the configuration file for more than three years and has been tossing for a while. Recently, I found that an ivim configuration file is not bad. The specific installation method is as follows:
First install exuberant catgs:
Sudo
Vim file1 file2 file3
: Next next file: previous file
: ARGs display file list
: Last last file, first file
: 2next skip two files
Return to the previous file, CTRL + ^
Copy the multi-Stop content to different buffers. Specify the
"F5 compile and run CProgram, F6 compile and run the C ++ program, F7 run the python program, and F10 GDB debug"Note the following:CodeIn Windows, an error is reported./must be removed ./
" compile and run CMap : Call compilerungcc () Func!
I am used to the IDE tools in windows, and I always feel that some of them are missing.
CodeRather than your own, it is brought by IDE.
On the other hand, in the process of cultivation, you always need to master one of the other editing tools.
Syntax: [ADDR] S/source string/destination string/[Option]
Global replacement command: % S/source string/destination string/g
[ADDR] indicates the search range. If it is omitted, it indicates the current row.
For example, "1st"
-- Kong Jianjun (kongove. cn)2008.11.15
Code Reading tools
For those who are learning the Linux kernel, reading the source code is particularly important.Because all design ideas and internal mechanisms are
It is implemented in the form of code, and
Caps LockFor us, it is basically redundant, and the position on the keyboard is unreasonable. When we accidentally pressCaps LockAnd then an error occurs.ESCThe most frequently used button in vim.Caps LockReplaceESCIt's really good, and you don't
Let Vim use the Chinese help document
Finishing reprint, original address: http://blog.openrays.org/blog.php? Do = showone & tid = 282
Vim Chinese Document home page is: http://vimcdoc.sourceforge.net /. It translates the Help File of VIM
Multi-File Operations
Vim supports multi-file operations, including two methods:
1. open multiple files at the same time. In normal mode, enter:
: E → open a new file. The current file must be saved.: Buffers → list all open files in current vim.:
Add the following content to vimrc and then press: PrettyxmlYou can automatically format the XML. However, xmllint must be in your path variable. If you do not have one, please install the libxml2 package.
Function! Doprettyxml ()"Save The
This version is applicable to Windows, Linux, and cygwin environments. The target audience is Vim beginners.
I wish you a pleasant start to release this version before the end of the November. ^-^
See the following link for the colored
[Translation]
"Search for declaration of subroutine/function under cursor
"Find the subroutine under the cursor/Function Declaration
: Nmap gx yiw/^/ (sub/ function/)/S/+ "
[Annotation]
: Help: NMAP
: Help IW
: Help
Most of the content in
Vim, as one of the best text editors, uses Vim to compile documents and write code. Every time you learn a new feature of VIM, it will greatly improve productivity. Some people have been using Vim for decades and have not fully mastered the
Install vundle
Software environment: win7 32bit gvim1. Install git. In addition to the PATH environment variable settings, other options are default:2. Add curl. CMD at c: \ Program Files \ git \ cmd. Assume that git is installed in c: \ Program
1Install vim
Ubuntu has only pre-installed VI (Vim-tiny), but has not installed Vim. It can only be installed manually. Vim & gvim
Sudo apt-get install vim-gnome
2, Configuration file locationIn the Directory/Etc/Vim/Below, there isVimrcFile,
I had a headache with vim coding and searched for it.The following code variables are used to set VIM:
Encoding: the encoding used by VIM to process data fileencoding: the encoding used for File Reading and Writing (only one value can be added)
: S/vivian/sky/Replace the first vivian in the current row with sky: S/vivian/sky/g replace all vivian in the current row with sky: N, $ s/vivian/sky/Replace the first vivian from row n to row n as sky: N, $ s/vivian/sky/g replace all vivian values
When we use vim in windows, we often choose "Edit with Vim" from the context menu to open the file. However, files opened in this way will be opened in the new window, rather than in a new tab like Ultra Edit.
VIM 7.0 already supports tabs. How can
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