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.