adapt vi conf for python only