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

« back to all changes in this revision

Viewing changes to runtime/doc/if_pyth.txt

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2009-05-04 11:13:42 UTC
  • mfrom: (1.1.8 upstream) (0.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090504111342-60miqybsixdpc345
Tags: 2:7.2.148-2ubuntu1
* Merge from Debian unstable, remaining changes:
  - debian/runtime/vimrc: "syntax on" is a sane default for non-tiny vim.
  - runtime/syntax/debcontrol.vim:
    + Add "metapackages" to the list of valid sections.
  - runtime/syntax/grub.vim:
    + Add Ubuntu-specific 'quiet' keyword.
  - Drop vim-lesstif package and lesstif2-dev build-dependency.
  - Enable Python interpreter on basic builds.
  - Disable autoindent, line-wrapping, and backup files by default.
* Dropped changes, merged in Debian:
  - Add jaunty, karmic to the list of valid suites.
  - runtime/syntax/debsources.vim:
    + Add "jaunty" to debsourcesDistrKeyword
  - Create a .pot file for translations.
* Drop gutsy from the list of valid distro series, it's been EOLed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
*if_pyth.txt*   For Vim version 7.2.  Last change: 2006 Apr 30
 
1
*if_pyth.txt*   For Vim version 7.2.  Last change: 2008 Aug 16
2
2
 
3
3
 
4
4
                  VIM REFERENCE MANUAL    by Paul Moore
93
93
 
94
94
Overview >
95
95
        :py print "Hello"               # displays a message
96
 
        :py vim.command(cmd)            # execute an ex command
 
96
        :py vim.command(cmd)            # execute an Ex command
97
97
        :py w = vim.windows[n]          # gets window "n"
98
98
        :py cw = vim.current.window     # gets the current window
99
99
        :py b = vim.buffers[n]          # gets buffer "n"