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
Currently, gvim can only be used in windows.Code. Most of the time, we want the editor to be opened to maximize, so that the code can be displayed as much as possible.
Here is a Vim extension (not a plug-in). First download the compressed package
Copying the same text is particularly effective. In Windows, we are used to choosing text with the mouse.
In vim, you don't have to worry about it. You can even use the visual mode for operations, but skip this step.
In this section, I will talk
ArticleDirectory
Basic
Advanced
We have been using Vim intermittently for a year, and there will always be a few commands, with extremely low efficiency.
In the past few weeks, windows was replaced with Linux mint, which is
I have also learned Vim before, but I didn't use it any more. I forgot some things. Now I want to refresh vim and make up my mind to use it as the main editor in the future! The following are some of the materials I have searched for. On the one
Vim is a common text editing tool in Linux and UNIX.CodeAnd read code frequently.
But when Vim manages code projects, it is not convenient to use ide integrated development tools. Now we provide a Vim plug-in project that allows you to perform
From: http://blog.sina.com.cn/s/blog_498a6eeb0100v3km.html
Add the following in _ vimrc:
"Format XMLFunctionxml ()Set filetype = xml: % S/> \ r press ENTER : Normal Gg = G EndfunctionMap XML: callxml ()
1.0 0
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
Automatic Configuration using scripts
Or this convenient, http://code.google.com/p/vimide/, 1 minute to get .... Recommended...
Http://code.google.com/p/vimide/
Self-asynchronous Configuration
Although it is slow, you can understand the
ArticleDirectory
Search options
Cut/copy/paste
KH l left and rightJ lower^ Move to the first non-space character in the rowW. Move a word forward and treat it as a word.W. Move a word forward without using symbols or punctuation
(After vimtuor, continue to take the learning notes. Next, follow the help document to complete the exercises and integrate GDB)
Vimrc configurations of Vim are mainly used in C/C ++."""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""""
I have been developing in Linux recently.ProgramAlthough it is a running virtual machine, the encoding is still in windows and then compiled in Linux. I found this efficiency is relatively low. Why not encode it in Linux? Haha, the reason is that I
If has ("Syntax ")Syntax onEndif
"If using a dark background within the editing area and syntax highlighting"Turn on this option as well"Set background = dark
"Uncomment the following to have Vim jump to the last position when"Reopening a
From: http://www.ibm.com/developerworks/cn/linux/l-tip-vim2/index.html
2.1. gzip (supported by compressed files)
Author:Bram moolenar
Website script No:None (included in the standard release of VIM)
Installation instructions:None
Function
Background:
By default, the tab of VIM is indented with 8 spaces. Because I used to use 4 spaces, set tabstop = 4 every time I enter vim, which is too troublesome. So I searched for any solutions. You can modify the vim configuration file once and
Grep does not support regular expression matching.
Egrep supports regular expression matching, but the extension does not.
Find Vim /? : Regular Expression matching is supported, but not extended.
Common examples:
Grep XXX 123.logBasic
Original article: Vim tips-quick move
1. move by Screen(1) The most common commands are as follows:CTRL + f // move the screen forward (to the greater direction of the row number). If you want F to represent forwardCTRL + B // move the screen
1. Insert text
I, of course, is commonly used. But if I is used only, it is too TB. Remember I, O, and,Of course, it is case sensitive. It generally distinguishes the concepts before and after. This is the principle that Vim is designing various
I. Overview
First of all, VIM + cssag + ctags are really powerful. I feel very ashamed of it for me who have been playing in Linux for nearly two years. I have rarely used Vim before, and have never touched cssag and ctags. I also use gedit and find
Document directory
Basic
Advanced
In the previous section, we talked about the movement in VIM. Now that it is sufficient to be able to work in the screen and between the optical standard.
Now let's talk about the INSERT command.
I don't know
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