Using the VI (VIM) editor on Linux tutorial------------------------------------------------------------Ikong-------------------------------------------------------------VI (VIM) is a very common editor on Linux, and many Linux distributions have VI (VIM) installed by default
Vi is actually the visual mode of the ex-line editor. each time the ex-editor displays a row by default, to use the ex command in vi, you must first enter: Enter the ex Mode. Www.2cto. comvi is a visual editor. by default, the vee-eyevi reading is in the command mode, and th
The VI Editor is the standard editor for all UNIX and Linux systems, and its power is not inferior to any of the latest text editors, here is simply a brief introduction to its usage and a small number of instructions. Because the VI edi
buffer, or you can use "Anyy copy," A is a buffer, a can also be replaced with any letter A through Z, you can complete multiple replication tasks.YW//Copy the character from the beginning of the cursor to the ending.NYW//Copy n words starting from the cursor.y^//Copy the contents from the cursor to the beginning of the line. VPS Detectivey$//Copy the contents from the cursor to the end of the line.P//Paste the contents of the Clipboard after the cursor, if the previous custom buffer is used, i
modify the program source code.
1 Basic use of the vi editor
The vi editor is a standard editor in Linux. Although many commands are complex and most of the input functions are completed by the keyboard, if we are familiar with
following command can be used to set the file to read-only:
: Set readonly
The following command causes VI to be in ": N" and ":!" The file is automatically saved before the command:
: Set autowrite
The following command shows the mode in which the user is located:
: Set showmode
Similarly, ": Set noshowmode" is to disable this display.
There are many other VI environment variables. Understanding them will
The vi editor is a standard editor for all Unix and Linux systems. It is not inferior to any of the latest text editors. Here we just briefly introduce its usage and a few instructions. The vi editor is identical for any version o
Basic usage of the VI Editor --
From: Linux community
The VI editor is a standard editor for all UNIX and Linux systems. It is not inferior to any of the latest text editors. Here we just briefly introduce its usage and a few inst
enters the VI editor, it first enters normal mode. In normal mode, entering any character from the keyboard is interpreted as a command. There is no prompt in normal mode, which executes immediately when the command is entered, does not require a carriage return, and the characters entered are not displayed on the screen.In normal mode, you can enter commands to
VI The Editor is the standard editor for all UNIX and Linux systems, and its power is not inferior to any of the latest text editors , here is simply a brief introduction to its usage and a small number of instructions. Because theVI Editor is exactly the same for any versio
The VI Editor is the standard editor for all UNIX and Linux systems, and its power is not inferior to any of the latest text editors, here is simply a brief introduction to its usage and a small number of instructions. Because the VI edi
Vi (vim) is a commonly used editor on Linux. by default, vi (vim) is installed in many Linux distributions ). There are many vi (vim) commands, but if they are used flexibly, the efficiency will be greatly improved. Vi is the abbr
Tags: file management command run Inux hang ima enter ext edit LinuxVI and Vim Editor and its shortcut keys1. The difference between VI and VIMThey are multi-mode editor, the difference is that Vim is the upgrade version of VI, it is not only compatible with all VI directive
The VI Editor is the standard editor for all UNIX and Linux systems, and its power is not inferior to any of the latest text editors, here is simply a brief introduction to its usage and a small number of instructions. Because the VI edi
How to Use the VI (Vim) editor on Linux
VI (Vim) is a commonly used editor on Linux. By default, VI (Vim) is installed in many Linux distributions ). There are many VI (Vim) commands, b
VI (VIM) is a very common editor on Linux, and many Linux distributions have VI (VIM) installed by default. VI (VIM) commands are numerous but if used flexibly it will greatly improve efficiency. VI is the abbreviation for "Visual
with any letter A through Z, you can complete multiple replication tasks.YW//Copy the character from the beginning of the cursor to the ending.NYW//Copy n words starting from the cursor.y^//Copy the contents from the cursor to the beginning of the line. VPS Detectivey$//Copy the contents from the cursor to the end of the line.P//Paste the contents of the Clipboard after the cursor, if the previous custom buffer is used, it is recommended to use the "AP to paste."P//Paste the contents of the Cli
current row down n rows to the buffer, or you can use "Anyy copy," A is a buffer, a can also be replaced with any letter A through Z, you can complete multiple replication tasks.YW//Copy the character from the beginning of the cursor to the ending.NYW//Copy n words starting from the cursor.y^//Copy the contents from the cursor to the beginning of the line. VPS Detectivey$//Copy the contents from the cursor to the end of the line.P//Paste the contents of the Clipboard after the cursor, if the pr
to Use the VI Editor
3.1 How to call VI;
[Root @ localhost ~] # Vi filename
3 command modes of 3.2 vi
Command mode, used to input commands;
Insert mode, used to insert text;
Visual mode: used to highlight the video and select the
VIEditoris the standard for all UNIX and Linux systemsEditorThat it's powerful not inferior to any of the latest textEditor, here is simply a brief introduction to its usage and a small number of instructions. Because of any version of UNIX and Linux systems,VIThe editor is exactly the same, so you can make any other introductoryVIPlace to learn more about it.
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.