Upload

Sublime Text 2 Tutorials #6 - Using Multi Select

LevelUpTuts LevelUpTuts·319 videos
8,806

Subscription preferences

Loading...

Loading icon Loading...

Working...
3,182
Like     Dislike 1

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to like LevelUpTuts's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to dislike LevelUpTuts's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to add LevelUpTuts's video to your playlist.

Published on Dec 13, 2012

The 6th video in the Sublime Text 2 tutorial series. Here I give a brief overview of Sublime Text 2's multi select features.

  • Category

  • License

    Standard YouTube License

Loading icon Loading...

Loading icon Loading...

Loading icon Loading...

The interactive transcript could not be loaded.

Loading icon Loading...

Loading icon Loading...

Ratings have been disabled for this video.
Rating is available when the video has been rented.
This feature is not available right now. Please try again later.

Uploader Comments (LevelUpTuts)

  • therflash

    Drop the mouse guys, just FORGET IT! We're bloody coders, not graphic designers, we don't need mouse! Mouse slows you down. By default, alt+shift+up/down makes one more cursor above or below other cursors for you. Ctrl+right/left moves all cursors one word right/left, alt+right/left moves by sub-words (underscore separated or camel case ), ctrl+shift+L splits all the selections in separate lines. Forget using mouse, it's too slow. Use shortcuts, it's orders of magnitude faster.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate therflash's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate therflash's comment.
  • LevelUpTuts

    I agree that using the keyboard is faster, however I disagree that there is inherently a right and wrong way to code. The mouse aids me as any other tool, no need to completely dismiss it. Do whatever allows you to code most efficiently.

    · 2

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate LevelUpTuts's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate LevelUpTuts's comment.
    in reply to therflash (Show the comment)
  • Александр Тарасов

    for windows users:

    multiple selections with mouse right button:

    -Ctrl to add to the selection

    -Alt to remove from the selection

    Dragging with the mouse wheel will do a column selection. You can use Ctrl and Alt with this too. Shift+Right mouse button is an alternative way to initial a column select.

    search:

    Alt+F3 to find all occurrences of the current word or selected text

    · 2

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Александр Тарасов's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Александр Тарасов's comment.
  • LevelUpTuts

    Thanks! I've been meaning to do these videos in Windows but my mic manufacturers decided not to make drivers for Windows, so I have to find a different mic for those videos.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate LevelUpTuts's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate LevelUpTuts's comment.
    in reply to Александр Тарасов (Show the comment)
  • TheSamohon

    Thanks Scott... I use ZenCoding with ST2, a simple command like,,,

    div#page>div.logo+ul#navigatio­n>li*5>a

    and receive an UL with 5 LI's waiting to be populated

    But multi-select inside ST2 is great... Thanks again...

    · 2

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate TheSamohon's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate TheSamohon's comment.
  • LevelUpTuts

    I've been a huge fan of using Emmet / Zen lately. I find it even faster to code than using HAML on my Rails projects.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate LevelUpTuts's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate LevelUpTuts's comment.
    in reply to TheSamohon (Show the comment)

All Comments (21)

Sign in now to post a comment!
  • therflash

    Ah, I see, it's different in Windows. You're right, it's ctrl+alt+up/down in windows.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate therflash's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate therflash's comment.
    in reply to Shougo Amakusa (Show the comment)
  • Shougo Amakusa

    It is ctrl+alt+up/down for more cursors.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Shougo Amakusa's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Shougo Amakusa's comment.
    in reply to therflash (Show the comment)
  • angelwhite

    The mouse doesn't actually allow you to code more efficiently. More efficiently than before you used it, maybe, but not more efficiently than knowing the proper keyboard shortcuts. Anyway, had to downvote, b/c I'm really just trying to figure out how to do what TM1 does, where I highlight a column using option. It's really far to cumbersome to do this via mouse. therflash says I can do this with alt+shift+up/down, but I'm on a mac, so no alt. Tried cmd, but that jumped to begin/end of doc.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate angelwhite's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate angelwhite's comment.
    in reply to LevelUpTuts (Show the comment)
  • therflash

    I take it back, the second video is not good. I use mouse a lot, but never to point cursors in text (Ok, maybe once a day). Sublime has so many search functions, you just don't need mouse. Unless it's some complicated position in text, using appropriate search is about 20 times faster than using mouse. Try at least ctrl+D, alt+shift+up/down, ctrl+(shift+)right/left, alt+(shift+)right/left, ctrl+i type search and alt+enter for "search all" And "search in selection". You'll save tons of time.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate therflash's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate therflash's comment.
    in reply to LevelUpTuts (Show the comment)
  • therflash

    You just don't know enough shortcuts. Ofcourse, there are many ways to juggle the code, but every decent programmer tells you that mouse is horribly slow. This is what multiple cursors are for (shame it's emacs): watch?v=jNa3axo40qM

    You can do the same with sublime, except renaming files like that.

    This one is not bad either... It seems there are very few videos that show decent use of multiple cursors. What a shame.

    watch?v=ZMpTk6D544Y

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate therflash's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate therflash's comment.
    in reply to LevelUpTuts (Show the comment)
  • TheSamohon

    Thanks Scott, I'll have a look. Anything to make the process easier...

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate TheSamohon's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate TheSamohon's comment.
    in reply to LevelUpTuts (Show the comment)
  • Frank Smith

    alt

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Frank Smith's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Frank Smith's comment.
    in reply to marius olariu (Show the comment)
  • Loading comment...
Loading...
Advertisement
Loading...
Working...
Sign in to add this to Watch Later