Gentoo Archives: gentoo-user

From: Moshe Kaminsky <kaminsky@××××××××××××.il>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: vim USE flag: vim-with-x
Date: Sun, 22 Jan 2006 20:06:18
Message-Id: 20060122200310.GC28384@kaminsky
In Reply to: Re: [gentoo-user] vim USE flag: vim-with-x by Walter Dnes
1 * Walter Dnes <waltdnes@××××××××.org> [22/01/06 06:14]:
2 > The one thing I find painful in my setup is copying text from the X
3 > session to a text session or visa versa. I end up opening vim in X,
4 > saving the selected text to ~/x, switching to a text console, and then
5 > :r ~/x
6 > in vim. At work, where I have to use Windows (ptui) I can copy text
7 > from the GUI to the clipboard, {ALT-TAB} to a vim session, and paste the
8 > clipboard with "* even if vim is running in a textmode console. Is
9 > there some similar channel for vim in linux?
10
11 If you just set DISPLAY correctly before you run vim (usually ':0.0'),
12 you can do it the same. You can even use the mouse (if you use gpm)
13
14 Moshe
15
16 >
17 > --
18 > Walter Dnes <waltdnes@××××××××.org> In linux /sbin/init is Job #1
19 > My musings on technology and security at http://tech_sec.blog.ca
20 > --
21 > gentoo-user@g.o mailing list
22 >
23
24 --
25 I love deadlines. I like the whooshing sound they make as they fly by.
26 -- Douglas Adams
27
28 Moshe Kaminsky <kaminsky@××××××××××××.il>
29 Home: 08-9456841