top | item 31938734 (no title) theposey | 3 years ago can't you just yank to +? you might need the vim build with +clipboard if it's not default these days discuss order hn newest deadbunny|3 years ago I have vim use the clipboard by default, with that said I still use the mouse to copy stuff now and then. u801e|3 years ago Depending on your OS, you could use visual line mode and highlight the text you want to copy. Then you can run: '<,'>w !xclip -selection clipboard to copy the text to your clipboard. Macs have another program that works similar to xclip, but I don't remember what it's called. load replies (2) marcthe12|3 years ago It's X11 only. So Wayland or remote users can not use it.
deadbunny|3 years ago I have vim use the clipboard by default, with that said I still use the mouse to copy stuff now and then. u801e|3 years ago Depending on your OS, you could use visual line mode and highlight the text you want to copy. Then you can run: '<,'>w !xclip -selection clipboard to copy the text to your clipboard. Macs have another program that works similar to xclip, but I don't remember what it's called. load replies (2)
u801e|3 years ago Depending on your OS, you could use visual line mode and highlight the text you want to copy. Then you can run: '<,'>w !xclip -selection clipboard to copy the text to your clipboard. Macs have another program that works similar to xclip, but I don't remember what it's called. load replies (2)
deadbunny|3 years ago
u801e|3 years ago
marcthe12|3 years ago