What I often have to do is to copy something from my editor to the browser and vice versa. But this seems not so easy in some editors. I feel I have to add that I'm on wayland under hyprland.

In some Editors it's super easy like GNOME Text Editor or nano, you mark some code in the text editor with the mouse and then in the browser you press the middle click on the mouse where you want to paste it, done. You could do it with ctrl-c and ctrl-v but with the mouse only it's just so much faster. And it works both ways browser <--> editor

But in VSCodium I can do that from editor -> browser, but I can't do it from browser -> editor, I have no idea why.

In neovim it's the opposite I can do it from browser -> editor, but I can't do it from editor -> browser.

Any ideas what is going on?

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 1 year ago (1 child)

Search for "copy from nvim to clipboard" you should get something right away.

I'd your highlighting text and copying that then it's your terminal not neovim

  • source
  • hideshow 2 child comments
  • [–] [S] 1 point 1 year ago (2 children)

    But if it's the terminal (kitty) why does it work nicely in nano but not neovim?

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 1 year ago (1 child)

    Ctrl+c works in terminal and nano but not neovim?

  • source
  • parent
  • hideshow 2 child comments
  • [–] [S] 1 point 1 year ago (1 child)

    Ctrl-c works everywhere I guess, but normally I don't use it, I use marking the text and pasting it with the middle click (scroll wheel) on the mouse.

  • source
  • parent
  • hideshow 2 child comments