Showing literal links in org mode

Ever wanted to edit a link in org-mode? And started ruining everything by randomly deleting things to get to the plain text link?

Org mode has this syntax for links:

[[http://google.com][Google]]

it shows as Google in Org Mode. Which is great for streamlining long links into a small one.

But there’s a nice helper function in org-mode that enables you to have the best of both worlds.

M-x org-toggle-link-display

and this will show the plain text syntax for you to edit.

You can use the same function again and it will go revert back to the short links!