Split screen start vim
Use the uppercase O parameter to split the screen vertically.vim -On file1 file2 ...
Use the lowercase o parameter to split the screen horizontally.vim -on file1 file2 ...
Note: N is a number that is divided
The configuration file is/ETC/VIMRC, and the following modifications can be added directly below the configuration file.
Automatically add comments, vim write. sh and. py files when you press F4 in command mode, you can add annotations
Position commandCommand functionH Move one character to the leftJ Move down one lineK Move up one lineL Move one character to the right$ move to end of line0 Move to the beginning of the lineH move to upper screenM moves to the center of
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 it will greatly improve efficiency. VI is the abbreviation for "Visual Interface", Vim is VI
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.Directory (?) [+]Getting Started with vim tutorials
Vim Practical Technology
Learning the VI and Vim Editors
A Byte of Vim
The two days began to use Vim to learn the C + + language, the middle of the need to compile. Just wrote two small examples began to find that every time you have to quit vim to compile, it is too troublesome. That's when I thoughtBefore in a book
Http://www.cnblogs.com/end/archive/2012/06/01/2531147.htmlYou can display the available registers, which note two special registers: "* and" +. These two registers are communicated with the system, the former relates the system selects the buffer,
First, if Vim is not installed, just enter the command in the terminal sudo apt-get install vim installation.Second, the configurationBy default, our newly installed Ubuntu editor is not displaying line numbers, syntax highlighting, smart indenting,
Vim is known as very efficient text editing software. But mastering and efficient use is a difficult thing to do. Fast search and Replace in Vim is an important way to improve the efficiency of vim. Here are some of the things I've collated when I
Https://github.com/lvxiaobo616/vim-indent-guidesReference Https://github.com/Yggdroot/indentLineInstall Yggdroot/indentlin FirstSteps:1. Download FontForge.2. Open the font you want to patch with FontForge.3. Click Goto in the View menu and select
This article mainly introduces the common editing commands of vim:Character editing: x: Delete the character at which the cursor is located; #x: Delete the # characters at the beginning of the cursor;Replace command: R: Replaces the
vthe character visualization mode entered with the command (characterwise visual modes). The text selection is in characters.
Vthe line visualization mode entered with the command (linewise visual modes). The text selection is in the behavior unit.
1. Mobile$: Move to end of line0: Move to the beginning of the lineG: Jump to the beginning of the last lineGG: Jumps to the beginning of the first line+: Move to the beginning of the next line-(not minus): Moves to the beginning of the previous
Using the Vim text editor in CentOS, there is a problem with Chinese garbled characters.The problem of any character garbled is caused by the problem of character set mismatch. The character set mismatch here is only a mismatch between the encoding
Vim Tips: Folding shortcut keysUsed in a very familiar, a period of time without, shortcut keys and forget, have to re-read the manual, today special finishing, and later find more convenient.ZC folds, folds only the outermost foldsZC collapses all
Lesson 1.1 Moving the cursor
1, h, move the cursor to the left;2, L, move the cursor to the right;3, J, move the cursor downward;4, k, the cursor upward movement;5, the operation of the above moving cursor needs to be carried out in normal mode;
The default number of colors in the terminal of the VPS seems to be low. The support for Molokai has been bad.After finding out: Vim terminal mode defaults to 16 colors, and Molokai for 256 color schemeI thought it was a hardware problem, there was
when I just started using VI text Editor, I hate it! 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 is everywhere and is the only editor that guarantees that you
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundleTouch ~/.VIMRCThen paste the attached file into the ~/.VIMRC.Vim has just entered the error, we can press ENTER.Then enter: Plugininstall can be installed, installation process such
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