How to set up your editor

EditorConfig provides a way to share the same configuration for all major source code editors.

You only need to install the plugin for your editor of choice, and add the following configuration on ~/.editorconfig.

[*]
indent_style = space
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

[{*.py,*.cfg}]
indent_size = 4

[{*.html,*.dtml,*.pt,*.zpt,*.xml,*.zcml,*.js}]
indent_size = 2

[Makefile]
indent_style = tab

dotfiles

Some Plone developers use dotfiles similar to these: plone.dotfiles. This might inspire you with your own dotfiles/configuration settings.