vim cut&paste on RH8.0
Simon Burton
simonb at webone.com.au
Fri Jan 3 19:27:15 EST 2003
On Fri, 3 Jan 2003 11:10:07 +1100
Matthew Hawkins <matt at mh.dropbear.id.au> wrote:
> Simon Burton (simonb at webone.com.au) wrote:
> > I used to be able to use the X clipboard: y'know, select and middle mouse and
> > all that, but now vim seems to have it's own cut buffer; when i middle mouse in
> > a vim it pastes what was in the yank buffer.
>
> Vim always has had its own cut buffer. Have a read around ":help registers"
>
> You might like to try putting something like this into your ~/.vimrc:
>
> inoremap <MiddleMouse> <C-o>:set paste<CR><MiddleMouse><C-o>:set nopaste<CR>
>
> Cheers,
>
> --
> Matt
>
>
I ended up downgrading and that worked (oh for joy!!); i think it was a configure option.
'vim --version' said some interesting things about that.
However, i'll check out this register stuff.
Thanks,
Simon Burton.
More information about the linux
mailing list