feat: Handle vim style saving properly.

https://codio.myjetbrains.com/youtrack/issue/codio-4856