Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

More on LinuxToday


How To Add Bookmarks Inside Vim Editor

Feb 10, 2009, 04:32 (0 Talkback[s])

[ Thanks to An Anonymous Reader for this link. ]

"1. Vim Local Bookmark
Within a single file when you want to go to a particular position or line, then you can use local marking. If the bookmark name is a lower case letter, then that is local mark.

"How to Create Bookmark Inside Vi?
Type m{macro-name}. macro-name is an alphabet to refer to the name of the bookmark.

"If you type "ma" , it will create bookmark on the current line at the current location with name "a". In the following example, typing ma has created a bookmark at the exact location where the cursor is highlighted."

Complete Story

Related Stories: