VIM + Linux + ctags + taglist + winmanager + grep + cstab + supertab + visualmark-visualmark

Source: Internet
Author: User

1 download: http://www.vim.org/scripts/script.php? Script_id = 1, 1026
2. decompress the file visualmark. Vim to the/usr/share/Vim/vim70/plugin folder.
3. Help;
4 usage:

This "bookmark" has a major disadvantage: invisible.
The visual mark plug-in I will introduce below has nothing to do with "mark" in Vim, not to make it visible, but to itself be "visible bookmarks ", next, let's look at it. The author's words are like "bookmarks in ultraedit ".
In addition, there are plug-ins that make the mark in VIM visible on the Internet, but I tried it. It seems that visual mark is not easy to use and I will not introduce it.

After visual mark is installed according to the above method, you do not need to set anything. If it is gvim, you can directlyCodePress Ctrl + F2. If Vim is used, use "mm". How can I find that the row where the cursor is located is highlighted? See:

After visual mark is installed according to the above method, you do not need to set anything. If it is gvim, press Ctrl + F2 on the Code directly,
If it is vim, use "mm". How can I find that the row where the cursor is located has become high? See:

If you have set multiple bookmarks, you can use the F2 key to switch forward during the period, and use Shift + F2 to switch backward during the period.
Okay. I have finished introducing visual mark. It's easy enough. ^_^.

If you suspect that the color of the bookmarks is poor, you can define it by yourself, but you can modify the source code of the plug-in script,
In the directory ~ /. Vim/plugin/, find and open visualmark. Vim, and find the following code:
If & BG = "dark" // set different bookmarks based on your Background Color Style
Highlight signcolor ctermfg = white ctermbg = blue guifg = wheat guibg = Peru
Else // modify the value of guibg to set the color of the bookmarks.
Highlight signcolor ctermbg = white ctermfg = blue guibg = gray guifg = royalblue3
Endif

I still have a few questions:
1. This bookmarks cannot be automatically saved. If you disable vim, it will be gone.
2. You cannot switch between different files when switching bookmarks. You can only switch between the same file.

Related content from: http://blog.csdn.net/wooin/archive/2007/10/31/1858917.aspx

 

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.