summaryrefslogtreecommitdiff
path: root/runtime/tools/vimm
blob: 7b84cb255e72987722629f1ac1efe6fa762c841c (plain)
1
2
3
4
5
6
#!/bin/sh
# enable DEC locator input model on remote terminal
printf  "\033[1;2'z\033[1;3'{\c"
vim "$@"
# disable DEC locator input model on remote terminal
printf  "\033[2;4'{\033[0'z\c"