LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to copy from vim and paste it on system clip board (https://www.linuxquestions.org/questions/linux-software-2/how-to-copy-from-vim-and-paste-it-on-system-clip-board-862377/)

tkmsr 02-13-2011 05:10 AM

how to copy from vim and paste it on system clip board
 
Hi
i want to select some text from vim using "yank" command and then access the same on shell prompt
using ^v or shift ^Insert.How can that be done.
My OS is ubuntu.

unSpawn 02-13-2011 07:39 AM

Use screen: "CTRL+A [" to start the selection, cursor keys to change slash expand, ENTER to end selection and "CTRL+A [" to paste?

shuuhen 02-13-2011 07:39 AM

Not really a programming question, but you might actually want to look into a program like tmux or screen. I prefer tmux out of the two for vertical splits, newer, how windows/panes work and other features you can read about. Both can do the copy/paste stuff.

dtvi with dtach seems to be another alternative, but I've never used them.

Mara 02-13-2011 01:00 PM

Moved to Software


All times are GMT -5. The time now is 11:02 PM.