In the previous section (http://blog.csdn.net/lu_embedded/article/details/76732965) we have downloaded and installed some plug-ins through Vundle, some of which can be used directly, some need to be configured, Some need to compile, below we Yi
Vim Command mode uses:/To search for content to search, such as ":/term" in vim searching for term
The commands for modifying colors are as follows:
: Hi
After the command executes, it can display all the colors that can be set and choose one of
One, VIM: is the enhanced version of VI, Visual Interface improved, it is full screen editor, modal editor, text version processing tool.Vim Editor four modes: Edit mode (command line mode), input mode, last line mode, visual mode.Second, vim open
Tag:%s line number Delete tabs ignore UNIX binary highlight cursor Gconf-editor#Configuration Editor/etc/vimrc#configuration file pathVim +24 File#to open a file to a specified lineVim File1 file2#Open multiple FilesVim-o2 file1 file2#Vertical
Vim is the most common type of text editing software for Linux systems, and almost any Linux distribution will install this software by default. Although there are many text editing software for Linux Now, there is no substitute for the power of vim.
vim 存文本编辑器Syntax format: VIM "option" "File" vim [options] [file]Attention:1.vim command and subsequent options and files, there must be at least one space between each element2.vim can be divided into three modes: normal mode, edit mode, command
are all moving in command mode:J----> DownK----> UpL----> rightH----> LeftSave:W----> SaveExit:Q----> ExitQ!---> do not save forced exitPositioning:Number, G: Quickly navigate to the beginning of a lineG----> Navigate directly to the beginning of
One: Vim Undo and Redo U Undo Recent Changes#u撤销之前多次更改U undo cursor falls on this line after all the changes of this rowPress Ctrl-r to redo the final undo change. Repeat previous actionN. Repeat the previous action n timesExit mode e! Direct
I am installing Ubuntu under VM, using Vim to write run Hello WorldOpen Terminal in UbuntuTo check if g++ or GCC is installed, enter the command sudo apt-get install gccCheck if Vim is installed, enter command to install sudo apt-get install vimThen
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 "#", and then presses ESC, which is all
Because there is no official rules to modify the document, they are all groping to come, but also only their own use of the command to achieve the conversion.RegWrite only supports ROOTKEY\SubKey-linked formatsThe following commands still need to be
permissions are numeric:Basic Permissions r=4 w=2 x=1Additional permissions suid=4 sgid=2 Stiky bit=1Set permissions by using numeric formSpace occupied by the statistics file: Dudu [Options] ... [Directory or file]-S: Counts the total amount of
Enter edit mode1, [[email protected] ~]# vi/etc/services2, the input lowercase I and then issued will appear--insert--, you can edit## Each line describes one service, and is of the form:## service-name Port/protocol [aliases ...] [#
Pydiction is used to implement the code completion and syntax hints function. Pydiction cannot be installed via apt and needs to be downloaded and installed by itself.git clone https://github.com/rkulla/pydiction #https://github.com/ma6174/vim look
This command, which has been mentioned many times before, is a necessary tool in Linux. No amount of work can be done without it. Early UNIX was used as the system default editor for the VI. You may have doubts, what is the difference between VI and
How Vim artifacts are built
[Font: Big Small]
Vim is an ancient artifact, this article will continue to summarize the use of vim to understand some of the instructions and considerations, and continue to share
1, vi Multi-window editing command: vi-o file1 file2 Display multiple files vertically, inter-window shortcut key:ctrl+w(need to press two times W)Save and exit all windows:WQAExit all windows:QA650) this.width=650; "title=" Vi.png "alt="
Reference: http://blog.csdn.net/hk2291976/article/details/51280816Common commands:K,w: Move up;J,s: Move Down;H: Left;L: Right;U: Top Half pageD: Lower half pageGG: Web HeaderG: End of page0: Left of the page$: page Most RightCopy and paste in
When using VI on the putty, when opening numlock, press the numeric key on the keypad and not enter a number, but a letter and then newline (in fact, the command mode corresponds to the upper and lower keys). WorkaroundOption Terminal->features,
Vi/vim Keyboard Diagram-----Another desktop background good pictureMaybe there are a lot of people who are not willing to use the CLI vi/vim to write things, but when you really get used to it, its efficiency is immeasurable. The following picture,
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