vim132 315 B

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