I recently found in the process of using Vim to edit files, the open file cursor always stay at the beginning of the file, particularly troublesome, especially when the file is relatively large.
So I want to modify the Vim profile so that Vim
First of all, thanks to the online Daniel:
http://www.vimer.cn/
And this brother: http://www.oschina.net/code/snippet_103341_9644
How can I have Ubuntu without vim?
Then the first tease than the now Windows installed Gvim ...
Sure enough, the
Vim Editor VI improvedVi:visual interfaceVim +/pattern F1 After opening the file, the cursor is at the beginning of the first line that is matched to PATTERN, and the N key jumps to the next, that is, the regular match is supportedVim +n F1 Open the
Say in front--a byte of Vim is the best book I've ever seen about vim, someone who wants to learn about the powerful vim, or someone who is already using VIM and intends to learn more about it, I think I should look at this, the content is refined
For vim to better support Python to write code, modify the tab default 4 spaces There are two ways to set up:1. VIM/ETC/VIMRC
1
setts=4
2
setsw=4
2. VIM/ETC/VIMRC
1
Multi-line Comments:CTRL + V enters column edit mode, moves the cursor down or up, marks the beginning of the line that needs comment, then presses the uppercase I, then inserts the comment, such as "#", and then presses ESC, which is all
They are multi-mode editor, the difference is that Vim is the upgrade version of VI, it is not only compatible with all VI directives, but also some new features inside.These advantages of vim are mainly reflected in the following aspects:1.
collect the usage of simple VIM split screen display function:Split screen start vimvim-on file1 file2 ... Use the lowercase o parameter to split the screen up and down.vim-on file1 file2 ... Use the uppercase O parameter to split the screen left
Transferred from: http://www.cnblogs.com/emanlee/archive/2011/11/10/2243930.htmlVi/vim Basic Use MethodThe VI Editor is the standard editor for all UNIX and Linux systems, and its power is not inferior to any of the latest text editors, here is
Multi-line Comments:1. Enter command-line mode, press CTRL + V to enter Visual block mode, then press J, or K to select multiple lines to mark the lines that need comment2. Press the capital letter I, then insert the comment, for example//3. Press
Linux programming has been criticized a point is: Not a good IDE, a good IDE is how important ah, estimated that many people are stuck on this threshold, "工欲善其事, its prerequisite" Well, I teach you today to convert vim into a simple IDE, said it
One: Install Chinese help manual 1. Open a terminal2. Download vimcdoc-1.5.0.tar.gz: http://nchc.dl.sourceforge.net/sourceforge/vimcdoc/vimcdoc-1.5.0.tar.gz3, decompression TAR-ZXVF vimcdoc-1.5.0.tar.gz4. Enter the folder to unpack the packageCD
You can use the: s command to replace a string in Vi/vim. The command has a number of different details of how to use the method, you can implement complex functions, record several here, convenient later query.: s/vivian/sky/replaces the current
The command for case conversion in Vim isgu or guThe explanation of the image is that small u means lowercase; big u means capitalization.All that is left is the qualification of the two commands (the line, the letter, the word), etc. whole article
This article reproduced to http://blog.csdn.net/xdrt81y/article/details/24062117 Vim command advanced some of the editor, will contain the macro function, Vim is certainly not missing, the use of macros in Vim is very convenient:: QX starts
The Vim plugin is a. Vim script file that defines functions, mappings, grammar rules, and commands that can be used to manipulate windows, buffers, and rows. Typically a plug-in contains command definitions and event hooks. When using Python to
Recently found Python is a good language, it is worth learning, first configured under the environment, so that VIM has keyword complement function, steps such as the following, I this is Fedora, other distributions similar$ su********# yum Install
===============================Talk not much, first to see the effect===============================================================Use Vim to create Ides for C language developersRecommended use of Gvim================================# To install
Talk Vim together (15th back: ctags of Vim plug-in), vimctags
Hello, everyone. You are welcome to join in to hear the story of Zhang huiti: Vim. The configuration in the Vim plug-in was introduced in the last time.
Set files. In this case, let's
Talk Vim together (17th back: csscope of Vim plug-in), vimcscope
Hello, everyone. You are welcome to join in to hear the story of Zhang huiti: Vim. We introduced the ctags in the Vim plug-in last time.
In this case, let's continue with the Vim plug-
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