[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [VI] mærkelige indrykniger ved paste



On Thu, May 16, 2002 at 01:00:56PM +0200, Mads Martin Jørgensen wrote:
> * merlin <sslug@sslug> [May 16. 2002 12:56]:
> > så kommer det til at se sådan ud i vim:
> > --
> >  function getDirContents($slashdir) {
> >      $dh = opendir($slashdir);
> > 
> >          while (($file = readdir ($dh))) {
> >                  if (is_dir($slashdir . $file) && $file != "." && $file !=
> > "..") {
> >                              getDirContents ($slashdir . $file . "/");
> >                                      } else if ($file != "." && $file !=
> > "..") {
> >                                                  echo $file . "<br>";
> >                                                          }
> >                                                              }
> > 
> > closedir($dh);
> >                                                                  }
> > 
> > 
> > --
> > Hvorfor gør den det?
> 
> Sikkert fordi du har nogle indrykningsoptions i din .vimrc. Jeg har
> 
> :set ai
> :set cindent
> :set formatoptions=tcq
> 
> > Kan det forhindres?
> 
> Prøv inden du paster ind at sige:
> 
> :set noai nocindent

:set paste
<paste>
:set paste

fungerer ogsaa, og snupper netop denne paste-opfoersel.

Rasmus


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 18:44 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *