view runtime/tools/vimm @ 6991:814f1f569e4a v7.4.813

patch 7.4.813 Problem: It is not possible to save and restore character search state. Solution: Add getcharsearch() and setcharsearch(). (James McCoy)
author Bram Moolenaar <bram@vim.org>
date Tue, 11 Aug 2015 14:26:19 +0200
parents f4f8014d516e
children
line wrap: on
line source

#!/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"