Mark the current line and move along the selected lines

In Visual Studio we can use:
CTRL+kk place marker in current line
and
CTRL+kn to move along the marked lines.

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

thank

+77
sublimetext2 sublimetext
Apr 19 '12 at 14:18
source share
3 answers

Oops! Go to Preferences>Key Bindings - Default , this is a file with all the default key bindings. Read it all! (many advantages) Here is cutting and pasting bookmark information (linux), which should be understandable.

 { "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" }, 
+159
Apr 19 '12 at 17:58
source share

Actually, you can. Here's a screenshot of a menu with a Mac. Hope this helps.

Sublime text2

+39
Aug 16 '13 at 3:05 on
source share

The bookmarking system is pretty good, but I would suggest you try the SublimeBookmarks plugin, which extends the capabilities of the built-in mechanism.

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

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

+16
Feb 27 '14 at 11:31
source share



All Articles