how align comments // vim tabular plugin?
double n; // number of steps double np; // number of particles double q; // probability of success i know it's easy align by, i.e., = :tab /=. :tab / // adds space between /'s , stops comment more:
double n; / / number of steps double np; / / number of particles double q; / / probability of success
:tabularize / \/\/ seems work.
here escaping slashes.
Comments
Post a Comment