Mark current Line, and navigate through marked lines

SublimetextSublimetext2

Sublimetext Problem Overview


In Visual Studio, we can use:
CTRL+kk to place a marker on the current line
and
CTRL+kn to navigate through marked lines.

My question is: is there a way to do this with Sublime Text2?

Thanks

Sublimetext Solutions


Solution 1 - Sublimetext

Yep! Go on the menus to Preferences>Key Bindings - Default this is a file with all the default key bindings. Read the whole thing! (lots of goodies) Here is a cut and paste of the bookmarks info (linux), which should be self explanatory.

{ "keys": ["f2"], "command": "next_bookmark" },
{ "keys": ["shift+f2"], "command": "prev_bookmark" },
{ "keys": ["ctrl+f2"], "command": "toggle_bookmark" },
{ "keys": ["ctrl+shift+f2"], "command": "clear_bookmarks" },
{ "keys": ["alt+f2"], "command": "select_all_bookmarks" },

Solution 2 - Sublimetext

Actually, you can. Here's the menu screenshot from a mac. I hope this helps.

Sublime text2

Solution 3 - Sublimetext

The bookmarks system is pretty OK, but I would suggest you to try the plug-in "SublimeBookmarks" which extends the capabilities of the built-in mechanism.

Check it out here: https://github.com/bollu/sublimeBookmark

Preview: http://i.imgur.com/gtjChPG.gif enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAndré Alçada PadezView Question on Stackoverflow
Solution 1 - SublimetextfraxelView Answer on Stackoverflow
Solution 2 - SublimetextjuanchodView Answer on Stackoverflow
Solution 3 - SublimetextGeorge MastroView Answer on Stackoverflow