[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] Hvordan får man vim til at lave specfike indstillinger afhængige af fil type ?



Robert Larsen wrote:

>>
>>
>>
>>Lav en fil i ~/.vim/ftplugin/<FILTYPEN> med de rette kommandoer.
>>
>>I dette tilfælde
>>
>>echo "set tw=72" > ~/.vim/ftplugin/tex/width72.vim
>>
>>
>>I din .vimrc skal du have følgende, for at filen bliver sourcet når du
>>åbner en tex-fil:
>>
>>filetype plugin on
>>
>>
> Eller sæt følgende i din ~/.vimrc:
> 
> autocmd FileType tex set textwidth=70
> 
> VH
> 
> Robert
> 

Jeg fik det til at virke med plugin, så din løsning bliver lige sat på "skal 
undersøges" listen, der pt. er gemt bort på grund af et eksamen projekt :-)

I skal begge to havde mange tak for hjælpen.

Mvh Finn


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