Top Banner
Multiple Cursors in Sublime Text fallroot @ FRENDS #toolcon2014
23

Multiple Cursors in Sublime Text

Aug 27, 2014

Download

Software

How to use multiple cursors and selections in Sublime Text
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • Multiple Cursors in Sublime Text

    fallroot @ FRENDS

    #toolcon2014

  • fallroot

  • Symbols

    Command Delete Control Escape Option / Alt Page Up Shift Page Down Tab Space Return

  • Beginning of the document

    End of the document

    Beginning of the current line

    End of the current linehttp://support.apple.com/kb/ht1343

    http://support.apple.com/kb/ht1343
  • Sublime Text

  • Beginning of the previous word

    End of the next word

    http://support.apple.com/kb/ht1343

    http://support.apple.com/kb/ht1343
  • Word Separators Preferences > Settings - Default

    "word_separators"

    ./\()'-:,.;~!@#$%^&*|+=[]{}`~?

    Differ from OS X slightly

  • Word Separators

    var FRENDS = FRont-End Developers;

    var FRENDS = FRont-End Developers;

    var FRENDS = FRont-End Developers;

  • Word Separators Non Case Sensitive

    Underline not included

  • Subword

    TitleCase, camelCase and under_line

    TitleCase, camelCase and under_line

  • Notice

  • Selection

    All A Scope

    Line L Brackets M

    Word D Indentation J

    Paragraph Tag A

  • D Expand Selection to Word

    Quick Add Next

  • DDD

    D

    function getPrice(product) {

    if (!product.price) {

    product.price = 0;

    }

    return product.price;

    }

  • DD

    D

    C

    Java

    JavaScript

    Python

    Ruby

    C

    Java

    JavaScript

    Python

    Ruby

  • Quick Add & Skip

    Quick Add Next D

    Quick Skip Next K D

  • function createThumbnail(comic) {

    var img = document.createElement('img');

    var url = 'http://cdn.lezhin.com/comic';

    img.src = url + comic.comicId;

    document.body.appendChild(img);

    }

    D

    DKD

  • Soft Undo & Redo

    Soft Undo U

    Soft Redo U

  • Column Selection

    Drag

    Click

    and

  • Notice

  • Practice Editing CSV

    Instant Editing

    Lines to Tag

    Sort

    CSS / SQL

    Invert Selection

    Extract

  • References http://www.sublimetext.com/docs/3/

    http://sublime-text-unofficial-documentation.readthedocs.org/

    http://pragprog.com/book/textmate/textmate

    http://www.sublimetext.com/docs/3/http://sublime-text-unofficial-documentation.readthedocs.org/http://pragprog.com/book/textmate/textmate
  • .