This digest is from the network, the initial author is not clear, so no original link is left. If anyone knows, please tell them.
Vim as one of the best text editors, using vim to write documents, writing code is very pleasant things. Whenever you
Three modes of VIMThere are three modes of vim, namely:
General mode
Edit mode
Command-line mode
Common operationswhich
The cursor moves to the beginning of the line, except that "^" can be used, and "0" has the same effect.
Enter edit modeLowercase i in the current word match either insertUppercase I inserts at the beginning of the line where the cursor is locatedUppercase O Inserts an edit line above the cursorLowercase o Inserts an edit line below the cursorLowercase
5.5 Entering edit mode5.6 VIM Command mode5.7 Vim PracticeExtendedSpecial usage of vim http://www.apelearn.com/bbs/thread-9334-1-1.htmlVim Common shortcut key summary http://www.apelearn.com/bbs/thread-407-1-1.htmlVim quickly deletes a character
Original link: http://blog.csdn.net/qq_38646470/article/details/79643000Programmer's favorite editor: VimFirst figure out the three modes of vim:1. Command mode: Enter the "Vim file name" in the Linux terminal to enter the command mode, but cannot
=============================================================================VI/VIM Command Review and Practice:---------------------------------------The Command mode yy copies the contents of the line where the cursor is located 4yy the copy
1. Download:Download page: http://vimcdoc.sourceforge.net/Select "Latest platform independent Tarball, including an Linux/bsd installation Script" "1" download.2. Installation:Many people on the internet said that "decompression, the doc directory
Linux system ArchitectureLinux is an inverted tree structureEverything in Linux is a file.These files are at the top of the system directory "/"/is the root directory/directory Below is a level two directory these directories are automatically
File and directory management and the use of the VI editorFile and directory management, just beginning to learn this piece of feeling a lot of content is miscellaneous, but after the completion of the summary, found in fact very organized and no
Use VIM to open a blank document, and then paste the copied code into it, found that it has automatic indentation function, resulting in the pasted text line is more than one line on the right, looks mess. The quicker solution is to enter the
Job One:1) Merge user information database files and group information database files vertically into one file/1.txt (overwrite)[Email protected]/]# Cat/etc/passwd/etc/group > 1.txt2) Merge user information database files and user password database
1 SetNu2 SetWrap3 Settabstop=44 Setsofttabstop=45 SetShiftwidth=46 Syntax on7FileType on"turn on the Vim file type Auto-detect feature8 Setautoindent9 SetsmartindentTen Setscrolloff=Ten One SetRuler A SetHlsearch - Sethistory= - - the "Set
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 editor. The following article is translated from "Learn
1, CENTOS7 installation vimYum-y install vim (simple rough installation method)2, in vim display Chinese does not appear garbled(1), Vim ~/.VIMRC (~/.VIMRC for vim configuration file)(2), enter:Set fileencodings=utf-8,gb2312,gbk,gb18030Set
Recently found Python is a good language, it is worth learning, first configured under the environment, so that VIM has keyword complement function, steps such as the following, I this is Fedora, other distributions similar$ su********# yum Install
Vim is actually a Linux text editor, so vi+ file name, is actually into the VI program. VI has two modes, edit mode and command mode in command mode, We can directly press I, this time will switch to the editing mode, for example, there is an insert
Vim auto-ingress
1. Configuration File LocationUnder the/etc/directory, there is a file named vimrc, which is a public Vim configuration file in the system and is valid for all users. In each user's home directory, you can create a private
Reprinted please indicate this blog from "LIU Da csdn blog": http://blog.csdn.net/poechant
1. What is Vim?
Vim is VI improved, an enhanced version of the editor VI. It is extremely powerful and complies with SE (software)Engineer, Software
From: http://www.cnblogs.com/yongtan/archive/2011/09/21/2183014.html
It seems that we have encountered Chinese garbled characters in VIM in windows before, I just used it a little and I am too lazy to try it out. // This problem was not found until
1. Command operation scope
In fact, many Vim commands are only edited within a text range. A text range can be one character, one word, one line, or another specified character range. You can use the vim command and the text range control key to
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.