The VIM editor in Linux is detailedVim:visual Interface improved also called full screen editor, modal editorThere are four modes of VIM:Edit mode (Command mode)Input mode (insert mode)Last-line modeReplacement mode1. Mode conversion:Edit mode to
Vim has no menu, only commandsVI FileName---> Enter command mode to enter the edit mode directly, enter the end of the run, input Wq save and exitIn command mode: Enter AIO into insert mode, ESC returns to command modeA, after the cursor A, the end
Modifying the VIM CompilerCreate the. vimrc file under the root directory and copy and save the code below.Create a. vimrc file in the root directory so that you can write code as an administratorNote: (This vim text compiler needs to install the
/*************************************************************************** * Vim exit Keep displayed content * Disclaimer : * This article is mainly a record of what determines the VI exit when clear screen or not clear screen, because in the
command to enter VIVI FileName: Opens or creates a new file and places the cursor at the beginning of the firstVI +n FileName: Opens the file and places the cursor at the beginning of nthVI + FileName: Opens the file and places the cursor at the
With vim for almost two years to see the tutorial also a lot, in general, you have to practice more, when you feel the need, and then add features. Here to share a view of the best tutorial, from the bar of a friend, write very wellZeroLearn to play
Vim Common Commands Summary.-You can let us repeat the last Operation command y-Copy the command. It can be followed by a displacement, or an object selection. For example it's actually with C-The Cut command is very similar yaw-copy a word,
1. Operation = operator + actionAAA BBBFor example, D is the delete command, and B moves to the beginning of the string closest to the cursorWhen we execute the DB, we remove the characters from the cursor (excluding the cursor position) to the
First, move the cursor1, left shift H, right shift L, Move down J, move up K2. Page Down CTRL + F, PAGE up Ctrl + B3. Turn down half a page Ctrl + D, turn up half a page Ctrl + U4, move to the end of the line $, move to the beginning of 0 (number),
Linux Vim Text EditorVim Overview Linux offers a wide range of powerful editors, such as VI and Asciitext,and Unicode is the first full-screen interactive editor for Linux systems. VI (VIM) commands are numerous but if used flexibly it will greatly
As an old and enduring editor, Vim has its own strengths. Many people think that Vim's learning curve is too steep, in order to be able to use VIM, have to memorize a large number of commands. If you are new to Vim, just start to face a vast amount
http://www.vim.org/scripts/script.php?script_id=3695This plugin can select the appropriate annotation method based on the type of file you are currently opening.The command used is\\+ displacementFor example, if you want to annotate a line, you can
I think every coder has a deep understanding of how important it is to modify this operation in the world of code.Instead of modifying it, it's nothing more than removing it and inserting it, but Vim combines it with efficiency.Talk less, let's use
First knowledge. command
. The command allows us to repeat the last modification, which is the most powerful generalist in vim."Last Modified" can--the unit can be changed in characters, whole lines, or even entire files at a
:e! EnterEliminate all of this editing, back to the original file look. However, this file is still open.:q! EnterEliminate all edits, return to the original file, and leave Vim.:w! FileName: w! NewfilenameIf the file exists, overwrites the existing
If you are looking for the ability to configure the Vim plug-in, then please look down and read it.With VIM has been three years, has never been a serious configuration, has been using a can use the configuration, highlighting, line number these.
Http://www.cnblogs.com/JessonChan/archive/2010/11/25/1888020.htmlFill in the note:There is no search and replace in the figure, which should be used below.Top-down lookup operations /word lowercase N and NBottom-up lookup operations
Now there is a situation:I am now under the Ubuntu user root directory-~I have a folder under the root directory blogs, this folder has two files: text1,text2.I now do the following from the ~ directoryVim ~/blogs/text1Then, I want to open the Text1,
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.