In the previous section (http://blog.csdn.net/lu_embedded/article/details/76732965) we have downloaded and installed some plug-ins through Vundle, some of which can be used directly, some need to be configured, Some need to compile, below we Yi
several commands in the [VIM] Visual mode
Vim's visual mode allows us to select a text area and manipulate it. Vim has three visual modes for manipulating character text, line text, and block text, respectively. in Visual mode, many common-mode
1, Vim C/c++/python automatic completion, syntax highlighting is the eternal topic. The following will help you.
Github Classic Vim finishing. These links are simple (fool-type) installations. But it's very useful.You can choose to install
Vim Browse Directory
Use the Vim tool for several years, previously thought that vim can only be followed by file name, but today accidentally found another powerful vim tool, that is, vim can open the directory, as described below.
Figure 1
http://denven.blog.hexun.com/11727196_d.html using NETRW plugin: NETRW supports reading and writing files across networks.
Commonly used:
Gvim ftp://username@hostname[:p Ort]/full_directory/filename
Vim ftp://username@hostname[:p Ort]/full_directory/
VIM open, cursor Movement, edit mode, normal mode, command mode toggle command
1. Cursor movement in the screen text can use both the keyboard and the left and right arrow keys, you can also use the HJKL letter key.
H (Shift left) J (downlink) K
Source: http://www.cnblogs.com/taskiller/archive/2012/08/14/2637689.html
I. Introduction of Pathogen
Typically, the Vim plugin is installed, usually all the plug-ins and related DOC files are installed in a folder, such as the plug-in all installed
1. Display TAB key
You can't see the TAB key in the file. To show 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 out where whitespace characters may be ignored by you.One drawback
Vim editor and Shell command script vim text editorThe Vim text editor features three modes: Command mode, last line mode, and edit mode.Command mode: Control cursor movement, can delete, copy, paste and find text.Input mode: Normal text
VI (VIM) is a very common editor on Linux, and many Linux distributions have VI (VIM) installed by default. VI (VIM) commands are numerous but if used flexibly it will greatly improve efficiency. VI is the abbreviation for "Visual Interface", Vim is
Cuda C extends the C language, the subject or the C language syntax, so a simple method is to create ~ /. Add the vimrc file to the file:
AU bufnewfile, bufread *. Cu set Ft = C
To move the tab key with four spaces instead of eight, you can ~
Vim User Guide in Ubuntu
ESC: This is one of the omnipotent function keys in Vim. Basically, pressing this key at any time can return the normal state of vim.
I: In normal state, you can press I to enter the "insert" Edit state. At this time,
Writing code is naturally indispensable to text editing tool Vim. Automatic indentation uses tabs. Even if you delete the tabs and change them to four spaces, the tabs will continue to be used in the next level of indentation, this causes a mix of
2011-03-27 wcdj
Let's take a look at a simple tutorial.
Fix indentation and tabs in VIM
Thanks to the folks in # Vim on freenode, here's a quick tutorial onHow to fix the indentation and tabsIn an XML file from within Vim...
First find out what
Web development under Vim html css js plug-in HTML, CSS, and JavaScript plug-in for web development under Vim
Html
Download html.zip
Decompress html.zip and copy all the files to the C: \ Program Files \ Vim \ vimfiles directory.First, you should
-- Help ---------------------------------------------------------------
\ HM show manual for word under the cursor (n, I)\ HP show plugin help (n, I)
-- Comments -----------------------------------------------------------
\ Cl end-of-line comment (n,
The Code pasted into Vim from other editors is often messy due to abnormal indentation.Format full text: Gg = GAuto indent current row: =Format the next 10 rows of the current cursor: 10 =Format the selected row: V (select from top to bottom)
1. move cursor: H: left L: Right K: Top J: bottom 2. delete a row: DD 3. delete A character: x4. delete a line break: j5. create a new line under the cursor and enter the insert mode: O (lowercase letter O) 6. create a new row above the cursor and
Vim(VI improved) is a text editor similar to VI, which adds many new features and functions based on VI. Vim has become a Linux/Unix environment with its powerful functions and customization capabilities.
Open SourceOne of the most important editors
Vim Chinese tutor
Vim is a powerful editor with many commands. This document will not be detailed in this tutorial. The purpose of this tutorial is to describe some necessary basic commands. With these commands, you can easily use Vim as a universal
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