Highlight Label *tag-highlight*
If you want to highlight all the tags in the file, you can use the following mappings.
--Generate the Tags.vim file and highlight the label.
--Highlight tags only based on existing tags.vim
First in the terminal input VIM test.c Enter the VIM editor, click a key, enter the editing state, and then enter the following C language statement: #include
int main () {printf ("Hello world!/n");} To do this, press ESC to exit the edit state,
C language in the Linux system is the importance of nature is unmatched, irreplaceable, so I write Linux Lake series can not mention C language. C language is my enlightenment language, thanks to the C language led me into the program world.
Under Linux to do development, and even only do management maintenance work, but also the use of vim. As a novice, I have just come in contact with this section of my daily use or collection of vim commonly used commands recorded.
Of course, just
First of all, thanks to the online Daniel:
http://www.vimer.cn/
And this brother: http://www.oschina.net/code/snippet_103341_9644
How can I have Ubuntu without vim?
Then the first tease than the now Windows installed Gvim ...
Sure enough, the
Use the Vim editor in Ubuntu in edit mode to use the next key will become the letter ABCD, using the HJKL key will become up and down around.This is because Ubuntu is preinstalled with the vim tiny version and requires a vim full version. Execute
:[range]s/from/to/[flags]
range: The search scope, if no range is specified, acts on but forward.
:1,10s/from/to/Indicates a search substitution between lines 1th through 10th (containing 1th, 10th lines);
Installation Instructions: http://www.cnblogs.com/zhcncn/p/4042926.htmlOfficial Installation Instructions: http://vimcdoc.sourceforge.net/The official has not been updated for a long time, after the successful installation, the Help document content
If you don't know where the VIMRC file is, you can use the: Scriptnames to viewSet Nu #行号Set tabstop=4 #一个tab为4个空格长度Set AI #设置自动缩进Syntax on #高亮2. BasicSPACEBAR to move one cell to the rightX Delete the following character x delete the previous
Vim ~/.VIMRCVim student.ccFirst of all. The Mac system already has Vim installed by default. Open terminal, input vim, enter.You can see, for example, the following interface, which means that Vim is already installed. Enter ": Q" in vimOn the
Ext.: http://www.cnblogs.com/lee0oo0/p/3548030.htmlAdvanced some of the editor, will contain the macro function, Vim is certainly not missing, the use of macros in Vim is very convenient:: QX starts recording macro and registers the result in
This week we went on to learn the other features of the Vim editor that we didn't finish last week, first learning to use VIM to edit multiple files, vim files 1 files 2 files 3 .... Then we learned to populate the current file with other files,
Advanced some of the editor, will contain the macro function, Vim is certainly not missing, the use of macros in Vim is very convenient:: QX starts recording macro and registers the result in register XQ Exit Record mode@x playing macro commands
Vim EditorText editor, word processorAsciiNano, SEDVi:visual InterfaceVim:vi improvedFull screen editor, modal editorVim mode:Edit mode (Command mode)Input modeLast-line modeMode conversion:Edit--Input:I: In front of the character of the current
Vim EditorText editor, word processorAsciiNano, SEDVi:visual InterfaceVim:vi improvedFull screen editor, modal editorVim mode:Edit mode (Command mode)Input modeLast-line modeMode conversion:Edit--Input:I: In front of the character of the current
Summary:A buffer is the in-memory text of a file.A window is a viewport on a buffer.A tab page is a collection of Windows.Window Toggle Shortcut key:Nnoremap j down switchNnoremap k Toggle UpNnoremap h Switch leftNnoremap l Right ToggleWindow
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.