On Sun, Jan 14, 2007 at 12:10:10AM +0100, [EMAIL PROTECTED] wrote:
[...]
> Log:
> big bang whitespace cleanup ????????????-???:
> * convert stuff like
>   FOO := bar
>   to
>   FOO:=<tab(s)>bar
> * no whitespace at end of line!
> * eight subsequent spaces are a tab
> * space then tab doesn't make sense
>
> I suspect there are a few vi(m) users here. Please change
> your editor if you can't get it under control; vim users
> are most likely to introduce this kind of nonsense.

Some nice macro for vim users (.vimrc):

-------------------
autocmd BufWrite * :%s#[ \t\r]\+$##e
autocmd BufWrite * :exec "normal Go\<Esc>G"|exec ":?^.*\\S.*$?+1,$d"
-------------------

and a display helper:

-------------------
set list listchars=tab:>_,trail:_,extends:+ " ,eol:$ " Show tabs, trailing 
spaces, long lines
-------------------

This should help tg.

Dirk
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to