A neat trick I use sometimes: it's possible to customize the settings of the
vim editor by embedding commands in the file. Put them on the last line after a comment character (which depends on the language of course).
For example for python I like:
# vim:ts=4:noet
which makes sure tabs are not expanded and tabstops are at 4 characters.
No comments:
Post a Comment