How to yank the foldtext?

1 view
Skip to first unread message

anhnmncb

unread,
Dec 3, 2008, 12:39:27 AM12/3/08
to vim...@googlegroups.com
As title, I can't select them and yank, my workaround is to use 2html then
yank the foldtext in my browser.

--
Regards,
anhnmncb

Bram Moolenaar

unread,
Dec 3, 2008, 5:00:59 AM12/3/08
to anhnmncb, vim...@googlegroups.com

anhnmncb wrote:

> As title, I can't select them and yank, my workaround is to use 2html then
> yank the foldtext in my browser.

If you are using a console or terminal: Keep the shift key pressed while
selecting.

If you are using the GUI version: Press : to go to the command line.
Then select the text. You may need to use CTRL-Y to copy the selection
to the clipboard. :he c_CTR-Y

--
WOMAN: Well, 'ow did you become king then?
ARTHUR: The Lady of the Lake, [angels sing] her arm clad in the purest
shimmering samite, held aloft Excalibur from the bosom of the water
signifying by Divine Providence that I, Arthur, was to carry
Excalibur. [singing stops] That is why I am your king!
The Quest for the Holy Grail (Monty Python)

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

anhnmncb

unread,
Dec 3, 2008, 5:09:16 AM12/3/08
to vim...@googlegroups.com
On 2008-12-03, Bram Moolenaar wrote:
>
>
> anhnmncb wrote:
>
>> As title, I can't select them and yank, my workaround is to use 2html then
>> yank the foldtext in my browser.
>
> If you are using a console or terminal: Keep the shift key pressed while
> selecting.
>
> If you are using the GUI version: Press : to go to the command line.
> Then select the text. You may need to use CTRL-Y to copy the selection
> to the clipboard. :he c_CTR-Y

Nice tip, thank you!

--
Regards,
anhnmncb

Reply all
Reply to author
Forward
0 new messages