The Vim editor can be divided into 3 modes, namely command mode, insert mode, and bottom line mode, as shown in the diagram of Vim's various modes of conversion.Command mode: Control the movement of the screen cursor, the deletion of text, copying
Vim View function prototypesVim View function prototype can be divided into system functions and custom functionsFirst, the system function:I use Shift+kSecond, the custom function: Vim with ctags realization function prototype fast
ObjectiveHave always been to Linux and vim, in fact, Windows is also very good, because there are some situations in the work can only use Windows to develop, including some APIs or SDK are only Windows version, just use Linux when the feeling and
1. Change your mind-vim no mouse text Editing toolIn the bird's Linux private dish, this explains Linux:1. Vim is a very powerful text editing tool in the Linux like system with a long history and many systems have built this tool.2. Vim has the
Vim Command Collection 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
Under Win, code debugging or VS is the most convenient, when using vs open exe, vs need to quickly locate the file, in source Insght, write a macro, with a shortcut key implementation. But how do you do it in vim? Looked for again, did not find
Kkninjae Source: Http://www.cnblogs.com/kkninjae reprint Please indicate the source, thank you.This note is a video learning note from the previous study of Vim, which is now organized here. (Note: This video is from YouTube and may have been
Find/csdn down to find a string called CSDN? Csdn up to find a string called CSDNn N is the English letter, which means to continue looking down the previous find Operation (in conjunction with the above operation)n N is the English letter, which
One, VIM editor:Text editor, word processor. Getting Started editor (nano,sed)VI Editor: (Visual Interface)Vim Editor: (VI improved) Enhanced EditionSecond, VIM mode:1. Turn on vim default to edit mode (Command mode): All mechanical commands are
With Vim for some time, I would like to write down some interesting tricks.
Jump
HJKL, left bottom right.
B/E jump to top/next word
^/$ jump to wardrobe/tail
from {, [, (, corresponding},],) jump to each other, you
Problem one: Using SECURECRT telnet machine, using Vim Viewer program, is garbledWorkaround: In SECURECRT settings, set the character encoding to utf-8650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M01/57/0A/
Change the TAP key unitVi/vim Editor By default, tap is relative to 8 spaces each time it is pressed.(1) Temporary changesAfter opening the file with VI, enter the following command:: Set tabstop=4Command interpretation: Change to the equivalent of
Open multiple FilesVim File1 file2: Open/:e does not close vim open fileSub-frame window: New Window: SP Landscape: VSP Portraitctrl+w window switch: TABC Close the current window: Tabo Close All windows: Ctrl+w + Vertical expansion (Increased
The most common use of vim to edit a single file, see the source code. is to write a few K line of code when there are no other plug-ins, just set a highlight and some of the properties of their own. The advantage is that it can be used immediately
Tiger, wrote a function, and added a shortcut key for the Octopress article to add some specific content, in the article list and the first page to display the article introduction or summary, and to create a directory of the article.The reason to
1. Folding Mode The option ' Foldmethod ' can be used to set the folding mode: Set fdm=*****.There are 6 ways to select a fold:Manual manually defined FoldingIndent more indents represent higher levels of foldingExpr defines the collapse with an
Vim Inside Display TAB key1, the document has the TAB key time, you are invisible. To show it:C code: Set list: Set list Now the TAB key is displayed as ^i, and $ is displayed at the end of each line so that you can find whitespace that may be
Configure VIM to do it. First PWD, check the user root directory $ pwd /home/administrator $vim /HOME/ADMINISTRATOR/.VIMRC Set nocompatible Set Backspace=indent,eol,start Set ruler Set ShowCmd Set Wildmenu Set FO=CQRT Set laststatus=2 Set textwidth=
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