Skip to main content

Questions tagged [wayland]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
189 views

Copy from Visual mode to clipboard using Wayland

This works well when I'm not using Wayland on Fedora 39 KDE: nnoremap <C-c> "+ vnoremap <C-c> "+y But this doesn't work anymore on Wayland. What can I do to make it work? My vi -...
m26a's user avatar
  • 121
1 vote
1 answer
306 views

How to copy contents of wl-clipboard into a Vim register?

I would like to swap content between my system clipboard and a Vim register. I am missing one last piece of the puzzle, indicated below. Any thoughts? map <Leader>" :call SwapBuffer()<CR&...
Charles Kong's user avatar
2 votes
1 answer
1k views

Custom g:clipboard results in `p` always pasting into the same line

Background I use wayland and neovim and when pasting external text it would add ^M to the end of each line. This is a known "bug" (https://github.com/neovim/neovim/issues/10223) and there ...
Jounathaen's user avatar
2 votes
1 answer
1k views

How to automatically perform a command after yanking text [Vim wayland clipboard]

I want to copy contents of the recently used " register automatically into my system clipboard after a yank command. The way I achieve this now is by nnoremap <C-@> :call system("wl-copy", @")&...
brother-bilo's user avatar