Tags: nbsp button roman Exit Shift ace Insert Edit SWP Related knowledge /relevant knowledge 1 _VIMRC Programming /_VIMRC Program1. Annotation ", for comment2. Keyword set, for setting functions, etc.3. Keyword IMAP, which indicates a re-map in insert mode4. Keyword Inoremap, indicating the re-map in insert mode:Inoreremap HL Inoremap 5. Keyword Nnoremap, indicating a re-map in normal mode6. Phase Key table:
Name
corresponding keys
Name
corresponding keys
Introduction to a VIM modeThe following introductory content is from the Wikipedia vimThere are many modes of vim from VI, this unique design is easy to confuse the beginner. Almost all editors have two modes of inserting and executing commands, and most editors use a different approach to vim: the command directory (mouse or keyboard driver), the combination of
1. Why should we learn the vim editor?
There are many text editors in the command line interface of Linux. For example, we often hear about Emacs, pico, nano, joe, and vim. Vim can be viewed as the advanced version of vi. Why do we have to
1. What is vim?
Vim is a text editor developed from vi.
2. Why use vim:
In the Linux world, most configuration files exist in plain text form of ASCII. Therefore, Vim can be used to modify and set configuration files.
Use man Vim
.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~This is the end of the Vim tutorial. This tutorial is just for a brief introduction to the Vim editor, but it is enough to make youIt's easy to learn to use this editor. There is no doubt that
Why use Vim to edit py files?Because in the Linux command line, the lack of graphical interface Ide,vim is the best text editor, and in order to better edit the py text, so configure Vim.1. Install the full version of VimWhat is the difference between VI and VIM?In Linux com
Why use Vim to edit py files?Because in the Linux command line, the lack of graphical interface Ide,vim is the best text editor, and in order to better edit the py text, so configure Vim.1. Install the full version of VimWhat is the difference between VI and VIM?In Linux com
I have learned Vim before, but for various reasons, I have not continued to learn it. In fact, it is not enough perseverance to stick to it. So now Vim can only perform simple operations. Now I want to learn Vim again, and record the learning process, the interesting command
BKJIA exclusive Article] Vim is a text editor similar to Vi, but many new features are added on the basis of Vi. Vim is generally regarded as the best one in the class Vi editor. Vim currently has Unix and Windows versions. Although vim
OutlineFirst, what is the vi text editor?Second, vim common mode and switchThird, VIM usage detailedFirst, what is the vi text editor?Text Editor can basically be divided into 2 categories: Full screen editor and line
: Flip down the screenCtrl + B: Flip the screen upCtrl + d: Flip down half screenCtrl + u: half screen up8. delete a single character (in editing mode)X: delete a single character at the cursor# X: Delete the cursor at and back # characters in total9. delete a command (d)1. editing mode)1) Use the. d command in combination with the jump command;# Dw: delete # Words# De: Delete the cursor # Word# Db: delete # words before the cursorOthers (point 6)2). dd: Delete the row where the current cursor i
**********************************************************************0. Introduction to this tutorial: Vim is a classic editing program under Linux/unix, which is efficient, focused, flexible and powerful, and is a fundamental skill that programmers, typography and system administrators must master in a Linxu/unix environment but due to some historical reasons that we will introduce later, The Vim
I hate it when I just started using VI text Editor! I think this is the most painful and anti-human editor ever designed. But I decided I had to learn it, because if you're using unix,vi everywhere and is the only one that guarantees you can use the editor. In 1998 it was so, but until today VI is still available, in a
Chinese:Wget http://sourceforge.net/projects/vimcdoc/files/vimcdoc/1.8.0/vimcdoc-1.8.0.tar.gz
3. decompress the downloaded tar.gz file:Tar zxvf vimcdoc-1.8.0.tar.gz
4: Go to vimcdoc-
Directory to find the INSTALL file
, Cat to get a lot of information you want to know, and then install the Chinese documentation, it will find the installation directory for installation, here to emphasize, if you install it as a common user, it will be installed in the directory.
Chapter Description :This section will teach you how to use the Vim editor to write documents , configure host names , network card parameters , and the Yum repository , and be familiar with the various modes and command shortcuts.We can finally write a simple and practical shell script by placing the Linux command into the appropriatelogical teststatement (if, for, while, case) through the
First, Introduction 1. Vim is a powerful text editor, if used skillfully, will effectively help us improve the efficiency of editing text, programs. Vim Editor's use of the threshold is relatively high, many people are afraid to remember a lot of orders, often in the early stages of learning to be deterred.2. Vim learn
learn Linux.To end the learning of Common Linux commands, let's learn about Linux's most commonly used text editor commands vim. In fact, the first Linux system Text Editor command is VI, later appeared a VI enhanced version of VIM
line, as for the detailed format we can check the data. When we use more, we will unconsciously remember these commands, this is the right way to learn. There are a lot of Linux commands, if beginners want to remember the detailed format of these commands, it will be a great learning frustration for us, have not finished these commands, perhaps you have lost the enthusiasm to learn Linux.To end the learnin
Guide
Today Vim is a favorite Linux text editor for everyone and a favorite open source tool for developers and system managers. Most people are just familiar with Vim's most basic operation and can only use Vim to modify text at the terminal, but it doesn't have any powerful text processing capabilities that I imagine. The ability to outperform Pico and Nan
saved, forced to quit: Wq Save and exit: wq! Force save and exit.Save:ZzChange one character: R to correspond to the textReplace:%s/this/that the first this of each row is replaced by that:%s/this/that/g replaces all this in the text with that% indicates full-text matchS replacementThis original contentThat modified contentG all occurrences in a row, none replace only the first occurrence: 2,5 s/nologin/login/g #替换第二行到第五行中的nologinN,M indicates the specified line number./find:/target n search do
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.