pasting to command line

0 views
Skip to first unread message

Robbo

unread,
Apr 16, 2008, 1:16:11 PM4/16/08
to vim_use
What's the way for pasting to command line?

Tim Chase

unread,
Apr 16, 2008, 1:39:10 PM4/16/08
to vim...@googlegroups.com
> What's the way for pasting to command line?

The usual way I use is

:put

It's linewise, but there are some stunts (coming to mind: abusing
:substitute and control+r to pull in content from various registers)

It also takes a register, so if you want the system clipboard,
you can do

:put *

-tim


Benjamin Fritz

unread,
Apr 16, 2008, 1:39:48 PM4/16/08
to vim...@googlegroups.com
On 4/16/08, Robbo <hous...@gmail.com> wrote:
>
> What's the way for pasting to command line?

This was covered just yesterday, in the topic "Paste in command mode"

http://groups.google.com/group/vim_use/browse_thread/thread/00885ea2c2378071#

Reply all
Reply to author
Forward
0 new messages