Tagbar is a taglist alternative, more suitable for C + + use than taglist, functions can be differentiated by class, support folding display by class, display results are clear and concise, strongly recommended, as follows:http://www.vim.org/scripts/
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
A. Mobile:H,j,k,l: Left, bottom, top, right.W: The first word of the next word.E: The ending of the next word.B: The word head of the previous word.Two. Jump:%: Can match {}, "", (), [] jump between.H, M, L: Jumps directly to the top, middle, and
1. gedit Graphic Editing file2, vim operation of a file, if the file exists is opened, if the file does not exist, it will be created:[[email protected] ~]# vim XX3. Three modes of VIM:(1) command line mode;(2) Insert mode:(3) the last line
Original URL: http://blog.chinaunix.net/uid-23525659-id-4340245.htmlNote: If you are writing code with VIM, it is recommended to turn on Vim's file type auto-detection function, so that when the code is wrapped, it will be aligned automatically,
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
Yum-y install VIM, it is normal to use VIM to edit the text.But sometimes there will be vim can open, insert or modify the file, there is garbled, case of strange action.The reason is that Vim is not enabled properly.First, ensure that the client's
If you set the auto indent set autoindent in. VIMRC, when you paste the code in insert mode, VIM automatically indents the code, resulting in a confusing format. The solution is as followsSetting the set paste option in. VIMRC does not cause
@1: Winmanager:#1: The shortcut key to open Winmanager is configured in. VIMRC, which defaults to ": Wmtoggle", and nmap can be used to map it to other commands.#2:
Show Help
If the cursor is a directory,
Here is a simple introduction to the vim of the search and replace, it is well known that VIM support for regular expressions is very good, for programmers in the analysis of large amounts of data, the use of VIM this function is undoubtedly a
The color theme of Vim is in the/usr/share/vim/vim73/colors directory. After you open vim, enter ": ColorScheme" in normal mode to view the current theme, change the theme using the command ": ColorScheme MyColor", MyColor is you usr/share/vim/vim73
Reference:Http://linux.chinaunix.net/techdoc/beginner/2009/12/20/1150108.shtmlVim Command DaquanCursor control commandsCommand cursor movementH move one character to the leftJ Move down one lineK Move up one lineL Move one character to the rightG
1. Delete charactersX: Delete the character under the cursorDD: Delete a whole line, including line breaksJ: Delete the line break of the current line and execute anywhere in the current line2. Withdrawal and annoyance cancellationU: Undo the most
Resolution of the coding problem:
ANSI format encoding:
ANSI code (AMERICAN National Standards Institute), Chinese: Standard code for the American Standards Institute.Definition: Different countries and regions have set different
Like, it's all I'm used to.Up or down: JKHLNext word: wFirst word: bNext screen: Ctrl + FPrevious screen: Ctrl + BSearch some_string:/some_stringReplace the global some_string with new_string:%s/some_string/new_string/gContinue search Next:
The use of Linux nature to learn a good text editor, I would recommend the use of Vim here, not that it must be better than other editors, for vim, we can find a lot of useful resources through Baidu (Google was the wall, Baidu's English search is
Under Windows is generally used sourceinsight, to good use, but I also play vim. Source Insight executes an external command that can define a custom key in the settings, Gvim of course it's also good to do, colon Plus! You can also add a shortcut
Vi and vim Editor (11): advanced editing method (2)
Save command:
Vi and ex provide many methods to save a long string of command sequences. In this way, you only need to enter a few characters to call the saved sequence.
Abbreviation:
You can
Use the shortcut key of linux vim to move the cursor.
Move cursor
H or left arrow: The cursor moves a character to the left, and the numbers and letters are used together. 5 h indicates that 5 characters are moved to the left, and so on.
J or
SecureCRT ᬠ½ Ó linux £;vim ñé «{{}}}}}â
When Zookeeper 2 then 'zookeeper VIM £ ;?###************************ during» möö§ Ö öguíà à ³ Ð Ó? please refer to the following example for more information: 'I have bought £° ******************************
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.