Vim save File ": Wq" and ": X" Difference

Vim is one of the most commonly used editors of the unix/linux system, and when I save a file, I usually choose ": Wq", because when I first learned vim, I only remembered a few commonly used commands, and there was no meaning of the scrutiny

Vim Easy to use tutorial

The VIM editing program has three modes of operation, called edit mode, insert mode, and command mode, and when Vim is run, it first enters edit mode. The main purpose of the Vim editing method is to move the cursor position in the edited file. Once

CTRL+Z,JOBS,FG command usage in vim

Example: VI test.cCTRL + Z stops the test.c of VI open and goes to the backgroundand open a VI buf.c.CTRL + Z stops the BUF.C of VI open and goes to the backgroundThe task list is now visible through jobsSwitch tasks with FG + numberSuch

A brief introduction to the interoperability of vim and system pasteboard

This problem has been frequently encountered recently, recorded here.My environment SystemArchlinux VimNVIM v0.2.2 / vim 8.0.1297 PremiseRequires VIM support+clipboard Check methodvim --version | grep clipboard If you

The use and practice of Day17-vim (II.)

Edit mode for 5.5:vim:Edit mode: (enter the following command into edit mode): You can edit the contents of the file:650) this.width=650; "Src=" Https://s1.51cto.com/oss/201711/08/b01374da517f171ab6363e90608fab99.png-wh_500x0-wm_3 -wmp_4-s_2416377663

day-Editor Vim

5.1:vi and Vim:Vim is a text editing tool for all Linux systems, the same as with Windows Notepad, used to manipulate and edit files:Vim is an upgraded version of VI, VIM (will display font color): VI (no color is displayed)1, the installation of

Seventh Chapter-vim Text Editor

This command, which has been mentioned many times before, is a necessary tool in Linux. No amount of work can be done without it. Early UNIX was used as the system default editor for the VI. You may have doubts, what is the difference between VI and

How to remove ^m characters in Vim

Dos/windows-based text files have a CR (carriage return) and LF (line wrapping) at the end of each line, and UNIX text has only one line break, that is, win each line ends with \ r \ n, and Linux has only one \ nIf the document on win is uploaded to

VIM uses the match substitution command mate expression to implement an increment substitution

: Let n=100 | G/while/s/\d/\=n/| Let N=n+1BeforeTen void *thread_function_1 (void *arg) {one int i; 1 while ( "thread 1 says hi!\n"); 15 g_counter + = 1; sleep (1); + return NULL; + void

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

How to get out of the VIM editor in a Linux system, methods and differences

In Linux, the Vim editor is the system's own text editor, which is powerful. This vim (VI) is very simple. Note: The Linux command should be lowercase oh!Vim Editor, you can create a new file can also modify the file, the command is:

How to get out of the VIM editor in a Linux system, methods and differences

In Linux, the Vim editor is the system's own text editor, which is powerful. This vim (VI) is very simple. Note: Linux commands are lowercase!Vim Editor, you can create a new file can also modify the file, the command is: vim/usr/local/con.cfg If

Vim's last-line mode explanation

Last-line mode focuses on (this is the basis for learning the SED)1) Address delimitation: Start_pos[,end_pos]#: Specific # lines, e.g. 5 for line fifth.: When moving forward$: Last line#,#: Specifies the row range, the left is the start row#,#+:

VI and VIM

VI VimLinux has multiple editors, but different distribution, VI is basically supported on every distribution.Vim is an enhanced version of VI. Vim has the ability to edit the program, can be active in font color to identify the correctness of the

Vim display Utf-8 Document garbled solution method

A detailed introduction to VIM codingVim, like all popular text editors, can edit a wide variety of character-encoded files, which of course includes popular Unicode encoding methods such as UCS-2 and UTF-8.Vim has four options related to character

Text editor Vim

unconsciously a week of time is over, feeling unprecedented enrichment! This week learning the Vim editor is said to be important! One. Open File★vim +n filename After opening the file, leave the cursor at the beginning of line N, + the default tail

Vim commands in Linux under the detailed

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 recording macro and registers the result in register XQ Exit Record mode@x playing macro commands

"Linux acquaintance" vim editor

Vim is a well-known powerful, highly customizable text editor like VI, which improves and adds many functions on the basis of VI, VIM is free software, and today we talk about the use of vim.This article is based on the Vim editor on Centos7, and

Vim Shortcut Key Summary

I Insert before the cursor A Insert after cursor O Insert a new line down I Insert at beginning of line A Inserting at the end of a row O Insert a

Vi/vim Keyboard Map-

Vi/vim Keyboard Diagram-----Another desktop background good pictureMaybe there are a lot of people who are not willing to use the CLI vi/vim to write things, but when you really get used to it, its efficiency is immeasurable. The following picture,

Total Pages: 210 1 .... 87 88 89 90 91 .... 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.