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

« back to all changes in this revision

Viewing changes to runtime/doc/change.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
 
*change.txt*    For Vim version 7.2.  Last change: 2008 Jul 24
 
1
*change.txt*    For Vim version 7.2.  Last change: 2009 Feb 25
2
2
 
3
3
 
4
4
                  VIM REFERENCE MANUAL    by Bram Moolenaar
994
994
and whether the corners are on an existing character.  (Implementation detail:
995
995
it actually works by first putting the register after the selection and then
996
996
deleting the selection.)
 
997
The previously selected text is put in the unnamed register.  If you want to
 
998
put the same text into a Visual selection several times you need to use
 
999
another register.  E.g., yank the text to copy, Visually select the text to
 
1000
replace and use "0p .  You can repeat this as many times as you like, the
 
1001
unnamed register will be changed each time.
997
1002
 
998
1003
                                                        *blockwise-register*
999
1004
If you use a blockwise Visual mode command to get the text into the register,
1098
1103
history for expressions.  When you end the command-line by typing <CR>, Vim
1099
1104
computes the result of the expression.  If you end it with <Esc>, Vim abandons
1100
1105
the expression.  If you do not enter an expression, Vim uses the previous
1101
 
expression (like with the "/" command).  The expression must evaluate to a
1102
 
string.  If the result is a number it's turned into a string.  A List,
1103
 
Dictionary or FuncRef results in an error message (use string() to convert).
1104
 
If the "= register is used for the "p" command, the string is split up at <NL>
1105
 
characters.  If the string ends in a <NL>, it is regarded as a linewise
 
1106
expression (like with the "/" command).
 
1107
 
 
1108
The expression must evaluate to a String.  A Number is always automatically
 
1109
converted to a String.  For the "p" and ":put" command, if the result is a
 
1110
Float it's converted into a String.  If the result is a List each element is
 
1111
turned into a String and used as a line.  A Dictionary or FuncRef results in
 
1112
an error message (use string() to convert).
 
1113
 
 
1114
If the "= register is used for the "p" command, the String is split up at <NL>
 
1115
characters.  If the String ends in a <NL>, it is regarded as a linewise
1106
1116
register.  {not in Vi}
1107
1117
 
1108
1118
7. Selection and drop registers "*, "+ and "~