~ubuntu-branches/ubuntu/maverick/vim/maverick

« back to all changes in this revision

Viewing changes to runtime/optwin.vim

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-06-26 13:42:18 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080626134218-703edeyb8k70qpbz
Tags: 1:7.1.314-3ubuntu1
* Resynchronise with Debian. Remaining changes:
  - Enable detection of GNU screen as a mouse-capable terminal.
  - Add NoDisplay=true to gvim.desktop.
  - Drop vim-lesstif package and lesstif2-dev build-dependency.
  - Build-depend on libxt-dev.
  - Enable Python interpreter on basic builds.
  - Create a .pot file for translations.
  - Disable autoindent, line-wrapping, and backup files by default.
* Fixes various vulnerabilities due to improper quoting of 'execute'
  arguments (LP: #240216).
* Drop fixes for upgrade problems from Ubuntu 6.06 LTS; direct upgrades
  from 6.06 to 8.10 will not be supported.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
" These commands create the option window.
2
2
"
3
3
" Maintainer:   Bram Moolenaar <Bram@vim.org>
4
 
" Last Change:  2006 Oct 10
 
4
" Last Change:  2008 May 12
5
5
 
6
6
" If there already is an option window, jump to that one.
7
7
if bufwinnr("option-window") > 0
147
147
 
148
148
" Open the window
149
149
new option-window
150
 
setlocal ts=15 tw=0
 
150
setlocal ts=15 tw=0 noro
151
151
 
152
152
" Insert help and a "set" command for each option.
153
153
call append(0, '" Each "set" line shows the current value of an option (on the left).')
350
350
call append("$", " \tset lines=" . &lines)
351
351
call append("$", "lazyredraw\tdon't redraw while executing macros")
352
352
call <SID>BinOptionG("lz", &lz)
 
353
if has("reltime")
 
354
  call append("$", "redrawtime\ttimeout for 'hlsearch' and :match highlighting in msec")
 
355
  call append("$", " \tset rdt=" . &rdt)
 
356
endif
353
357
call append("$", "writedelay\tdelay in msec for each char written to the display")
354
358
call append("$", "\t(for debugging)")
355
359
call append("$", " \tset wd=" . &wd)