To copy text in vim (without using the mouse) you can
use (in command mode) 'y' (i.e. y6y yanks 6 lines into
the buffer). Also note that deleting lines uses the
same default buffer so if you yank then delete, you
will have the deleted lines rather than the copied
ones in the buffer.
To paste the text use 'p'. This pastes the text one
line below where the cursor is at.
Shay
--- Bart Garst <
bartgarst@cox.net> wrote:
> On Tue, 2004-03-02 at 17:58, Bill Jonas wrote:
> > On Tue, Mar 02, 2004 at 05:13:31PM -0700, Bart
> Garst wrote:
> > > How can I accomplish the same feat with vim?
> >
> > Middle-click. Or, in many terminal emulators
> (including xterm and
> > Eterm, and konsole too if I'm not mistaken),
> shift-insert.
>
> That doesn't do it. I use gnome-terminal and
> Ctrl+Shift+c will copy
> selected text (not within vim). But I don't need to
> copy the text, I
> need to paste it - within vim.
>
> Thx,
> Bart
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss