Added set gdefault in search settings. Per default multiple occurences of the same pattern in one line will be replaced, instead of only the first
Commented smartindent. Seems to cause the strange behaviour when indenting python comments.