# Suggestion - link to existing content faster from the url button

**URL:** https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482
**Category:** Support
**Created:** [01.Октябрь.2018 13:46:35 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482 "2018-10-01T13:46:35Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![nordize](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@nordize](https://meta.discourse.org/u/nordize)
#### Post date: [01.Октябрь.2018 13:46:35 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/1 "2018-10-01T13:46:35Z")

</div>

With all the smoothness of Discourse, I’m surprised this doesn’t already exist (it exists in Wordpress - you know, that ugl…wonderfully coded thing).

I many times link to existing topics on our Discourse installation, and I have to navigate to it, copy the link to clipboard, come to the new post and paste it. When pressing the Hyperlink button, could we have an inline search like we have with the “Tags” box for titles? Start typing a few letters and get a list of matching topics that we can just select? That would be awesome and helpful.

p.s. Or is there a plugin for this already?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [01.Октябрь.2018 14:11:58 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/2 "2018-10-01T14:11:58Z")

</div>

This has been discussed many times. You should be able to find the discussion with a search. I think it’s just that it’s harder than it seems. You can navigate to the topic while you are composing and even quote from it, so you don’t have to navigate back.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [01.Октябрь.2018 14:15:30 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/3 "2018-10-01T14:15:30Z")

</div>

At [https://meta.discourse.org/t/how-about-mentioning-topic-feature/7350/2](https://meta.discourse.org/t/how-about-mentioning-topic-feature/7350/2) we discuss this power user feature, where you can press CTRL+ALT+F while composing a post, type your search, select the match with ↑ or ↓ and then press A to insert it on the composer.

I created the link above using it.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [01.Октябрь.2018 14:21:23 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/4 "2018-10-01T14:21:23Z")

</div>

Wow. I missed that. The post you linked to says

> [@codinghorror](#):
>
> Give that a shot, I’d much rather improve search for everyone instead of adding a secret shortcut few will learn

Which doesn’t really explain the secret shortcut you describe. 😉

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [01.Октябрь.2018 14:22:56 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/5 "2018-10-01T14:22:56Z")

</div>

> [@pfaffman](#):
>
> Which doesn’t really explain the secret shortcut you describe. 😉

If you scroll down there you get to

[https://meta.discourse.org/t/how-about-mentioning-topic-feature/7350/44?u=falco](https://meta.discourse.org/t/how-about-mentioning-topic-feature/7350/44)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [01.Октябрь.2018 15:31:07 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/6 "2018-10-01T15:31:07Z")

</div>

I for one am a now a big fan of the secret shortcut. Now if only it could also search the github repo so that I could quickly link to INSTALL\_cloud. Maybe `CTRL-ALT-SUPER-F` could search that too. 😉

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [01.Октябрь.2018 15:36:04 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/7 "2018-10-01T15:36:04Z")

</div>

I know you are joking but that is actually possible with a plugin, and @vinothkannans created just that for a customer 🤯.

Basically on search you hit an external service, and merge the results in the search results.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [01.Октябрь.2018 15:39:38 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/8 "2018-10-01T15:39:38Z")

</div>

> [@Falco](#):
>
> I know you are joking but that is actually possible with a plugin, and @vinothkannans created just that for a customer 🤯.

Very cool!

Actually, what would be cool and pretty easy here is that replace-a-word theme that would re-write INSTALL-cloud (and something for the EMAIL-cloud or whatever that is) as a link to the install document. Several hundred times a week, I have to track down that link. 🙂

---

<div class="post-metadata">

### Author: ![nordize](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@nordize](https://meta.discourse.org/u/nordize)
#### Post date: [07.Октябрь.2018 11:33:56 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/9 "2018-10-07T11:33:56Z")

</div>

I think a transparent inline search with suggestions like the Tags box (with a longer delay after last keypress, if we’re worried about traffic/cpu) is much better than a secret shortcut. Anyone else? Is there a chance it will get implemented?

---

<div class="post-metadata">

### Author: ![danekhollas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danekhollas/32/79637_2.png) [@danekhollas](https://meta.discourse.org/u/danekhollas)
#### Post date: [07.Октябрь.2018 12:13:55 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/10 "2018-10-07T12:13:55Z")

</div>

I’d support this, although it probably only make sense as a plugin or behind a site setting. It would be super useful for example in Wiki categories.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [07.Октябрь.2018 12:41:07 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/11 "2018-10-07T12:41:07Z")

</div>

Shortcut works for me, but we should definitely publicise it.

Something discobot could teach?

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [07.Октябрь.2018 16:21:30 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/12 "2018-10-07T16:21:30Z")

</div>

Shortcuts are great. What I don’t dig is shortcuts that accomplish things you can’t do from the UI.

Also, I just tried to click ctrl alt f on my phone, but I couldn’t.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [07.Октябрь.2018 20:45:56 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/13 "2018-10-07T20:45:56Z")

</div>

I really like in-line cause I don’t have to jump around as much, but finding a trigger here is ultra hard, all the good ones are taken.

Maybe #howto:search #howto:”search here” could work, not sure, recommend somebody from the wider community experiments in a theme component

---

<div class="post-metadata">

### Author: ![danekhollas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danekhollas/32/79637_2.png) [@danekhollas](https://meta.discourse.org/u/danekhollas)
#### Post date: [07.Октябрь.2018 20:58:10 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/14 "2018-10-07T20:58:10Z")

</div>

> [@sam](#):
>
> I really like in-line cause I don’t have to jump around as much, but finding a trigger here is ultra hard, all the good ones are taken.

Why not just making it a part of the link modal that you open with Ctrl + K?

---

<div class="post-metadata">

### Author: ![nordize](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@nordize](https://meta.discourse.org/u/nordize)
#### Post date: [08.Октябрь.2018 10:16:03 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/17 "2018-10-08T10:16:03Z")

</div>

> [@sam](#):
>
> I really like in-line cause I don’t have to jump around as much, but finding a trigger here is ultra hard, all the good ones are taken.

I was initially suggesting that it could be first implemented for the “Insert hyperlink” button. Click/tap that, start typing in the box and get auto-completion … why hasn’t that been a thing for Discourse when it has been for ages for Shartpress? 😄 You don’t need any triggers there and should be easy to get going (famous last words?).

That would be a great start, and better than the current option.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [08.Октябрь.2018 10:18:25 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/18 "2018-10-08T10:18:25Z")

</div>

Right but that changes the semantics of “Insert Link” considerably. It becomes "Insert Link.. to _this forum!"_

It’s not a bad idea, I do like that it puts the functionality into an existing dialog, but it would be .. weird. I am linking to the outside web _way_ more than I am linking internally to meta, for example.

---

<div class="post-metadata">

### Author: ![nordize](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@nordize](https://meta.discourse.org/u/nordize)
#### Post date: [08.Октябрь.2018 10:25:07 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/19 "2018-10-08T10:25:07Z")

</div>

> [@codinghorror](#):
>
> It becomes "Insert Link… to _this forum!"_

You’re not forced to insert any of the suggested entries. In my first post I was pointing to the fact that you guys literally implemented exactly that for the `"Optional tags +"` box in the “Edit title” (where you can create a new tag if none of the matching ones that it suggests in the dropdown as you type are appealing). You could do the same for the Insert hyperlink box:

- click “Insert hyperlink”
- start typing
- open underneath a dropdown list of matching existing topics
- continue typing and ignore dropdown if not interested
- pick an entry from the dropdown if interested

Win-win as far as I can see.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [08.Октябрь.2018 10:28:28 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/20 "2018-10-08T10:28:28Z")

</div>

Part of the issue here that has gone unmentioned is that typically internal URLs are preferable to onebox, not link.

It’s much better to show readers the destination, after all.

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [08.Октябрь.2018 10:50:58 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/21 "2018-10-08T10:50:58Z")

</div>

The Wordpress functionality really works quite well in this regard. You don’t have to choose between internal and external, nor does it assume one or the other.

If you’re inserting an external link, you’re generally not going to be typing it, but pasting it. If a link gets pasted in, don’t bother to search. If words start getting typed, run a live search for suggestions.

Not sure it would need to prevent one-boxing either. Presumably it already puts the whole link in if they don’t add the optional title. Isn’t that how a one-box is created anyway?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [08.Октябрь.2018 10:57:40 UTC](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482/22 "2018-10-08T10:57:40Z")

</div>

> [@jtbayly](#):
>
> If a link gets pasted in, don’t bother to search. If words start getting typed, run a live search for suggestions.

Oh that’s very a _pinteresting_ idea. I like that.

[Следующая страница](https://meta.discourse.org/t/suggestion-link-to-existing-content-faster-from-the-url-button/98482.md?page=2)
