18
In neovim under wayland how do you guys copy and paste things?
(piefed.jeena.net)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
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
But if it's the terminal (kitty) why does it work nicely in nano but not neovim?
https://vim.fandom.com/wiki/Copy,_cut_and_paste
i assume you are discovering (n)vims registers here. vim does not copy to your clipboard nor from it, unless you specify a special register for the operation.
it's one of those cases where vim feels off, until you find an awesome way to utilize it, then it's feeling like the greatest editor ever again.
Ctrl+c works in terminal and nano but not neovim?
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.
On osx I use alt (option I believe) for copying from the terminal, and that carries over with nvim. Admittedly I tend to use pbcopy for larger amounts of text