Some of Vi-vim's forgotten points

1. VI is divided into three modes: General mode, edit mode and command line mode. I/esc +: wq:q: q! Enables VI to be converted back and forth in general mode and edit mode. /word down looking for a string named word; Word looks up for a

Vim Command Detailed

Command Simple description : W Saves the edited file content, but does not exit the Vim editor. The purpose of this command is to write the data in the memory buffer into the file specified when Vim is started. :

The insertion mode of VIM basic learning

Insert mode1. Character encoding, inserting special characters{3 bit}If you want to enter a, you can enter it in the input mode065 (must be 3-bit)u{4 bit}For example, if you want to enter ¿, you can enter it in the input

Make Vim an IDE

Making vim an IDE was an exiting thing. Conside following configuration files: . VIMRC: ~/.VIMRC Winmanager.vim: ~/.vim/bundle/winmanager/plugin/winmanager.vim . VIMRCMy. VIMRC is as follows:Set nocompatible ' be improved,

Linux Modify vim annotation color

The default heavy blue is too difficult to identify, I changed into a cyan cyan, the green is similar to, the feeling is too ugly.Just use the previously learned output redirection.echo "Highlight Comment Ctermfg=cyan" >>/ETC/VIMRCYou can

Advanced operations and text replacement commands under VIM

Some basic and advanced operations on Vim can be found in the links below.Http://coolshell.cn/articles/5426.htmlWhen using Vim to edit text, it involves bulk substitution of text content: s/vivian/sky/replaces the current line the first Vivian is

Vim syntax coloring fully configured

Original address: http://blog.sina.com.cn/s/blog_878940b3010156ku.htmlIn terminal input: sudo VIM/ETC/VIM/VIMRC open the configuration file.Edit command:Set ShowCmd "Show (partial) command in the status line.Set Showmatch "Show matching brackets.Set

Vim Color Scheme

Molokai Color Scheme for VimI prefer Molokai ' s dark grey background. Installation with pathogen CD ~/.vim/bundle && \git clone https://github.com/tomasr/molokai.git Now Molokai is installed. Add the following to your VIMRC.

Vim General Command Summary

Vim is not a long time to use, but it is now inseparable from the familiar vim editing mode. Vim's learning curve is very steep, at the beginning of learning, the face of a lot of operational commands to remember, often deterred.In fact, just

Vi/vim jump to a specified line

(1) Press ESC, then 123GG jumps to 123 lines (2) Input: line number jump to the line you want! ###############################Add, delete comments:Note: Ctrl + V enters column-editing mode, moves the cursor down or up, marks the beginning of the

Vim Command Collection

Command historyCommands with: and/begin with a history, you can first type: or/Then press the up and down arrows to select a history command.Start vimEnter the following command in the Command line windowVim starts vim directlyVim filename opens vim

Brisk Vim (vi): Recovery

Recovery is simple in vim, but it's hard to recover to a specific time period.In my experience, sometimes using recovery is better than deleting the rewriteHere we talk about the use of restore, Undo, and repeat commandsu undo Last

Brisk VIM (iii) Delete

In this section we take a look at the delete, delete command is relatively simple, but to make the deletion more efficientYou need to match the various move commands we've talked about in the first section.Character deletionx Delete the

Use of the VIM editor

Vim Editor Detailed http://www.cnblogs.com/softwaretesting/archive/2011/07/12/2104435.htmlVim filename can create a file named filenameVim file1 file2 file3 can create multiple filesUse in VIM edit window: Open file, opening a document in the Vim

VIM configuration, storage, useful

New to the MBP high with a week, good to tears, thanks to mommy first ...============================================================================So, let's put the VI configuration first ...======================================It was readonly to

Vim configuration file Backup November 16, 2015

Set nocompatibleSOURCE $VIMRUNTIME/vimrc_example.vimSOURCE $VIMRUNTIME/mswin.vimBehave MswinSet NobackupSet NuSet Diffexpr=mydiff ()function Mydiff ()Let opt = '-a--binary 'If &diffopt =~ ' icase ' | Let opt = opt. '-I ' | endifIf &diffopt =~ '

VIM creates the IDE

1, Minbufexplorer2, CtagsCtags tool is used to traverse the source code files generated tags files, these tags files can be used by the editor or other tools to quickly find the location of the source code symbols (Tag/symbol), such as variable name,

Vim Usage Collection

1. :%s/\r\+$//g Delete the ^m characters in the text.2. :%s/\s\+$//g Some VIM IDE will see the text in the red block, usually the end of the line of extra space caused by, then use it to clear.3. :%s/\ height=\\ "\d\{3}\\"//g Delete the height=\ "3

How to remove ^m from Windows-edited files under Vim

Can remove ^m,For example:Under the Terminal Knock Command:Dos2unix A.Cswitch directly to UNIX format, so you can remove ^mCopyright belongs to the author.Commercial reprint please contact the author for authorization, non-commercial reprint please

Set vim Startup Items [Windows Edition]

Vim default startup settings sometimes not very good, want to change, but unlike Windows other software, the interface is set to take effect, here need to manually set up the file, then set it up quickly!Modify the file to the VIM installation

Total Pages: 210 1 .... 182 183 184 185 186 .... 210 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.