On 11/06/2013 01:33 PM, Nico Schlömer wrote:
...

Entirely unrelated, for everyone using vi(m):
A syntax-checking plugin that has made C++/Python-coding tremendously
easier is https://github.com/scrooloose/syntastic (see
http://paulfurley.com/python-pep8-style-guide-checker-vim/).
Just to +1 this - this has made a big difference to my coding.
It was frustrating for quite a while when doing feverish
debugging, especially if the existing code doesn't strictly match
the coding standard, but it faded into the background as I
subconsciously coded to the standard. It can be customized if
necessary and has become, for me, an important facet of vim
as an IDE. Can save a lot of time at the end of coding, by
avoiding the need to tidy further for submission.

Also, with vim-pathogen, homesick
(https://github.com/technicalpickles/homesick)
and 'git submodule', its straightforward to keep your selection
of vim modules synced between user accounts (if you happen
to use vim on a number of machines via SSH) and still be able
to pull any changes direct from github.

One other useful vim module I've come across is
vim-projectlocal, which checks for a .vimrc at the top
level of the current git tree - I have found this useful for
applying per-project settings I would not want everywhere
(e.g. "*.src" must be Fortran highlighted) and, if desired,
keeping certain settings consistent across devs (e.g. default
indent)
PTW
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to