0

Using org-mode, I can open a single url with Cco on it.

But if I have a list of them like:

- http://www.cnn.com
- http://www.example.com

How can I tell it to open all of them in different tabs?

I use Firefox. Marking all and applying Cco would just run the last one.

1

Use the multiple-cursors package! When you have all lines in your region you can use mc/mark-lines to create cursors for each line. Move your cursors onto the URL and use your usual command to open the link (sounds like C-c o?). Answer 'yes' when asked whether to use the command for all cursors.

Multiple cursors offers a variety of other approaches to create cursors (mc/mark-next-like-this, mc/mark-all-like-this, mc/mark-all-like-this-dwim, etc.). Play around with them a little bit to decide what's comfortable. I have a selection of mc commands bound to C-c m for convenience.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.