Tagbar is a taglist alternative, more suitable for C + + use than taglist, functions can be differentiated by class, support folding display by class, display results are clear and concise, strongly recommended, as follows:http://www.vim.org/scripts/
If you set the auto indent set autoindent in. VIMRC, when you paste the code in insert mode, VIM automatically indents the code, resulting in a confusing format. The solution is as followsSetting the set paste option in. VIMRC does not cause
The use of Linux nature to learn a good text editor, I would recommend the use of Vim here, not that it must be better than other editors, for vim, we can find a lot of useful resources through Baidu (Google was the wall, Baidu's English search is
Under Windows is generally used sourceinsight, to good use, but I also play vim. Source Insight executes an external command that can define a custom key in the settings, Gvim of course it's also good to do, colon Plus! You can also add a shortcut
1. Compile (compile)
Meaning: Use the compiler (compile)Source codeGenerate a binary target file. It is. OBJ in window. It is a. o file in Linux.
Requirements: required by the compiler. The syntax is correct. The compiler detects
Horizontal cutting:: Split: Split XXX (file name to open): New (create a file in the new window) K: Jump to the window above (if it is capital K, the current window is raised to the top) J: Jump to the following window (similar to the above)Vertical
In the past two days, wxpython routines have to be written repeatedly every time files are created.CodeSo I thought about whether a template exists. I can directly insert it into. Google, which is easy to solve. For example, the following is the
Download
Wget http://www.vim.org/scripts/download_script.php? Src_id = 19574-O taglist.zip
Then decompress taglist.zip ~ /. Vim/directory
Use the following command in VIM to switch the taglist display.
: Tlisttoggle
Use Ctrl + W to
There is no doubt that Vim is profound and profound. Here we will share some tips about vim, which I discovered today, because I just switched to VIM soon, I am not familiar with many functions of VIM, but I still have some configuration items on
Document directory
1. Basic replacement
2. You can use # As the separator. The/in the middle will not be used as the separator.
3. Delete ^ m from the file
4. Other skills
Programs that use the Linux environment for development often compete
VIM + sourcenav
Software Version:Ubuntu10.04Linux version 2.6.32-42-genericVim-VI improved 7.2Sourcenav-6.0
Directory:
1. Introduction2. Install sourcenav3. Use Vim4. References
1. Introduction
Although Vim also has many resource/project management
H. Move a character to the left.J move a character downward with the cursorK move the cursor one character upL move the cursor one character to the rightW: Move a word to the back ~ You need to use this word before you can understand it.If you want
VIM + \ latex + tth + Python + metaweblog API blog writing strategyVIM + latex + tth + Python + metaweblog API write blog introduction mdyang Chapter 1
Preparations
First, install the latex environment. This article uses Ubuntu + Tex live and the
1. display the tab key
When the file contains the tab key, you cannot see it. To display it:
: Set list
Now the tab key is displayed as ^ I, and $ is displayed at the end of each line, so that you can find the spaces that may be ignored.One
% S/$/\ r/g% S/\ N // GIn Linux, "\ n" indicates a line break, and "\ r" indicates a carriage return.
% S .... the/g search replacement format can only ensure that you are replaced multiple times in a row, but once you insert a row terminator (\
In the past two days, we found that the editing function of VIM was really powerful. I learned a little about it, Vim, G ++ compiler, and GDB... In the cainiao stage, Daniel ignores it... Below are some of the configurations used for this dish:
$ VI
I often press the "Q" key or something, and the annoying "Recording" is displayed in
Below the editor. Sometimes I am crazy when I want to exit the editor.
Today, I am free to study what the recording is...It was used to record the buttons, and then
When writing a Python script this evening, you need to configure Vim again. Now that you have configured it, share it with us. We can make a backup here.
In the past, I seem to have written articles about Vim configuration, but this is not my
Some advanced editors will contain macro functions, which are certainly not missing in vim. It is very convenient to use Macros in vim:
: Qx starts to record macros and saves the results to register xQ exit record mode@ X macro commands for playing
Search and replace linux vim shortcut keys, linuxvim
Search
/Csdn: Find a string named csdn.
? Csdn looks up a string named csdn
N is an English letter, indicating to continue searching for the previous search.(Used with the above operations)
N
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