Word a substitution in Vim editor

This article is for the repost:There are two methods:(a) replaced by the VI editor.Reference blog:http://www.linuxdiyf.com/viewarticle.php?id=99843http://kingaragorn.javaeye.com/blog/467308You can use the: s command to replace a string in Vi/vim.

A summary of the use of Vim editor in Linux

Vim mode:Edit mode: That is, command modeInput mode: normal input characters, etc.Last-line mode: At the end of the document: input or/input, query, modify replace, etc.Three modes of conversion:Edit-Input I: in front of the character of the current

Common commands for Vim

Use of the VIM editorGeneral modeTo move the cursor:Ctrl+f screen moves down one page, equivalent to page Dowb buttonCtrl+b screen moves up one page, equivalent to page Up button0 or function key home moves to the front character of this line$ or

Vim Editor Bulk Add and delete annotations

To add a comment:Method One:(1) Press Control+v (win below CTRL+Q) into the column mode;(2) Press the larger "I" into insert mode, enter the comment "#" or "//", then press ESC immediately (two)Method Two: Replace command: Starting line number,

MarkDown, Vim, two swords

As a software siege lion (yes, I've always been a siege lion!) I firmly believe that every day now, in the siege of the lion, despite being wrapped in the flesh of the rookie, I still have the heart of the Siege Lion! I hate it when people call me a

Linux VI, VIM command Daquan

General mode: Delete, copy and paste the class command x,x x to remove a character backwards, X for a character that was previously deleted, NX (n represents a number) to remove the N characters back to the DD delete when Move

Vim in the compiler. Command (Point command)

Date: 2014.06.28Location: Base--------------------------------------------------------------------------------------Note: In order to illustrate the use of vim under the. Command salutation as Point commandFirst, point command briefThe VIM document

Use of the vim-recording command

When using vim to accidentally touch the Q key, the lower left corner of the "recording" This logo, which is a powerful function of vim. He can record a macro and record all of your keyboard input, including input in insert mode, various commands

Execute Shell command Summary in VIM

There are several forms of executing shell commands in vim:1):!commandDo not exit vim and execute shell command commands to display the command output in the VIM command area without altering the contents of the currently edited

"Go" vim modify file format, view invisible string, etc.

Vim Modify file format, view invisible characters, etc.Category: Weapon Spectrum 2013-10-29 22:26 2125 people read review (0) favorite report : Set fileformats=unix,dos ==>unix file format as the first choice, DOS format as a second

How to use VIM (note)

Use of the VIM editorVI Visual Interface visual Interface VI EditorEnhanced version of the VIM VI Improved VI editorVIM Full screen editor, modal editorVim modeEdit mode (Command mode)Input modeLast-line modeVim Open file default to edit mode, they

[Practical.vim (2012.9)]. Drew.Neil.Tip50 Study Summary

Search to NavigateThe character search commands (F{char}, T{char}, and so on) is fast and lightweight, but they has limitations. They can only search for a single character at a time, and they can only operate within the current line.Character

Vi/vim Basic Use Method

Vi/vim Basic Use MethodThis article describes the basic use of VI (VIM), but for the average user is basically enough! I/vim the difference is simple, they are multi-mode editor, the difference is that Vim is the upgrade version of VI, it is not

Vim Multi-window editing

Vim file1 file2 can open more than one file at a time, switching between files can be done by: NVim-o file1 File2 Open multiple files at once and display them in the same interface (divided into several small windows)-o5 can control the start of

Vim Advanced Usage Tips second article

I posted my use of vim configuration and plug-in configuration, these things can only be a script stack, no discussion of efficient code reading development.Let's write the frequently used commands, and start with the Configure F-Series shortcut

Shortcut keys for VIM editor under Linux

Command-line mode:Cursor Movement:H cursor shifts one character to the leftJ Cursor moves down one characterK Move the cursor up one characterL MOVE the cursor one character to the rightH the top row of the current screenL the last line of the

Ubuntu Install vim Error

The following tips appear when you install Vim in Ubuntu 12.10:www.linuxidc.com @linuxidc:/etc/apt$ sudo apt-get install vimReading Package List ... CompleteAnalyzing Dependency tree for PackageReading status information ... CompleteSome software

Vim Usage Summary

Three modes of VIMGeneral mode (switch to command mode press shift+: key combination, switch to insert mode press I or a key)Insert mode (switch to edit mode press ESC)Command mode (in general mode after typing the appropriate command by pressing

Vim Search Settings highlighting

Vim Search Settings highlightingWhen Linux vim opens the document search string, the settings are searched for string highlighting. There are two ways: 1, temporary settings: Vim opens the document--and the command line type set Hlsearch. Cons: When

Install java complete in ubuntu vim

Install java complete in ubuntu vimIn Linux, there is no lightweight JavaIDE similar to JCreateor. Although there are many imperfections in vim's combination with javacomplete, it can solve the problem of java code completion to a certain

Total Pages: 210 1 .... 91 92 93 94 95 .... 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.