Due to years of Linux Operating habits, Vim's quick editing is strongly dependent. If you writeCodeI personally think this is a very inefficient method. Later, I went to the Windows environment for development. We have been using vs. Of course, VS
Snippetemu is recommended in shuimu vim, and MS is a tool similar to visual assist in VC ++.The download URL is as follows:
Http://www.vim.org/scripts/script.php? Script_id = 1, 1318You must download both snippy_plugin.vba and snippy_bundles.vba
Source: http://www.2cto.com/ OS /201110/107286.html
Some students prefer to use spaces for indentation. Therefore, manyCodeThe row capital contains consecutive and repeated spaces, some of which are four or even eight. Uncle can't bear it.
Previous blog 《Copy content in VIM to system clipboardThis section describes how to copy the content in VIM to the system clipboard. It can be seen that a copy requires many keys, so I want to define a shortcut key to simplify the operation. The
How to save the unnamed Vim in Linux
On the command terminal, enter the vim command to open the vim file. After editing the file, the system will remind E32: No file name to save the file. How to save the unnamed Vim? The following describes how:
I forgot to install the virtual machine version.
Install ubuntu-11.04-desktop-i386.
In the lab, the virtual machine does not go to the Internet for a long time and still fails. What is the net or bridge method?
The wireless network of the
1) insert function (that is, insert one or several characters in a column of several rows)Step 1: move the cursor to the specified position of the row to be inserted.Step 2: press Ctrl + V to enter the visual block mode.Step 3: move the cursor to
Via: Kevin Watters's blogTranslation: xguru
Original StatusI have watched a violin player play with great passion. I have this idea: Maybe I have invested almost the same number of brain cells in the text editor as I have played a favorite
% Jump to matching brackets
[[Jump to the beginning of the code block (but the '{' in the code block must be a separate line)
] Jump to the end of the Code
GD jump to the definition of a local variable
''Jump to the position where the cursor was
The official version of vim7.3 has been released. The Vim version installed with APT-Get In ubuntu 10.10 Is 7.2. If you want to experience the new feature of 7.3, you can only compile it by yourself. The Installation notes are as follows:
1. Install
1. Configuration File LocationUnder the/etc/directory, there is a file named vimrc, which is a public Vim configuration file in the system and is valid for all users. In each user's home directory, you can create a private configuration file named ".
1. Install gvimGvim72.exe address: ftp://ftp.vim.org/pub/vim/pc/gvim72.exe.
2. Install gvim Chinese help documentVimcdoc-1.7.0-setup.exe address http://prdownloads.sourceforge.net/vimcdoc/vimcdoc-1.7.0-setup.exe? Download
3. Garbled text on the menu
When you use Vim to edit a terminal, by default, the editing interface does not display line numbers, syntax High Brightness Display, smart indentation, and other functions.
To better work in Vim, You need to manually set the configuration file :~ /.
Source: http://blog.sina.com.cn/s/blog_40cccb2f0100nwi3.html
SEARCH command:
To search up from the current cursor position, run the following command:/Pattern enterWhere, pattern indicates the specific character sequence to be searched.To search
Vim's learning curve is quite large (see the learning curve of various text editors). Therefore, if you see a lot of VIM command classification at the beginning, you will lose interest in this editor. The following article is translated from
In vim, the purpose is to quickly locate and improve efficiency.
1. Mark the command
Use help mark in VIM command line mode to view the help manual of the Mark command
2. Mark
Use 26 tokens (A to Z) in the text ). These tags are invisible, but
Reprinted please indicate this blog from "LIU Da csdn blog": http://blog.csdn.net/poechant
1. Delete)
DdDelete the row where the cursor is located
NDDDelete n rows from the row where the cursor is located and down
D1gDelete all rows from the row
Reprinted please indicate this blog from "LIU Da csdn blog": http://blog.csdn.net/poechant
1. Multi-file editing mode
(1) The argument list mode contains multiple file path parameters when opening the vim editor.
(2) buffer list mode: after
VI/Vim usage
Document operationsVI/Vim basic usageThis article introduces the basic usage of VI (Vim), but it is enough for common users!The VI editor is a standard editor for all UNIX and Linux systems. It is not inferior to any of the latest text
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.