chraebsli@programming.dev to Programmer Humor@programming.dev · edit-28 months agoSongs about Vimprogramming.devimagemessage-square48fedilinkarrow-up1776arrow-down123file-text
arrow-up1753arrow-down1imageSongs about Vimprogramming.devchraebsli@programming.dev to Programmer Humor@programming.dev · edit-28 months agomessage-square48fedilinkfile-text
minus-squareswab148@startrek.websitelinkfedilinkarrow-up15·8 months agoJust because this is a vim meme, does anyone know how to copy text from one instance of vim to the other?
minus-squareembed_me@programming.devlinkfedilinkarrow-up10·edit-28 months agoYou can yank text to system clipboard buffer ie +. Then paste (put) from the clipboard to any other vim process. Keep in mind you should have clipboard support in your vim. If you’re on ubuntu, install vim-gtk and you should be good
minus-squareswab148@startrek.websitelinkfedilinkarrow-up1·8 months agoI’m on Debian, but my VM is an Ubuntu server, so that should work!
minus-squareMohaim@beehaw.orglinkfedilinkEnglisharrow-up5·edit-28 months agoInstall xclip then press "+y (double-quote plus-sign y) to yank to system clipboard then "+p to put from sys clipboard
minus-squareMashedTech@lemmy.worldlinkfedilinkarrow-up4·8 months agoFuck it, use neovim and copy to the system clipboard.
minus-squareSemi-Hemi-Lemmygod@lemmy.worldlinkfedilinkEnglisharrow-up2·8 months agoCopy the text to a local clipboard, then paste it into your terminal in the other instance IDK I only use vim over ssh
Just because this is a vim meme, does anyone know how to copy text from one instance of vim to the other?
You can yank text to system clipboard buffer ie +. Then paste (put) from the clipboard to any other vim process.
Keep in mind you should have clipboard support in your vim. If you’re on ubuntu, install vim-gtk and you should be good
I’m on Debian, but my VM is an Ubuntu server, so that should work!
Install xclip then press "+y (double-quote plus-sign y) to yank to system clipboard then "+p to put from sys clipboard
Fuck it, use neovim and copy to the system clipboard.
Copy the text to a local clipboard, then paste it into your terminal in the other instance
IDK I only use vim over ssh