• fibojoly@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          7 months ago

          Keeping their admin password in the history so they don’t have to alt+tab to their Secret Server webpage? W-who would do such a thing?!

      • suy@programming.dev
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        7 months ago

        Meanwhile, this was a feature on KDE-land since Klipper, which goes back (as far as I know and if I remember well) to KDE 3 or sooner.

        • dariusj18@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          7 months ago

          There have been third party clipboard managers forever in windows, which is kind of funny because that is almost more like the unix philosophy than expecting the UI system to handle it all.

          • suy@programming.dev
            link
            fedilink
            arrow-up
            0
            arrow-down
            1
            ·
            7 months ago

            Klipper was entirely a different program, process, etc. that was using the system tray. Nowadays it seems to be a plasmoid in the system tray. How can that be less of a UNIX philosophy than the Windows alternative? Because it’s developed by the same community that makes the shell? That doesn’t make sense to me.

            • dariusj18@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              7 months ago

              Then it’s not really an apt comparison as the two are comparable. I had assumed based on context we were talking about our of the box functionality from KDE, but if it’s not, then KDE and Windows had equivalent lack of clipboard history without extra tools installed.

  • JoYo@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 months ago

    ive never had to think about clipboard buffers until i used a modal editor.

    now i spend %60 of my time trying to figure out where the copied symbol went.

    • evatronic@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      I don’t have the name handy, but there’s at least one plugin for vim that shows buffer previews in a popup. I’ve got it mapped to leader-sb (for “show buffer”).

      • rtxn@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        7 months ago

        Yes. X11 replaced X10’s obsolete cut buffers (which can be modified by any process) with state-of-the-art selections. There are three selections in X11: a primary, a secondary, and a clipboard.

        In modern desktops, the primary selection is overwritten every time you select some text (including in the terminal), which makes its content very ephemeral. You can paste it with the middle mouse button.

        The secondary selection is generally not used, but it’s present in the specification, and you can use xclip -selection secondary to access it. Wayland doesn’t seem to have a secondary selection.

        The clipboard selection is what most people understand to be THE clipboard. You have to write to it explicitly (through a keyboard shortcut, API, or CLI tool), and its content persists until it is overwritten, explicitly cleared, or the X server is killed. While the primary and secondary can only contain text, the clipboard can contain many kinds of data.