2 votes

Add link with `C-k` on selected text

Maybe that's a bit of a silly request, but I like to add a lot of links to my posts and I'm used to this function on Reddit.

Thanks!

9 comments

  1. [8]
    mrbig
    Link
    @deimos could I get any feedback on this? Cause in the last few days I've been pressing C-k on Tildes A LOT like the idiot I am :P

    @deimos could I get any feedback on this? Cause in the last few days I've been pressing C-k on Tildes A LOT like the idiot I am :P

    1. [4]
      Deimos
      (edited )
      Link Parent
      Honestly, you should probably learn how to write userscripts and/or browser extensions. You seem to have a lot of very specific, niche requests for functionality that are unlikely to be...

      Honestly, you should probably learn how to write userscripts and/or browser extensions. You seem to have a lot of very specific, niche requests for functionality that are unlikely to be implemented (or at least not any time soon). But they'd almost always be relatively simple to do on your end with a custom script, and by doing that you could even extend the behaviors you like to all sites, not just Tildes.

      I probably wouldn't want to implement this request at all. The text entry boxes on Tildes aren't "rich text editors", they're just a standard HTML <textarea>, and those don't have keyboard shortcuts or any sort of interface affordances for entering links. I don't think Ctrl-K is a shortcut on Reddit either, maybe some kind of extension you've installed there? RES?

      You've been talking about learning programming and some ideas for projects lately, I think you should really consider putting that effort towards some browser extensions/userscripts for yourself. It shouldn't be especially complex, and it would obviously be something you'd be personally invested in and motivated to figure out.

      10 votes
      1. Moonchild
        Link Parent
        I suspect they're using the reddit redesign; I don't use it myself, but from what I hear it has a rich text editor.

        I suspect they're using the reddit redesign; I don't use it myself, but from what I hear it has a rich text editor.

        1 vote
      2. [2]
        mrbig
        Link Parent
        You're right, I've been using RES for so long that I forgot it was not a feature of vanilla Reddit. I would love to implement something like that in the future, but in the meantime, I decided (I'm...

        You're right, I've been using RES for so long that I forgot it was not a feature of vanilla Reddit.

        I would love to implement something like that in the future, but in the meantime, I decided (I'm very undecided) to focus on Python. I was doing the Colt Steele WebDev bootcamp, but I was a bit disappointed with the fact that he stayed way longer with Bootstrap than with CSS and its more "builtin" features. Plus, I'm very particular about appearance and glancing Bootstrap didn't come even close to fulfill my needs - even from a beginner standpoint.

        I tried Freecodecamp, but their builtin editor is so so bad, and it doesn't work with Emacs Anywhere.

        If it looks I'm an annoying peace of shit that's because it's true, I have so many mental-ilnesses even my doctor sometimes don't know what to do.

        Anyway, learning Web Develoment as a first programming experience felt chaotic and excessively byte-sized. There are lots of little pieces you must learn before putting even the most simple thing together (databases, backend, frontend... and there's also whole Javascript thing with its 200 million packages and frameworks). My anxiety went through the roof. I need something more predictable, structured, organized, made by a single guy or a single group. I need Python.

        I studied Python intermitently many times in my life, but never went very far. I want the satisfaction to "complete" something that is self-consistent (IDK if that word even exists, hope you get what I'm saying). And I have the impression that a simple Python CLI app will help me achive this goal faster.

        Either way, Web Development is something very people can go without learning, and after this first experience I think I'll feel more confidente to resume my WebDev studies.

        Makes sense?

        1 vote
        1. Deimos
          (edited )
          Link Parent
          Oh definitely, I know that web development's difficult because of all the different elements. But that's actually one of the nice parts of writing a userscript or extension—you don't need to do...

          Oh definitely, I know that web development's difficult because of all the different elements. But that's actually one of the nice parts of writing a userscript or extension—you don't need to do all those pieces, because you're basically building on top of an existing site that's already doing them. You only have to write the Javascript for the behavior you want, and maybe some very simple HTML/CSS (which can probably just be copied from the site). It's very different from building something from scratch and saves you from a lot of that complexity.

          3 votes
    2. [3]
      cfabbro
      (edited )
      Link Parent
      This may not be specifically what you're looking for, but Deimos has approved the Tildes Gitlab feature request related to keyboard navigation: https://gitlab.com/tildes/tildes/issues/251 And he...

      This may not be specifically what you're looking for, but Deimos has approved the Tildes Gitlab feature request related to keyboard navigation: https://gitlab.com/tildes/tildes/issues/251

      And he has also previously mentioned understanding why people want native keyboard navigation/shortcuts for the site, and why that offers advantages over generalized extensions:
      https://tildes.net/~tildes/61t/suggestion_browsing_keyboard_shortcuts#comment-1qd3

      So I suspect keyboard shortcuts/navigation will get implemented here eventually. However, I wouldn't hold my breath for it (unless you're willing to develop the feature yourself and merge request it) and even if/when it does get developed, which keyboard shortcut standard gets chosen is probably up in the air, so I wouldn't count on c-k working the same here.

      4 votes
      1. [2]
        mrbig
        Link Parent
        Do you think a thread on ~tildes about how and why to post issues directly to Gitlab would be a good idea? I might do it, as soon as I learn it myself. And one of the mods could stick it (there...

        Do you think a thread on ~tildes about how and why to post issues directly to Gitlab would be a good idea? I might do it, as soon as I learn it myself. And one of the mods could stick it (there are "sticky pages on Tildes? not sure).

        2 votes
        1. cfabbro
          (edited )
          Link Parent
          There is no sticky yet... although the feature has been implemented (just not merged yet? it's a bit unclear): https://gitlab.com/tildes/tildes/issues/19 And as for posting issues to Gitlab, I...

          There is no sticky yet... although the feature has been implemented (just not merged yet? it's a bit unclear):
          https://gitlab.com/tildes/tildes/issues/19

          And as for posting issues to Gitlab, I have actually previously written out the steps if you need them:

          Submitting issues to gitlab is pretty easy:

          Step 1: Go to Tildes repo issues page. https://gitlab.com/tildes/tildes/issues
          Step 2: Log in to Gitlab (if you haven't already).
          Step 3: Click 'new issue'.
          Step 4: Fill out the title and description to the best of your ability.
          Step 5: Click 'submit issue'

          Us "reporters" can handle the rest, like labeling it properly. And if you make a mistake we can fix them for you too, and add more details if required.

          But even so, a more formal and thorough guide for doing that on the ~tildes wiki would be great, if you want to write one up. If it's good enough I can even add it to the official docs as well (if Deimos approves). :)

          2 votes
  2. mrbig
    Link
    I think it would be a logical choice: I don't have any data on that, but my impression from the posts is that most Tilderinos come from Reddit.

    which keyboard shortcut standard gets chosen is probably up in the air, so I wouldn't count on c-k working the same here.

    I think it would be a logical choice: I don't have any data on that, but my impression from the posts is that most Tilderinos come from Reddit.