Re: Bogus spaces inserted when pasting to VIM
On Sun, Sep 22, 2002 at 01:44:22PM -0400, Matthew Daubenspeck wrote......
>
> :set paste
>
> Then paste.
>
>
This works great. Taking it one step further, do the following in your
.vimrc .....
:set pastetoggle=<F12>
This makes F12 (or your favorite key) a toggle between being in paste
mode and normal mode. When you :set paste, you're essentially setting
all of the following options:
textwidth=0
wrapmargin=0
noautoindent
nosmartindent
nocindent
softtabstop=0
nolisp
norevins
noruler
noshowmatch
formatoptions=""
HTH. Kevin
Reply to: