general coding issues - coding style...
calmar
mac at calmar.ws
Sun Feb 19 06:29:06 EST 2006
On 2006-02-18, Justin Azoff <justin.azoff at gmail.com> wrote:
Hi all,
> Dylan Moreland wrote:
>> I would look into one of the many Vim scripts which automatically fold
>> most large blocks without the ugly {{{.
>
> Who needs a script?
> "set foldmethod=indent"
> works pretty well for most python programs.
>
Well, foldmethod=marker does not bother me, because the folds are
normally closed. With markers, it takes one line per function, with
indent I see 2, so I prefer markers.
..and since I can easily get rid of them, and add them again, I will at
least remove them before e.g. putting to the web or so.
Cheers and thanks,
calmar
--
calmar
(o_ It rocks: LINUX + Command-Line-Interface
//\
V_/_ http://www.calmar.ws
More information about the Python-list
mailing list