Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-11-2006, 04:37 PM   #1
LQ Newbie
Registered: Jul 2006
Distribution: Ubuntu Dapper
Posts: 4

Rep: Reputation: 0
Cut and Paste from vim (not Gvim) into a windowed app


Is it possible to cut and paste text from vim (terminal based - not gvim) into a normal windowed application like Gedit or wysiwyg mail client? I can only seem to find how to cut and paste text within vim itself.
Old 10-11-2006, 04:48 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
In the past I've sporadically been able to highlight things with a mouse and then middle click to copy it. Then middle click somewhere else (like a web browser or OOWriter) to paste it. Note it might also try pasting it where you copied it from, so save before you copy and then don't save changes if it's a large duplicate.
Old 10-11-2006, 04:51 PM   #3
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
In the Kde environment, if you have klipper (the clipboard tool), make sure it's running (you'll see the icon in the tray).

Highlight the text in vim and press ctrl-c to copy. Look in the clipboard, you'll see it there.

Then click on the copied text, go to your GUI editor, and paste it in.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gvim cut/copy-paste arunswarup Linux - Newbie 13 06-29-2016 09:09 AM
Running Cedega App in Windowed Mode batorma Linux - Newbie 4 11-29-2005 03:43 PM
prompt within gvim/vim/vi zchoyt Linux - Software 6 02-02-2005 06:30 AM
vim or gvim raees Linux - General 7 03-17-2004 05:02 PM
vim / gvim Shak Linux - Software 4 04-03-2003 09:25 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration