vimm 188 B

1234567
  1. #!/bin/sh
  2. # enable DEC locator input model on remote terminal
  3. printf "\033[1;2'z\033[1;3'{\c"
  4. vim "$@"
  5. # disable DEC locator input model on remote terminal
  6. printf "\033[2;4'{\033[0'z\c"