以下のように書くと 4スペースでインデントできるし、インデント毎に za で fold できるので便利。
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8 ff=unix ft=python ts=4 sw=4 sts=4 si et fdm=indent fdl=99:
# vim:cinw=if,elif,else,for,while,try,except,finally,def,class:
以下略した設定。
- fenc: fileencoding
- ff: fileformat
- ft: filetype
- ts: tabstop
- sw: shiftwidth
- sts: softtabstop
- si: smartindent
- et: expandtab
- fdm: foldmethod
- fdl: foldlevel
- cinw: cinwords
僕が所属している会社が社員募集中みたいです。なんか、 Python 書いてみてーなと思った人は応募してみてくださいな。 (すてま)