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
Commonly used compilers in Linux include VI (UBUNTU), VIM (VI improved), and Emacs. I prefer the vim editor in Ubuntu. I am not familiar with the emacs editor. I have read the two source code writing editors. Currently, I think Vim is easier to
I am in ~ /. The color topic used in vimrc is desert. Vim, but the # include and other pre-processed characters on my computer are always dazzling and cannot be clearly seen. So I want to modify desert. Vim. The steps are as follows:
1. Put desert.
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
Sometimes when a file is uploaded to a Linux server, only one line is displayed after it is opened with vim, and "^ m" is displayed in the place where the original file is wrapped. There are many solutions to this problem, here I will introduce a
From: http://www.pizn.net/19-03-2011/vim-in-firefox/
After programming, you may get used to manipulating any one-key on the keyboard to meet our needs. For example, you can use ESC to switch the command mode and insert mode. When I want to become
1. Window/Tab
Switch directory tree: Ctrl + O or nerdtreetoggle
: B number jumps to the upper Tab
Reload Directory: nerdtree
Multi-Window Splitting:
(Reference: http://hi.baidu.com/dtzw/blog/item/64a6f3f2fc10721eb07ec590.html)
: New is a
(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
Author: laruence ()
Address: http://www.laruence.com/2010/08/18/1718.html
Reprinted please indicate the source
Let's talk about it first. Vim has released 7.3 ..
When looking at the vim plug-in, I found an interesting application (not a
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
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.