>
> > I have a set of abbreviations defined in my .vimrc file that allows me to
> > type very fast.
> > However, when I copy&paste some text using the mouse, if some string
> inside
> > the new text matches any of my defined abbreviations, it is also expanded
> > automatically.
> > But when I copy and paste text with the mouse I would like that text not
> to
> > be modified.
> >
> > Is there any way to prevent vim from expanding abbreviations when text in
> > pasted?
>
> ":set paste" before pasting the text should do the trick. After pasting
> you need to ":set nopaste" to enable abbreviations and related things
> again.
>
> Also read ":help paste" for more informations.
>
>
Hi Markus,

I have just tried it, and it works perfectly.
Thank you so much !!

Jose

-- 
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

Reply via email to