summaryrefslogtreecommitdiffstats
path: root/runtime/tools/vimm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xruntime/tools/vimm6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/tools/vimm b/runtime/tools/vimm
new file mode 100755
index 0000000..7b84cb2
--- /dev/null
+++ b/runtime/tools/vimm
@@ -0,0 +1,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"