summaryrefslogtreecommitdiff
path: root/runtime/tools/vimm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/tools/vimm')
-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 000000000..042c4a022
--- /dev/null
+++ b/runtime/tools/vimm
@@ -0,0 +1,6 @@
+#!/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"