• nickwitha_k (he/him)@lemmy.sdf.org
    link
    fedilink
    arrow-up
    23
    arrow-down
    1
    ·
    6 days ago

    One of the things that really, really annoys me when I get lazy and use a pre-bundled set of (neo)vim plugins is how every one of them uses mouse functionality. I only use the mouse to copy/paste from the terminal to system clipboard. I don’t want it hijacking him and entering visual mode.

    • electricprism@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      6 days ago

      does this suggest that copy/paste from the terminal is broken by design and we need find a better way?

      • fl42v@lemmy.ml
        link
        fedilink
        arrow-up
        4
        ·
        5 days ago

        Vim has a better way, it’s called :set clipboard=unnamedplus (alternatively, one can bind anything else to copy/paste to/from system cliboards). Not sure why would one use a mouse for this, honestly

        • smiletolerantly@awful.systems
          link
          fedilink
          arrow-up
          2
          ·
          5 days ago

          I think if you want to copy a specific selection to a mouse-based, different program then it makes sense to use the mouse for precision selection.

      • nickwitha_k (he/him)@lemmy.sdf.org
        link
        fedilink
        arrow-up
        2
        ·
        6 days ago

        You know, if I can use vim bindings and regex, I might try it out. I tend to try to keep my neovim plugins fairly lightweight when I config myself. Not being electron is a big plus.

        • JoYo@lemmy.ml
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          5 days ago

          yah helix has vim motions.

          their search mode and select is a bit different but once you do the tutorial it makes complete sense why youd want to scope your regex replace.

        • fl42v@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          5 days ago

          What stopped me personally was reading they use a different order of operations, so to say. Where vim goes action + range, helix goes (or at least used to go) range + action (like replacing ci" by i"c). Mb that makes more sense for them, but I’m too lazy to re-learn that for no particular reason