[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] C kode indrykning



On Thu, May 16, 2002 at 09:56:30AM +0200, Hanne Munkholm wrote:
> Hej sslug-vi
> 
> På mit tidligere arbejde brugte jeg "vim" til en masse c-kode (men som 
> regel mere til at rette i andres kode end skrive fra nyt). Og der lærte jeg 
> hvad jeg skulle putte i min .vimrc for at få indrykket koden pænt. Det har 
> jeg nu glemt igen.

:help cino er vist bedst. Det er lidt individuelt hvad der er paent.
shiftwidth og formatoptions kan man ogsaa kigge paa.

> 
> Desuden har jeg glemt hvordan jeg får den til at formattere allerede 
> eksisterende kode pænt med indrykninger - der var en eller anden smart 
> kommando...  

1G=G

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