Vim is an excellent open source text editor, is Linux/unix user very commonly used text Editing tool, after 1 years 5 days of waiting, we ushered in Vim 7.1 stable version. The revised version fixes a security issue and some causes crash errors, no
Command History
Commands with: and/start with history, you can first type: or/And then press the up and down arrows to select a history command. start Vim
Enter the following command in the Command line window
Vim starts vim directly
Vim filename
Http://www.sudu.cn/info/html/edu/20060102/294929.html
In Vim used for a while ctags, is indeed a drawback. Ctags can only find where the function is defined based on the call to the function, and you cannot find where the function is defined by
This is the penultimate article, the new blog is about to be completed
Toss and tidy up the next, own vim configuration, managed GitHub, support one-click Deployment
have plugin description, screenshots and animated GIF display
Https://github.com/
Executing shell commands in the VIM editor
The 11th Chapter VI and VIM text editors for Linux commands, editors, and shell programming, this chapter will briefly describe how to edit text using the VI and VIM editors. This section describes the
Original address: https://www.cnblogs.com/tianyajuanke/archive/2012/04/25/2470002.html1, Vim ~/.VIMRC Enter the configuration fileIf you don't know where the VIMRC file is, you can use the: Scriptnames to viewSet Nu #行号Set tabstop=4 #一个tab为4个空格长度Set
In command mode, double-press two capital Letter Z, if the currently edited file has been modified, then VI save the file and exit, return to the shell; if the currently edited file has not been modified, VI exits directly and returns to the
Original address: http://blog.chinaunix.net/uid-22548820-id-3477464.html1. Use the VIM comparison mode to open two files:vim-d file1 file2OrVimdiff file1 file22. If you have already opened the file File1, then open another file file2 to compare::
Most commonly used:X Delete the following character x delete the previous character Delete 3 characters is 3xDD: Delete one row D Delete to end of lineJ: Remove line breaks to make the next line come up. NJ: Connecting the following n rowsU: Undo
ModelineVim's modeline allows you to set file-level settings for each file, which overrides the settings in the current user's VIMRC. When Vim opens a file containing a vim modeline comment line, it automatically reads the parameter configuration
Turn: (http://www.cnblogs.com/lijia0511/p/5644566.html)The learning curve of Vim is quite large (see the learning curve of various text editors), so if you start to see a bunch of Vim's command classifications, you're bound to lose interest in the
When you are programming with VIM, you often need to indent your code to increase the readability of your programs and to maintain your code later.The purpose of indentation can be achieved in a number of ways:1) Command mode2) Visual mode2) input
In Linux, the main editor is VI or VIM, this article around vim to do a simple explanation: Linux default self-contained VI (VIM) editor, its package is: [[email protected] ~]# rpm-qf ' which VI ' vim-minimal-7.2.411-1.8.el6.x86_64 [[email protected]
1):!commandDo not exit vim and execute shell command commands, the command output is displayed in the Vim command area, does not change the contents of the currently edited file such as:!ls-l Special can run:!bash to launch a bash shell and execute
%s/foo/bar/gLook for ' foo ' in all lines and replace with ' bar ': s/foo/bar/gLook for ' foo ' in the current line and replace it with ' foo ':%S/FOO/BAR/GCReplace each ' foo ' with a ' bar ', but ask when replacing%s/\/bar/gcFind word exact match '
Everyone crossing, welcome to listen to the large-scale couplet science fiction: Vim. Last time we introduced the ctags in the Vim plugin.This time, let's continue to talk about Vim's plugin. This time we want to say the vim plugin called: Cscope.
Original URL: http://www.cnblogs.com/csuftzzk/p/3435710.htmlPrefaceI've been using Ubuntu and vim for a while, and I've always had a crazy attitude about the plug-in application under VIM. This time, again on the internet loitering, found a personal
For each keyboard control, you certainly want to use the keyboard to complete all the operations.
For Vim control, we certainly hope to use Vim's mobile method to operate all the software.
I am one step closer to this goal. Vimium can be used in
The following are some of my experiences:
Let's take a look at vim. VI is a widely used text editor in Unix/Linux, which is available on most machines. VI has various variants, and different variant software is often used on different machines.
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