All Unix like systems will be built into the VI document editor, and other document editors will not necessarily exist.But at the moment we use more of the Vim editor.Vim has the ability to edit the program, can be active in font color to identify the correctness of the grammar, convenient programming.
What is VIM
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 learn
Tags: ubunt paste code Font shift Delete share picture shareThe editor on Ubuntu has gedit, VI, sublime and so on. Gedit generally in the absence of other editors temporarily used, most of the time, VI and sublime use more, Linux system built-in VI and Sublime, wherein, Sublime is a visual editor can be operated by the
This article introduces the basic usage of VI (Vim), but it is enough for common users!
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
The main contents of this section
Three modes of the VIM editor
Move cursor
Input mode
Modify text
Zhou Zhihu L.Number: ZhouzhihubeyondNET Name: Rocking Teen Dream1. Three modes of the VI editorLearning to use the VI editor is one of the most essential techniques to learn Linux systems, because Linux servers are not GUI-based, and Linux
line in Vim's view. In this case, you can type a G before H, J, K, or l, so that Vim will move as you wish on the screen. 3. move the cursor effectively in the current row
Many editors only provide simple commands to control the movement of the cursor (such as left, top, right, bottom, to the beginning/End of the line ). Vim provides many powerful commands to s
VI and VIM are all editors in Linux, the difference is that vim is more advanced, can be regarded as the upgrade version of VI. VI is used for text editing, but Vim is more suitable for
K to run vi to find the manual page of the word where the cursor is located, which is equivalent to running man command.
-------------------------------------- Split line --------------------------------------
Build VIM into a simple and practical IDE
Vim Learning Guide
Quick learn
powerful editors than ex: sed stream editor and awk data manipulation language, which provide more powerful editing functions. Of course, this is the future direction of learning. At present, I have learned the vi editor in a down-to-earth manner.
Edit the program source code:
The vi Editor provides many powerful func
Tags: flexible search GPO Format Enter Code Alert Novice Learning ORMVI (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 i
Today began to learn Linux, learning process I will be here to write down some study notes, first from the basics of learning, everything starts difficult, so I will insist! There are many versions of Linux today, and Linux is actually a derivative version of Unix, starting with L because its founder Linus,unix is the abbreviation for the unique + x version number ... About the origins of Unix and Linux the
Vi/vim Basic Use MethodThe 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 editor is exactly
Vi and vim Editor (10): advanced editing method (1), vivim
This chapter introduces some advanced functions of the vi and ex editors. This article describes how to customize the editing environment, how to execute UNIX commands in vi, and how to filter text in
Introduction to 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 differen
They are multi-mode 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 inside.These advantages of vim are mainly reflected in the following aspects:1. Multilevel undoWe know in VI, pre
They are multi-mode 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 inside.These advantages of vim are mainly reflected in the following aspects:1. Multilevel undoWe know in VI, pre
C compilation process
Step 1: Use VI to compile the. C code file
Step 2: gcc-G. C-o. Debug
Step 3 GDB
Step 4 file. Debug
List
Start debugging
Or GCC. C directly generates an executable file named A. Out.
./A. Out.
Run the VI command (for details about tab indentation and VIM configuration, refer to other articles in this blog)
where the previous string occurredIgnore case when searching : Set IC
:%s/old/new/g
Replace the specified string with the full text (replace old with new)
: n1,n2s/old/new/g
Replace a specified string within a certain range (N1~N2)
7. Save and Exit commands
Save and Exit commands
Command
Role
: W
Save changes
: w New_filename
Save as specified file
ZZ,: Wq
Tags: text editor move page multiple shift description function AST andLinux Vi/vimAll UNIX like systems will be built into the VI document editor, and other document editors will not necessarily exist.But at the moment we use more of the Vim editor.Vim has the ability to edit the program, can be active in font color t
Reprint Source: http://blog.csdn.net/xiajun07061225/article/details/7039413First, why should we learn the VIM editor?There are a lot of text editors under the command line interface of Linux. For example, there are Emacs, Pico, Nano, Joe and VIM, etc. that are often heard. Vim can be seen as a premium version of
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.