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
Command historyCommands with: and/begin with a history, you can first type: or/Then press the up and down arrows to select a history command.Start vimEnter the following command in the Command line windowVim starts vim directlyVim filename opens vim
Delete blank lines in a file:g/^$/d
g = Global, full file
^ is line start, $ is line end
D means to delete the
This can only be matched to a blank line without a white space character, if you want to delete a blank line with whitespace,
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
Installed operating system generally with vim editor, but the default does not support GB2312 Chinese, open file garbled, the solution is as follows.1. Open the following filesudo vim/var/lib/locales/supported.d/local2. Add the following:Zh_cn. GBK
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
9. vim Editor the enhanced version of the Vi editor supports multiple language scripts, file type plugins, text completion modes, and many other options. Command mode: For file navigation, cut and paste both simple commands. Undo recovery and other
Vim Editor Detailed http://www.cnblogs.com/softwaretesting/archive/2011/07/12/2104435.htmlVim filename can create a file named filenameVim file1 file2 file3 can create multiple filesUse in VIM edit window: Open file, opening a document in the Vim
The most complete vim shortcut key in history!! Learn Linux friends look over, you do not think the Linux editor vim operation Complex, the steps cumbersome? Do Linux engineers want to boost their productivity dramatically?Classic Version The
Recently has been engaged in the configuration of VIMRC. One of the things that I want to do is to implement the code quick Comment function. And one of the key points in this feature is that I'm going to get the system current time and then insert
Vim can be divided into three modes, command mode, insert mode, visual mode.First, the command mode At the beginning of the Vim design, the entire text editor is made with a keyboard rather than a mouse, and almost every key on the keyboard has a
Reference:http://blog.chinaunix.net/uid-20732478-id-763411.htmlThe use of vim for so long, but has been unable to remember some basic operating instructions. Today when looking for a keyword, can't think of how to find "next", so Google and solve,
Vim is a well-known, powerful, highly customizable text editor similar to VI, which improves and adds many features on the basis of VI. Thanks to its customizable features,Many of the Vim plugins were born. Managing these plugins has become one of
Vim Learning Note the second, because the need to collate documents and work, and do not achieve a daily study and publish an article, but diligent record is good ~2. FindThe find command is "/string", note,. *[]^%/\? " $ has a special meaning, find
Gvim's Tabe tab opens in the same page (tab) and has the same effect on buffer, adding a new bufferYou can assume that the command-line mode of Gvim is similar to the operation in bash shell.Pass in command-line mode! Comm can execute shell commands
Windows vim using the Vundle management pluginFirst install Gvim and Git, add the C:\Program files\git\cmd to the PATH environment variable, and then execute it in cmd:git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundleAdd the
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service