Visual bookmarks in Emacs

Source: Internet
Author: User

Previously, emacs bookmarks (c-x r m, C-x r B, C-X R L) were used ).

When we configure Vim today, we can see that Vim has a visualmark plug-in that can visually display bookmarks in files, which is more intuitive than the built-in bookmark of vim, and it uses the same key binding as Visual Studio, which is convenient for those who are used to Visual Studio.

I suddenly felt that I was not used to bookmarks like Emacs. Is there any plug-in like visualmark that can be used to visually set bookmarks. After a while, I found a usable one: linemark. El IN THE eieio component of cedet.

Run (enable-Visual-studio-bookmarks) to enable the visual bookmarks function, and then you can use a key binding operation similar to Visual Studio to operate bookmarks:

F2 Set or remove bookmarks in the current row
C-F2 Find the next bookmarks
S-F2 Search for the last bookmarks
C-S-F2 Clear all bookmarks of the current file

The Set Bookmarks can be viewed by special background colors, which is much more intuitive than the built-in bookmarks. See the figure below:

Different from built-in bookmarks, the bookmarks supported by linemark. El can only be in the current buffer and cannot be used across the buffer. However, it is enough for me.

 

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.