Textmate 2 Tips

  • Archive
  • RSS
  • Submit

Replicating Edit Each Line In Selection

Here’s a great tip from eirkeirkeirk :

 I noticed the ⌘⌥A command was gone from TM2. But I figured out a way to replicate it.

- Select all the lines you want to edit

- Turn it into a column selection (tap ⌥)

- Then ⌘→ to move all the carets to the end of each line

This is actually better than the previous incarnation because:

- You can actually see the carets, where as before you were typing blindly

- Each caret acts smarter. So you can do things like  ⌥← to move back one word in each line.

He’s also provided a quick video showing it in action: http://dl.dropbox.com/u/364257/editall.mov

    • #Multiple Carets
    • #Multi select
    • #submission
  • 1 year ago
  • 2
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

2 Notes/ Hide

  1. julianstahnke likes this
  2. trey likes this
  3. eirkeirkeirk submitted this to tm2tips
← Previous • Next →

Logo

Textmate 2: The missing manual. Help us out by submitting any tips or tricks you come across!

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Submit
  • Mobile

Brought to you by Ned Schwarz..

Effector Theme by Pixel Union