About VIMVim is a powerful full-screen text editor, which is the most common text editor on Linux/unix, which is used to create, edit, and display text files.Vim has no menu, only commandsThree modes of VIM: Command mode, insert mode, edit modelowercase letters i/a/o from command mode to insert modeReturn from Insert mode to command mode with ESC keyFrom command
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. VI
In the Linux system operation, Vim is a text editor, in the use of vim, incredibly display utf-8 documents garbled, how to solve this situation? The following small series to introduce how to solve the Linux vim utf-8 document garbled problem, take a look at it.
1. Introduction of relevant basic knowledge
In Vim, there are four encoding-related options: Filee
Linux line Editor, text editor of some introduction, this is the 13th section, there is a 14th section Oh ~Ed Text editor (oldest editor, VI, etc. are all changed by ed)Ed "-gs" "-P" string "" "File"-G support compatible-P "string" specifies the prompt character of Ed in com
Text EditorThe text editor is an important tool in the Linux operating system. Among them, VI is the most widely used text editor, which can be used in any shell. In addition, Red Hat Enterprise Linux6 provides gedit tools that allow for more intuitive text editing using the GUI, while the evince tool can be used to easily view PDF documents.VI EditorThe full nam
Linux editor Vim keyboard details
The Vim keyboard in the Linux editor is detailed. The figure below is clear at a glance. From then on, learning is no longer difficult!
Note:If there is no search or replacement in the figure, use the following.Top-down search operations/lowercase n and N of wordBottom-up search op
Linux text editor Vim/Vi details, vimvi
Ii. Text Editor Vim/Vi (later called the upgraded version of Vi) Vim/vi is a powerful full-screen text editor and the most common text editor on linux/unix, it is used to create, edit, and d
In LINUX, the Vi editor has three modes: command mode and edit mode. after opening vi in the last line mode, the vi editor uses I, o and a enter the editing mode, press esc to exit the editing mode, and return to the command mode. Www.2cto.com in command mode...
In LINUX, the Vi e
Run the "vifilename: open or create a file" command in the vi editor of linux, and place the cursor in the first line vi + nfilename: open the file, place the cursor at the beginning of line n vi + filename: open the file and place the cursor at the beginning of line n vi +/pattern... vi editor for learning linux
Run
In the Linux editor, nano is used. 1. When will nano be used? Generally, the network is very stuck. When Using vim/vi for ssh, the window will die, or the server will crash. 2. how to use it? Open www.2cto.com or create a new file # Disable automatic line feed for the nano file name # nano-w/etc/fstab save the changes .. Linux
Use of the Linux Vi Editor
Use of the Linux Vi Editor
Mode: Command mode, edit mode, and last line mode.
Switch Mode: Command mode → I → edit mode, edit mode → Esc → command mode, command mode →: → last line mode.
Function:
Command Mode: controls the movement of the cursor, deletes characters, and copies paragraphs.
In
Commonly used commands of the vi editor in Linux system: linuxvi
Vi is a text editor in Linux. Beginners may be troubled by a large number of commands. Here, I have screened some common commands for your reference.
Common commands for accessing vi:
Vi filename: open or create a file and place the cursor at the beginni
The VI editor is most frequently used in Linux, and is divided into three working modes: Command mode, input mode, and last line mode, and operation commands are not the same in each working mode.Command mode to enter after opening a file with VI
Switching between three modesIn the command mode, the use of a, I, O and other keys can quickly enter the input mode, press: Key to enter the last line mode, i
Linux under the VI Editor for simple paste copy cutting function
If you want to paste the third line in the file into line 15th:1. Enter your file (in command mode, not edit mode)2. Move your cursor to the beginning of your third line (with the arrow keys)3, press V, (you find switching to Visual mode), press the arrow keys, know what you want to select4. Press Y, and then move the cursor to the end of
string in each row that is matched to the pattern)G: Global SubstitutionI: Ignore case when finding16. Use Vim to edit multiple files:Vim FILE1 FILE2 FILE3: Next switches to the next file:p Rev Switch to the previous file: Last switch to final file: first to switch to file one: QA Exits All Files17, split screen display a fileCtrl+w Press S: Split window horizontallyCtrl+w Press V: Split window verticallyToggle cursor in Widget:Press arrow (left and RIGHT arrow) after Ctrl+w: Toggle left and ri
the contents of the pasteboard after the cursor
P (uppercase)
Insert the contents of the pasteboard in front of the cursor
Rx
Replace the character of the cursor position with X
U
Undo the last change
U
Restores the contents of the current row
X
Delete the character of the cursor position backwards
X
Remove the characters in front of the cursor forward
Nx
Delete t
UNIX editors include ex, sed, and vi, among which vi is the most widely used. Vi is a program for creating and modifying text and data objects. The difference between him and the word processing program and the desktop publishing program is that he only processes plainASCII text and has no format information. The vi editor has three processing methods...
UNIX editors include ex, sed, and vi, among which vi is the most widely used. Vi is a program for
I. Vi Introduction
Vi is the most common full-screen editor in the unix world. in linux, vim is the enhanced vi version. vim is fully compatible with vi. vi is the abbreviation of "visual interface. It can perform output, delete, search, replace, block operations, and many other text operations, and users can customize it according to their own needs, which is not available in other editing programs.
Vi is
Linux bash integrated instance bash Script Editor, linuxbash
Note: This is a simple bash Script Editor, but it has been tested. The reason for writing this blog is to exercise loop control language, functions, location parameters, local variables, function parameter calls, and inter-function calls, there is also the parameters for Obtaining user options and optio
In this article, you may also sort out the commonly used nano command usage methods. If your memory is poor, use the text to record them and try again later.1. Install the nano editor1. CentOSYum-y install nano2. DebianApt-get install-y nanoSome default Linux system environments do not have the nano editor installed. When executing the command, you will see "-bash: nano: command not found ", then
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.