view runtime/tools/vim132 @ 11152:c780e3774dac v8.0.0463

patch 8.0.0463: side effects from resetting 'compatible' in defaults.vim commit https://github.com/vim/vim/commit/0f39a82b07b285e0c54162e1038348b2988a715c Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 16 14:19:36 2017 +0100 patch 8.0.0463: side effects from resetting 'compatible' in defaults.vim Problem: Resetting 'compatible' in defaults.vim has unexpected side effects. (David Fishburn) Solution: Only reset 'compatible' if it was set.
author Christian Brabandt <cb@256bit.org>
date Thu, 16 Mar 2017 14:30:04 +0100
parents 3fc0f57ecb91
children
line wrap: on
line source

#!/bin/csh
#
# Shell script for use with UNIX
# Starts up Vim with the terminal in 132 column mode
# Only works on VT-100 terminals and lookalikes
# You need to have a termcap entry "vt100-w". Same as vt100 but 132 columns.
#
set oldterm=$term
echo "[?3h"
setenv TERM vt100-w
vim $*
set term=$oldterm
echo "[?3l"