CenOS6.5 under the source installation vim-7.4

1."Download"vim-7.4 :ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz22."Unzip"Tar jxvf vim-7.4.tar.bz2after that, the source file is under the compression package src directory insideIt's best to do it in this directory only . Configure , Make and

Linux under VI or VIM operation found a swap file by the name causes and solutions

When opening a Test.java file with VI or VIM under Linux[Email protected] tmp]# VI Test.javaThe following information appears:e325: attention    found a swap file by the name  " . TEST.JAVA.SWP "             owned by:  root   dated: Wed Dec  7 13:52:

Linux Bash-vim

Vim,virtual Interface Improvement is a full-screen, modal editor editor. Mode Edit mode (Command mode):Input mode:Last-line mode: Mode conversion Edit mode, Input mode:I: Turns into input mode before the character of the

Vim's Highlight lookup operation

The use of vim for so long, but has been unable to remember some basic operating instructions. Today when looking for a keyword, can't think of how to find "next", so Google and solve, by the way to paste the useful all over.Find directives:/xxx

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

Basic use of the VIM editor

vim mode of OperationCommand modeInsert Mode inputEnd Line Mode VIM ABC if the file exists open, if it does not exist then createvim is in command mode by default when it startsThe command mode starts at the start of the cursor position, press A to

Vim's Column editing operations

Delete Column 1. Position the cursor where you want to operate. 2.ctrl+v into "visual block" mode, select how many rows this column operates. 3.d deleted. Insert Column insert operation knowledge slightly different. For example, we insert "()"

Vim Color Theme Settings

Let's look at the color configuration scheme provided by the VIM editor:First enter the VIM's color directory (/usr/share/vim/vim74/colors, different system directories, it is recommended to set up in ~/. Vim directory, and then in some directories

Vim Advanced operation

This page collects some simple VIM operations that either cannot be done by other ordinary text editors or is slow to complete. Through this web page, you can be determined to learn VIM's determination and confidence. If you have any good

VIM's tag system

Tag identifiers are stored in files generated by Ctags and other programs.: Tag and command jumps to the point where the cursor is located (if the cursor is no longer on the symbol, the first symbol on the right)Also g+ left mouse button and ,g+

Vim Gtags Plugin

01.Gtags func: View definitions at02.gtags-r func: View references at03.gtags-s text: View tags not defined by the database04.copen: Open quick fix display window05.cclose: Close the Quick fix display window06.cn: Next item07.CP: Previous08.cl: List

VIM Command Summary

@ three states:Command: Any input will be used as an edit command and will not appear on the screen, and any input will immediately cause a reaction.Insert: Any input data as for the edit register, press ESC to jump back to common mode.Escape: With '

Why and how to found a swap file by the name when you edit files under Linux vi or VIM

When opening a Test.java file with VI or VIM under Linux[Email protected] test]# VI Test.java The following message appears: e325: attention    found a swap file by the name  " . Test.java.swp "             owned by:  root   dated: Wed Dec  7 13:52:5

Set tab under VIM

In most cases, the TAB key width is set to 4 spaces, this can be based on theirCode style, but when you submit code for a different language, Pythonand C when there is a difference. C Words are generally tab-key indentation, while Python commits the

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

Vim Editor Detailed

Vi:visual InterfaceVim:vi improvedVim is a full-screen editor and a modal editorVim mode:Edit mode (Command mode)Input modeLast-line modeMode conversion: Default is in command modeCommand--Input:I: Inserted in front of the character that the current

Vim Learning Record (ii) efficient editing (command line)

Direct text, the second part of efficient editing.One, command line editing1. Command line Input: Automatically jump to command line after input, accept command input? Automatically jump to command line after input/input automatically jumps to the

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

Vim shortcut key Finishing "Turn"

Turn from: http://blog.csdn.net/ceven2010/article/details/7406341 One, move the cursor1, left shift H, right shift L, Move down J, move up K2. Page Down CTRL + F, PAGE up Ctrl + B3. Turn down half a page Ctrl + D, turn up half a page Ctrl + U4, move

Vim shortcut keys

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

Total Pages: 210 1 .... 133 134 135 136 137 .... 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.