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= 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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Bogus spaces inserted when pasting to VIM
In article <[EMAIL PROTECTED]>, Tim Dijkstra <[EMAIL PROTECTED]> wrote: >Does anybody have seen this before and, more importantly, does anybody >know a fix for this? It's auto-indent, and it's annoying. Put this file in your homedirectory as ".vimrc" to turn off all that nonsense (you really only need the "set noai" and "filetype plugin off") :version 4.0 set cmdheight=1 set nobk set nocp set noai set showcmd set showmatch set autowrite if v:version > 550 filetype plugin off endif -- Computers are useless, they only give answers. --Pablo Picasso -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Bogus spaces inserted when pasting to VIM
On Sun, Sep 22, 2002 at 07:51:25PM +0200, Tim Dijkstra wrote: > Hi, > > I have this annoying problem when using VIM. If I select in one instance of VIM >(using the mouse) some text that starts with some spaces, like: > > local_folder_delivery: > driver = appendfile > group = mail > mode = 0660 > mode_fail_narrower = false > envelope_to_add = true > directory = ${home}/Maildir/.$h_X-gotmail-folder > maildir_format = true > > And than paste (clicking the middle button) in another instance, it inserts spaces >at the beginning of the lines, which results in: > > local_folder_delivery: > driver = appendfile > group = mail > mode = 0660 > mode_fail_narrower = false > envelope_to_add = true > directory = ${home}/Maildir/.$h_X-gotmail-folder > maildir_format = true :set paste Then paste. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Bogus spaces inserted when pasting to VIM
Hi, try :set noautoindent Regards,Paulo Henrique On Sun, 22 Sep 2002 19:51:25 +0200 Tim Dijkstra <[EMAIL PROTECTED]> wrote: > Hi, > > I have this annoying problem when using VIM. If I select in one instance of VIM >(using the mouse) some text that starts with some spaces, like: > > local_folder_delivery: > driver = appendfile > group = mail > mode = 0660 > mode_fail_narrower = false > envelope_to_add = true > directory = ${home}/Maildir/.$h_X-gotmail-folder > maildir_format = true > > And than paste (clicking the middle button) in another instance, it inserts spaces >at the beginning of the lines, which results in: > > local_folder_delivery: > driver = appendfile > group = mail > mode = 0660 > mode_fail_narrower = false > envelope_to_add = true > directory = ${home}/Maildir/.$h_X-gotmail-folder > maildir_format = true > > Does anybody have seen this before and, more importantly, does anybody know a fix >for this? > > grts Tim > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- Paulo Henrique B de Oliveira Gerente de Operações - Linux Solutions - http://www.linuxsolutions.com.br O maior conteúdo de Linux em língua portuguesa - OLinux - http://www.olinux.com.br (21) 2526-7262 ramal 31 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bogus spaces inserted when pasting to VIM
Hi, I have this annoying problem when using VIM. If I select in one instance of VIM (using the mouse) some text that starts with some spaces, like: local_folder_delivery: driver = appendfile group = mail mode = 0660 mode_fail_narrower = false envelope_to_add = true directory = ${home}/Maildir/.$h_X-gotmail-folder maildir_format = true And than paste (clicking the middle button) in another instance, it inserts spaces at the beginning of the lines, which results in: local_folder_delivery: driver = appendfile group = mail mode = 0660 mode_fail_narrower = false envelope_to_add = true directory = ${home}/Maildir/.$h_X-gotmail-folder maildir_format = true Does anybody have seen this before and, more importantly, does anybody know a fix for this? grts Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]