I did not know autocmd. Nice! Maybe I can reuse that, so the configs that are Firebug-specific would be loaded only when editing the files of Firebug.
> I guess 'iab' or snipMate could be used for horizontal lines, control structures, etc., but I haven't felt the need for it. Why not. I'll try to propose something. Florent On Monday, October 22, 2012 1:06:08 PM UTC+2, Simon Lindholm wrote: > > I don't have a lot of Firebug-specific things in my .vimrc; most > formatting things I just do by hand. There is only: > >> au BufRead,BufNewFile /path/to/firebug/* setlocal expandtab > > (converts tabs to spaces for files in the firebug directory) > I guess 'iab' or snipMate could be used for horizontal lines, control > structures, etc., but I haven't felt the need for it. > > https://github.com/simonlindholm/dotfiles/blob/master/vimrc if anyone's > interested. > > Simon > > 2012/10/22 Sebastian Zartner <[email protected] <javascript:>> > >> I do not use vim, though that's great. >> I guess some more formatting inspirations can be taken from "the >> ultimate Vim configuration" <http://amix.dk/vim/vimrc.html>. >> Also keywords for standard constructs like functions, control structures, >> horizontal lines, etc. would be nice. >> Simon can surely give some more tips here. >> >> Sebastian >> >> On Monday, October 22, 2012 9:08:39 AM UTC+2, Jan Honza Odvarko wrote: >>> >>> Sounds great! >>> >>> I have updated our Coding Style wiki page: >>> https://getfirebug.com/wiki/**index.php/Firebug_Coding_**Style#Resources<https://getfirebug.com/wiki/index.php/Firebug_Coding_Style#Resources> >>> >>> >>> Honza >>> >>> On Oct 21, 11:25 pm, florent fayolle <[email protected]> >>> wrote: >>> > To conform to the coding style of Firebug, I have made my own vimrc >>> file >>> > specifically for the coding style of Firebug. >>> > I think it can be useful to share our vimrc's via Github (so we can >>> use >>> > forks). >>> > >>> > It may also be welcomed by new comers who need to be familiar with the >>> > coding style. For example, my vimrc file adds spaces automatically >>> after >>> > the "if" instruction, and puts in red characters after 100 characters. >>> > >>> > Here is the >>> > repository:https://github.com/**fflorent/firebug_vimrc/<https://github.com/fflorent/firebug_vimrc/> >>> > >>> > >>> > You are welcome to take everything that interest you, and to propose >>> your >>> > own vimrc. >>> >> > -- You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at https://groups.google.com/forum/#!forum/firebug
