Add docs for vi mode

fixes #1536