Perfect Vim emulation