Plan 9 from Bell Labs’s /usr/web/sources/contrib/stefanha/root/sys/lib/vim/vimfiles/tools/vimm
#!/bin/sh # enable DEC locator input model on remote terminal echo "\033[1;2'z\033[1;3'{\c" vim "$@" # disable DEC locator input model on remote terminal echo "\033[2;4'{\033[0'z\c"