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 short fo
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
execution.
Tip: If you are not sure which mode you are currently in, pressing ESC two times will return to normal mode.Exit VI EditorTypically exits the VI Editor in command mode.
Exit Command
Description
Q
If the file is not modified, it is returned directly to the shell, otherwise prompts to save the file.
Basic vi operations:1. Make sure you are in the main directory. Create a file named vitext in your home directory.>>$ Cd>>$ Pwd> Vi vitext2. When a vi file is opened, it is automatically in command mode. Press the I key (insert) or the key (append) to switch to the text mode. Using a or I only determines whether typing starts before or after the cursor. There is
Vi and vim Editor (14): vim Overview
Vim refers to "vi improved", that is, the ultimate version of vi. Currently, vim may be the most widely used similar vi product.
Overview:
Author and brief history:
Vim is written by Bram Moolenaar and assisted by others. Therefore, vim c
Experiment one: The VI editor mode switch 1. Experimental goal: Master VI editor Three modes of switching and its characteristics 2. Experimental procedure: Step one: Enter the VI editor, which is the command modeEnter
The VI Editor is the standard editor for all UNIX and Linux systems, the VI editor is exactly the same for any version of UNIX and Linux systems, its power is not inferior to any of the
CentOS6.4 text editor Vi/VimVim/Vi introduction Vim/Vi is a powerful full-screen text editor, the most common text editor on Linux/UNIX, it is used to create, edit, and display text fil
VI and VIM are both text editor, the difference is that Vim is the upgrade version of VI, it is not only compatible with all VI directives, but also some new features in it.Vim/vi is a powerful full-screen text editor, which is th
Reference: http://huangbao.blog.51cto.com/725279/152665
1. About the text editor
There are a lot of text compilers in Linux and UNIX, but VI should be quite common. To tell the truth, I don't like it very much. I even found some colleagues use this tracking code. Is this the legendary "Daniel "?? It's really a bit like they work at that low efficiency ...... Is t
English title: Useful one-line SCRIPTS for SED (Unix stream editor)Original title: HANDY one-liners for SED (Unix stream editor) Finishing: Eric pement-e-mail: pemente[at]northpark[dot]edu version 5.5Translator: Joe-e-mail: hq00e[at]126[dot]com The latest (English) version of this document can be found at the following
VI Basic concepts are neither introduced, Baidu, Wiki has. Below is a brief summary of what I have learned from VI,1.VI is divided into three states: Command mode, insert mode, and bottom line mode.(1). command line pattern-command modeis to control the movement of the screen cursor, mainly into the insertion mode and the bottom line mode of the neutral (like a m
VI and VIMvi are text editing tools on the command line interface. they were first developed by BillJoy in 1976 and were called ex. Vi supports the vast majority of operating systems (released on BSD at the earliest), and has very powerful functions, generally available in UNIX-like operating systems. In 1991, BrmMoolenaar was improved based on
From: http://jinux.hit.edu.cn/courses/computing/linux-viMingLing77_1.html
Linux VI commands
VI command
VI Introduction
VI is a universal full-screen document editor in the Unix world. I
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, it is recommended to
The VI editor is a text editor that we use frequently under Linux, which is also intended for programmers, and basically every UNIX and Linux system provides us with this software, and we can use VI to write our code. in the VI
Experiment one: The VI editor mode switch 1. Experimental goal: Master VI editor Three modes of switching and its characteristics 2. Experimental procedure: Step one: Enter the VI editor, which is the command modeEnter
words, paste them to the right of the cursor. │├──┼──────────────────────┤│p│ If the default buffer contains a line of text, it is current │││ insert a blank line in front of the line wells the default buffer in the inner │││ paste into this line, if the default buffer contains │││ multiple words, paste these words to the left of the cursor│└──┴──────────────────────┘Vi. Saving and exiting┌───────────┬───────────────┐│ Command │ Description │├───────
text editor on Linux and UNIX, and it is the function of creating, editing and displaying text files. Vim/vi no menus, only commands. Vim is a reinforced version of VI, when a lot of users are still accustomed to using VI to edit
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.