~ubuntu-branches/debian/sid/neovim/sid

« back to all changes in this revision

Viewing changes to runtime/doc/change.txt

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2016-04-18 21:42:19 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20160418214219-1e6d4o1fwqarzk46
Tags: 0.1.3-1
* New upstream release.  (Closes: #820562)
* debian/control:
  + Remove unnecessary luarocks Build-Depends
  + Add libkvm-dev Build-Depends for kfreebsd-*
  + Add python(3)-neovim to Recommends.  (Closes: #812737)
  + Declare compiance with policy 3.9.8, no changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
*change.txt*    For Vim version 7.4.  Last change: 2015 Feb 10
 
1
*change.txt*    For Vim version 7.4.  Last change: 2015 Jun 25
2
2
 
3
3
 
4
4
                  VIM REFERENCE MANUAL    by Bram Moolenaar
366
366
CTRL-A                  Add [count] to the number or alphabetic character at
367
367
                        or after the cursor.
368
368
 
 
369
                                                       *v_CTRL-A*
 
370
{Visual}CTRL-A          Add [count] to the number or alphabetic character in
 
371
                        the highlighted text.  {not in Vi}
 
372
 
 
373
                                                        *v_g_CTRL-A*
 
374
{Visual}g CTRL-A        Add [count] to the number or alphabetic character in
 
375
                        the highlighted text. If several lines are
 
376
                        highlighted, each one will be incremented by an
 
377
                        additional [count] (so effectively creating a
 
378
                        [count] incrementing sequence).  {not in Vi}
 
379
                        For Example, if you have this list of numbers:
 
380
                                1. ~
 
381
                                1. ~
 
382
                                1. ~
 
383
                                1. ~
 
384
                        Move to the second "1." and Visually select three
 
385
                        lines, pressing g CTRL-A results in:
 
386
                                1. ~
 
387
                                2. ~
 
388
                                3. ~
 
389
                                4. ~
 
390
 
369
391
                                                        *CTRL-X*
370
392
CTRL-X                  Subtract [count] from the number or alphabetic
371
393
                        character at or after the cursor.
372
394
 
373
 
The CTRL-A and CTRL-X commands can work for:
374
 
- signed and unsigned decimal numbers
375
 
- unsigned binary, octal and hexadecimal numbers
376
 
- alphabetic characters
 
395
                                                        *v_CTRL-X*
 
396
{Visual}CTRL-X          Subtract [count] from the number or alphabetic
 
397
                        character in the highlighted text.  {not in Vi}
 
398
 
 
399
                                                        *v_g_CTRL-X*
 
400
{Visual}g CTRL-X        Subtract [count] from the number or alphabetic
 
401
                        character in the highlighted text. If several lines
 
402
                        are highlighted, each value will be decremented by an
 
403
                        additional [count] (so effectively creating a [count]
 
404
                        decrementing sequence).  {not in Vi}
 
405
 
 
406
The CTRL-A and CTRL-X commands work for (signed) decimal numbers, unsigned
 
407
binary/octal/hexadecimal numbers and alphabetic characters.
377
408
 
378
409
This depends on the 'nrformats' option:
379
410
- When 'nrformats' includes "bin", Vim assumes numbers starting with '0b' or