Vundle This plugin is mainly used for plug-in management. It can be based on your configured plug-in address, automatically download, update, delete plug-ins, very usefulAddress Https://github.com/gmarik/vundleThen you wear a bundle directory under.
Vim's Column editing operations Delete Column 1. Position the cursor where you want to operate. 2.ctrl+v into "visual block" mode, select how many rows this column operates. 3.d deleted. Insert Column insert operation knowledge slightly different.
Watch video tutorial: Brother even Linux cloud computing Video tutorial 5.1 text editor Vim-5.2Insert commandA: Insert the word specifier in the cursor position;A: Insert at the end of the line where the cursor is located;I: Insert the word match
Ctags (Generate tag files for source code) is a handy code reading tool under Vim. Although Ctags can also support other editors, it officially supports only vim. And Ctags is already installed by default in Vim, which can help programmers navigate
Vim is a very powerful editor, especially for the programmer population.Switching efficiency is often not high in various editors, and various features are easily confused. Vim is a good choice if you are only allowed to pick an editor.The direct
Today, I studied the scripting knowledge of vim and tried to write a simple script. Of course, the script is simple and the method used is clumsy. However, this is only the beginning, and later with a deep understanding of the VIM syntax, will
.: The point command is the most important command, the function is to repeat the previous command
Numbers: Adding numbers to a command can improve efficiency, such as 100j moving down 100 rows, 100dd deleting 100 rows
Cursor Movement:
01.Gtags func: View definitions at02.gtags-r func: View references at03.gtags-s text: View tags not defined by the database04.copen: Open quick fix display window05.cclose: Close the Quick fix display window06.cn: Next item07.CP: Previous08.cl: List
In most cases, the TAB key width is set to 4 spaces, this can be based on theirCode style, but when you submit code for a different language, Pythonand C when there is a difference. C Words are generally tab-key indentation, while Python commits the
Repeat command.: This command can repeat the previous operation. For example, you perform a DD operation, and then. It will delete the forwardThere is also a single operation between the changes from Insert mode to exit Insert mode. For example,
Turn from: http://blog.csdn.net/ceven2010/article/details/7406341 One, move the cursor1, left shift H, right shift L, Move down J, move up K2. Page Down CTRL + F, PAGE up Ctrl + B3. Turn down half a page Ctrl + D, turn up half a page Ctrl + U4, move
Vim configuration file storage path: ~/.VIMRCThe file that starts with the dot (.), which is not displayed by default, requires the LS-A option. syntax onset nobackupset noswapfileset hlsearchset numberset rulerset expandtabset TabStop =4 set
The-nerd-tree Https://github.com/vim-scripts/The-NERD-treeIn Vim can also have a directory tree, if you want to open the current folder under the other files can also be very convenient to find. Here are some common shortcut keys:Q Close the Display
Molokai Color Scheme for VimI prefer Molokai ' s dark grey background. Installation with pathogen
CD ~/.vim/bundle && \git clone https://github.com/tomasr/molokai.git
Now Molokai is installed. Add the following to your VIMRC.
(1) Press ESC, then 123GG jumps to 123 lines (2) Input: line number jump to the line you want! ###############################Add, delete comments:Note: Ctrl + V enters column-editing mode, moves the cursor down or up, marks the beginning of the
When writing a program, it is often necessary to start writing a brief introduction to the program and the author's information, as follows:This kind of information, in addition to the file name and modification time may often change, other basic
0x01First download the plugin in http://www.vim.org/scripts/script.php?script_id=1658 (may need to ladder, also can be in https://github.com/scrooloose/nerdtree. Download)0x02Installation is simple simply unzip the zip package to move the required
Vim is the enhanced version of VI, one of the important philosophical ideas of Linux is all files, and the majority of configuration files on the system are saved with a text file, so mastering a powerful, easy-to-use text editor for Linux system
Using vim to open a file, Swap file ". nginx. conf. swp" already exists always appears!Fault: When you use vim to edit the nginx configuration file, the swp file always exists: When you use vim to edit a file, a swp file is generated. FILENAME. swp
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