"description": The following article is excerpted from the network, if there is infringement please contact me.
Linux System under the source reading tool Ctags vim
1. Install Ctags
To http://ctags.sourceforge.net download source code, after
Installation method is very simple, first download the compressed file, after decompression will be the plugin directory under the Nerd_tree.vim copy ~/.vim/plugin and Doc directory nerd_tree.txt copy to ~/.vim/doc. ~ Represents the directory of the
VI Editor
VI is a screen editor in Unix and Unix-like environments that can be used to create files. VI has two modes of operation: Command mode and text input mode. Start VI need to enter VI, press [SPACEBAR] key and enter the filename after the
The font color that is commented out in VI defaults to blue and cannot be seen clearly, you can change the color configuration by setting the. vimrc file in the user's root directory.
Use the Hi command to modify the color of the annotation,
Command HistoryCommands with: and/begin with a history, you can first type: or/Then press the up and down arrows to select a history command.start VimEnter the following command in the Command line windowVim starts vim directlyVim filename opens vim
NAMEVim-vi improved, a programmers text editor #vi的改进, a program1. How to move the cursor
Ctrl+f
The screen moves down one page
0 (number 0)
Move to the beginning of the line
$
Move to end
I used to use vim to edit the Python code, the folding function is no problemLater, when I edited the Go code, I found that I saved, collapsed all disappeared , I am puzzled, I infer that it is related to the plugin I use, because I save the time
Before you beginThe human brain's processing of words is flat, so we browse articles, find materials, or refactor code, either horizontally or vertically, or use search to make text as a whole. While editing text, writing code is not horizontal or
About VIVI is the abbreviation of "Visual interface", its status on Linux as if the edit program on DOS. It can perform many text operations, such as output, delete, find, replace, block operations, and so on, and users can customize them according
Create/Open a text fileVim filename (if the file does not exist, a temporary file is created in memory and will be transferred to the hard disk after saving)Ii. Three modes of vim2.1 Command modeThe command mode is the default open mode.2.1.1 Double-
This article reproduced to http://blog.csdn.net/xdrt81y/article/details/24062117 Vim command advanced some of the editor, will contain the macro function, Vim is certainly not missing, the use of macros in Vim is very convenient:: QX starts
Learn vim always see each road master in the implementation of their own plug-in, see my mouth water, also want to write the vim plug-in, so I also open dry. Start with the first script and start controlling your vim.The first thing we want to ask
Today began to learn Linux, learning process I will be here to write down some study notes, first from the basics of learning, everything starts difficult, so I will insist! There are many versions of Linux today, and Linux is actually a derivative
VI and VIM have always been talked about, in the end what makes them so popular?VI is divided into 3 modes: General mode, edit mode, command line mode.(1) General mode:After entering VI, the default is the general mode.Useful: Easily move cursor,
1. W [file name] is equivalent to saving
2. R [file name]: add the content of [file name] to the end of the line with the cursor
3. N1, N2 W [filename] Save the content from N1 to N2 as [filename]
4. 50dd delete 50 rows of 5X Delete 5 Characters
5.
Finally, the configuration was not successful for the past two days.
Software required:
Ctags
Taglist
1, ctags.
1) Description:
I will not demonstrate this. My redhat5.5 itself has ctags.
2) Verify that ctags has been installed:
Input on the
Common basic commands in Linux-ls favoritesThese are frequently used and powerful commands in Linux, but although you may be using these commands every day, I believe you do not fully understand these commands. If so, then you will surely gain
Vim-copy/paste
1. Vim internal clipboard
(1) use the default Clipboard ""Y → copy. You must specify a range, for example, YW.Y → equivalent to YY. Copy the current row.P → paste it behind the cursor.P → paste in front of the cursor.(2) Specify the
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