Command History
Commands with: and/start with history, you can first type: or/And then press the up and down arrows to select a history command. start Vim
Enter the following command in the Command line window
Vim starts vim directly
Vim filename
You can now use most of Vim's basic commands, function to develop project code, but in the development process of the project, still feel some operation efficiency is low, for example through h/j/k/l to carry on the large-scale movement of the
/ETC/INIT.D is a general boot service that is stored in this directory/ETC/RC.D startup configuration files and scripts/ETC/INIT.D &/ETC/RC.D/INIT.D is the same directory with the same contentImplementation mechanism, in fact/etc/init.d is a
VI and Vim Editor and its shortcut keys1. The difference between VI and VIMThey 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
Source: Yannesposito Translation Source: Chen YuVim's learning curve is quite large, so if you're starting to see a bunch of Vim's command classifications, you're bound to lose interest in the editor. The following article is translated from "Learn
Turn: (http://www.cnblogs.com/lijia0511/p/5644566.html)The learning curve of Vim is quite large (see the learning curve of various text editors), so if you start to see a bunch of Vim's command classifications, you're bound to lose interest in the
Vim is a very useful text editor in Unix system, compared with the traditional VI, the biggest difference is that it supports the color scheme, this feature makes it possible to edit some configuration files or write code in the time greatly improve
Vim is a common text editor under the Linux system, which can be used to find and replace multiple files by using a variety of shell commands. The following small series to introduce you to the Linux system vim multi-File search and replace
Vim's DIY preference configuration under Mac"First execute:"CP/USR/SHARE/VIM/VIMRC ~/.VIMRC"Copy the default configuration file, and then execute:"Vim ~/.VIMRC"Edit the file at the end of the file to add"Syntax on"Save to exit"=======================
Learn vim and it will be your last text editor to use. There's no better text editor, it's hard to learn, but it's incredibly easy to use.I suggest the following four steps:
Survive
Feel good
Feel better, stronger, faster
Use
Next, continue to learn the multi-window functionality of the VIM editor. This article focuses on adjusting window size, buffer and its interaction with Windows, pagination editing, closing and leaving Windows.Resizing the window:In Gvim, you can
The most common use of the editor under Linux is vim or vi text editing. The difference between VI and Vim editor is that VIM is an improved version of VI, and it expands a lot of useful functions on the basis of VI editor. in most Linux/unix
Vim Auto-complete plug-in----youcompleteme installation and configurationUsing Vim to write a program without the use of auto-completion plug-ins, there is no similar to the Linux vs visual Assist X such a quick and easy to complete plug-ins? Used
There are many text editors, such as Gedit, KWrite and so on in graphical mode, and the editor in text mode has VI, VIM (enhanced version of VI) and nano. VI and VIM are the most commonly used editors in Linux systems. Some people have said that
1. Find/xxx (? xxx) means searching the entire document for a string matching xxx,/means looking down, representinglook up. where xxx can be a regular expression, about the formal type is not much to say.generally case-sensitive, if you want to be
For each keyboard control, you certainly want to use the keyboard to complete all the operations.
For Vim control, we certainly hope to use Vim's mobile method to operate all the software.
I am one step closer to this goal. Vimium can be used in
Summary of Vim quick operations in Linux and vim quick operationsHow to move the cursorH. move the cursor to the left by using the left arrow key.J or the down arrow (←) move the cursor down a characterK or the up arrow (←) move the cursor up a
Vi and vim Editor (7): ex editor Overview (2), vimex
Next, I wrote an article to learn about the ex editor.
Change the buffer Name:You can use ": w new_file_name" to save the current editing buffer as a new file. In this way, the current editing
[Vim] vim learning notes-open, switch, and close multiple filesOne case is to use vim in shell to open multiple files, and the other case is to open multiple files in the vim editor.Open multiple files at the same timeVim file1 file2Open the file
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.