On 22/07/12 19:29, Florian Rehnisch wrote:
> On Sun, Jul 22, 2012 at 04:58:39PM +0200, Eric Smith wrote:
>> How do I share the cut or yank register between different
>> sessions? No X windows available.
>
> See ":h 21.3"
>
> *21.3* Remembering information; viminfo
>
> flori
>
You can also use :w[rite] with a range and filename to write a range of
successive lines to a temporary file, and :r[ead] with a line number
(which can be zero) and filename to insert the file after the given line
(or before the first line if the range is zero) into the current file.
There is of course no clipboard on Linux or similar systems when X is
not running or otherwise not available.
See
:help :w_f
:help :r
Best regards,
Tony.
--
"Uncle Cosmo ... why do they call this a word processor?"
"It's simple, Skyler ... you've seen what food processors do to food,
right?"
-- MacNelley, "Shoe"
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Sunday, July 22, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment