From: Stephane C. <se...@lo...> - 2009-06-26 22:49:42
|
Le Sat, Jun 27, 2009 at 12:22:14AM +0200, Jean-Marc Libs écrivait : > Hi, > > On Fri, Jun 26, 2009 at 11:57 PM, Sylvie Greverend<sgr...@gm...> wrote: > > On Fri, 2009-06-26 at 18:01 -0300, Rodrigo Sampaio Primo wrote: > >> Hi Sylvie, I always had problems while using tabs because they display > >> differently in different text editors. > > I always thought that would be an argument in favor of tabs. I like > vertical windows side by side, so my preferred tab size is 2 spaces. A > long time ago, I used spaces and I also spaced everything at 2 spaces. > Some other people use horizontal windows and prefer tabs equivalent to > 8 spaces. > > With tabs, we don't have to adapt to anyone else's preferences, we > just have to figure out how to configure our editor of choice. > For me, spaces were neat when I started programming alone and I never > shared code, I liked that I could cut-paste from one xterm to the > other and not lose the spaces. Now I work on code other people wrote, > I know vmdiff and splitscreen, so I don't cut-paste with the mouse, > and I really prefer tabs. > > So now, I really prefer tabs. > > If anyone is interested, the relevant line in my .vimrc is: > :set tabstop=2 +50 for using tabs, I used to use 2 spaces for indenting, but tabs are more flexible... A+ -- Stéphane Casset LOGIDÉE sàrl Se faire plaisir d'apprendre 1a, rue Pasteur Tel : +33 388 23 69 77 ca...@lo... F-67540 OSTWALD Fax : +33 388 23 69 77 http://logidee.com |