This is the penultimate article, the new blog is about to be completed
Toss and tidy up the next, own vim configuration, managed GitHub, support one-click Deployment
have plugin description, screenshots and animated GIF display
Https://github.com/
1. VimGeneration: For Linux file editing, originally VI, and then for its function expansion, created VIMInstallation of VimYum Install vim2. Movement of the cursorThe most used is the direction key on the top and bottom around, and home, end key
To view the encoding of a fileMethod One:1. The file encoding can be viewed directly in vim: Set fileencodingYou can display the file encoding format.Note: If you just want to see other encoded files or if you want to solve the problem of viewing
Vim Program Editor VI and VIM VI: is a word processorAll UNIX like systems will have a VI text editor built inMany of the software's editing interfaces will actively call VIPremium version of Vim:vi. is a program development toolAccording to the
From: http://www.bubuko.com/infodetail-469867.html
Vim system Clipboard"+y Copy to system Clipboard"+p paste the contents of the system Clipboard into vimWhen you use Vi/vim in Ubuntu, you find that you cannot use the system's clipboard.On the
Original address: http://blog.chinaunix.net/uid-22548820-id-3477464.html1. Use the VIM comparison mode to open two files:vim-d file1 file2OrVimdiff file1 file22. If you have already opened the file File1, then open another file file2 to compare::
Most commonly used:X Delete the following character x delete the previous character Delete 3 characters is 3xDD: Delete one row D Delete to end of lineJ: Remove line breaks to make the next line come up. NJ: Connecting the following n rowsU: Undo
Press ESC to enter command mode1. Replace:%s/str1/str2/g replaces all str1 in each row as str2: S/str1/str2/g replaces all str1 in the current line as str2: N1,n2s/str1/str2/g replaces N1 line to N2 row in all str1 to STR2Note: Removing/g means
In Linux, the main editor is VI or VIM, this article around vim to do a simple explanation: Linux default self-contained VI (VIM) editor, its package is: [[email protected] ~]# rpm-qf ' which VI ' vim-minimal-7.2.411-1.8.el6.x86_64 [[email protected]
Chapter Description :This section will teach you how to use the Vim editor to write documents , configure host names , network card parameters , and the Yum repository , and be familiar with the various modes and command shortcuts.We can finally
A book worth reading, "Vim practical Tips"I contacted Linux in 2014, in the process of using the Linux Vim editor, encountered some vim editor skills, feel good magic, strong. Linux Basic Books also introduce Vim, but not comprehensive, so at the
Vim-snipmate is really good to use, before a lot of writing code problems are solved perfectly. It also comes with a boost to my understanding and confidence in vim, thanks to the author here. Thank.1, now say I condensed the important grammar.1,
Header:%s/^/your_word/End of Line:%s/$/your_word/Key operation:Note: Ctrl + V enters column edit mode, moves the cursor down or up, marks the beginning of the line that needs comment, then presses the uppercase I, then inserts the comment, such as "#
https://www.zhihu.com/question/27478597
Ctrl-y in insert mode, repeats the character of the line on the current cursor
GD Highlight Current Word
CC Deletes the current line and inserts
"." This mark represents the last time the change
Authoring GTK Source-level vim Help document tagsReason
That only see the source code. On the Linux source has a website http://lxr.linux.no/+trees, can be very aspects to find out the corresponding version of the code implementation, GTK
Back up a bit more handy configuration fileSet sw=4Set ts=4Set ETSet SmarttabSet SmartindentSet LBRSet FO+=MBSet SMSet selection=inclusiveSet WildmenuSet Mousemodel=popupAu FileType php setlocal dict+=~/.vim/dict/php_funclist.dictAu FileType css
VIM InstallationCommand: sudo apt-get install vimConfiguration:Configure the VIM,/ETC/VIM/VIMRC file just fine, (I found a more powerful vim configuration file on the Internet, copied to the/ETC/VIM/VIMRC inside, the effect is good)Configuration
After studying vim for some time, it was not until recently that Vim's diff function was so convenient that it was no longer necessary to look for diff software or to rely on version-controlled diff in contrast to code changes. Powerful vim.Is my
From http://blog.csdn.net/shuangde800
This article takes notes when you learn how to use the VI Editor, prepared by Lamb & Robbins.
Content:Basic global replacement confirm replacement context-related replacement
This article stipulates:$ + Command
# Step 1
Summary of v I m tutorial (version 1.5)
(Note: This article is only a personal study summary. We recommend that you start this tutorial. You only need to enter the command $ vimtutor in VI)
Vim is a powerful editor with many commands.
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.