Fix bug parsing marker index.
Import functions from 1.0.
Shift vim code over to .bashrc.