Keystroke links: Using Coda 2 to write blog posts

Up until recently, my favorite text editor was TextMate, and I not only used it to write code for websites, I also used to write blog posts in it. It had this hard-to-find feature that would let you highlight a word, and turn it into a link that lead to whatever was in your clipboard (copy/pasted URLs). I started using Coda 2 more and more and missed this feature. When I asked the Panic guys about it, they explained it in a couple tweets and I made a little video to show you how to do it too:

  1. Make sure the sidebar is visible in your main window (check the View menu if it is not)
  2. Click the Home icon, then Clips
  3. Right-click to make a new Clip
  4. Type out the code for a link
  5. Click between the quote marks and put in the option for “Clipboard Contents”
  6. Click the area between the tags and select “Text Selection”
  7. Set a keystroke for it, I selected Control-Shift-a.
  8. Save it, and start blogging up a storm in Coda 2

As silly as this one feature is, I’ve found it has saved me gobs of time when writing long blog posts that have tons of links in them. You just switch to your browser tabs, hit copy, then add them as links in your text, and repeat. I end up using this feature 20x a day it seems so I wanted to make sure other people know how to do it too.

(you might want to view the video full screen to see it more clearly)

3 thoughts on “Keystroke links: Using Coda 2 to write blog posts

  1. You inspired me to adapt this one a little (angle brackets removed):
    [a href=”Insertion Point Clipboard Contents”]Insertion Point Text Selection[/a]
    And activated with a tab trigger of “link”. Pretty fast, and multiple insertion points should allow tabbing back and forth to edit the output markup.


Comments are closed.