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

« back to all changes in this revision

Viewing changes to runtime/doc/autocmd.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
 
*autocmd.txt*   For Vim version 7.2.  Last change: 2008 Jun 27
 
1
*autocmd.txt*   For Vim version 7.2.  Last change: 2009 Mar 01
2
2
 
3
3
 
4
4
                  VIM REFERENCE MANUAL    by Bram Moolenaar
748
748
                                        'a'     abort, like hitting CTRL-C
749
749
                                When set to an empty string the user will be
750
750
                                asked, as if there was no SwapExists autocmd.
751
 
                                Note: Do not try to change the buffer, the
752
 
                                results are unpredictable.
 
751
                                                        *E811*
 
752
                                It is not allowed to change to another buffer,
 
753
                                change a buffer name or change directory
 
754
                                here.
753
755
                                                        *Syntax*
754
756
Syntax                          When the 'syntax' option has been set.  The
755
757
                                pattern is matched against the syntax name.
827
829
two ways:
828
830
1. When there is no '/' in the pattern, Vim checks for a match against only
829
831
   the tail part of the file name (without its leading directory path).
830
 
2. When there is a '/' in the pattern,  Vim checks for a match against the
831
 
   both short file name (as you typed it) and the full file name (after
832
 
   expanding it to a full path and resolving symbolic links).
 
832
2. When there is a '/' in the pattern, Vim checks for a match against both the
 
833
   short file name (as you typed it) and the full file name (after expanding
 
834
   it to a full path and resolving symbolic links).
833
835
 
834
836
The special pattern <buffer> or <buffer=N> is used for buffer-local
835
837
autocommands |autocmd-buflocal|.  This pattern is not matched against the name