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

« back to all changes in this revision

Viewing changes to runtime/doc/editing.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
 
*editing.txt*   For Vim version 7.2.  Last change: 2008 Aug 09
 
1
*editing.txt*   For Vim version 7.2.  Last change: 2008 Aug 22
2
2
 
3
3
 
4
4
                  VIM REFERENCE MANUAL    by Bram Moolenaar
462
462
    ++bad=drop   Remove the bad characters.
463
463
 
464
464
The default is like "++bad=?": Replace each bad character with a question
465
 
mark.
 
465
mark.  In some places an inverted question mark is used (0xBF).
 
466
 
 
467
Note that not all commands use the ++bad argument, even though they do not
 
468
give an error when you add it.  E.g. |:write|.
466
469
 
467
470
Note that when reading, the 'fileformat' and 'fileencoding' options will be
468
471
set to the used format.  When writing this doesn't happen, thus a next write
837
840
Example: >
838
841
        :args *.c
839
842
        :argdo set ff=unix | update
840
 
This sets the 'fileformat' option to "unix" and writes the file if is now
 
843
This sets the 'fileformat' option to "unix" and writes the file if it is now
841
844
changed.  This is done for all *.c files.
842
845
 
843
846
Example: >