Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tag: 1.50
Commits on Sep 1, 2011
  1. Version 1.50

    Ingo Karkat authored committed
    - For regions of lines, also support a match()-like Funcref instead of a pattern to define the range. This for example enables to define a range of diff changes via a predicate function that checks diff_hlID() != 0.
    - Initialize global g:CountJump_Context object for custom use by Funcrefs.
Commits on Jun 23, 2011
  1. Version 1.41

    Ingo Karkat authored committed
    FIX: Directly ring the bell to avoid problems when running under :silent!.
Commits on Dec 20, 2010
  1. Version 1.40

    Ingo Karkat authored committed
    - ENH: Added CountJump#Region#TextObject#Make() to easily define text objects for regions.
    - Interface change: Jump functions again return position (and actual, corrected one for a:isToEndOfLine). Though the position is not used for motions, it is necessary for text objects to differentiate between "already at the begin/end position" and "no such position".
  2. Version 1.30

    Ingo Karkat authored committed
    - ENH: Added CountJump#Region#Motion#MakeBracketMotion() to easily define bracket motions for regions.
    - Interface changes:
      - Jump functions don't necessarily return jump position any more; this special case is only required for text objects.
      - Moved CountJump#Region#Jump() to CountJump#JumpFunc().
      - Added a:isToEndOfLine argument to CountJump#Region#JumpToRegionEnd() and CountJump#Region#JumpToNextRegion(), which is useful for operator-pending and characterwise visual mode mappings; the entire last line will then be operated on / selected.
      - Added a:isMatch argument to CountJump#Region#SearchForRegionEnd(), CountJump#Region#JumpToRegionEnd(), CountJump#Region#SearchForNextRegion(), CountJump#Region#JumpToNextRegion(). This allows definition of regions via non-matches, which can be substantially simpler (and faster to match) than coming up with a "negative" regular expression.
Commits on Oct 18, 2010
  1. Version 1.22

    Ingo Karkat authored committed
    - No more motion mappings and text objects for select mode; as the mappings start with a printable character, no select-mode mapping should be defined.
  2. Version 1.21

    Ingo Karkat authored committed
    - FIX: A 2]] jump inside a region (unless last line) jumped like a 1]] jump. The search for next region must not decrease the iteration counter when _not_ searching _across_ the region.
    - FIX: Must not do (characterwise) end position adaptation for linewise text object that does not exclude boundaries.
    - Switched example from email fortunes to Pascal begin..end blocks, as they are conceptually easier.
  3. Version 1.20

    Ingo Karkat authored committed
    - ENH: In CountJump#Motion#MakeBracketMotion(), a:keyAfterBracket and a:inverseKeyAfterBracket can now be empty, the resulting mappings are then omitted. Likewise, any jump function can be empty in CountJump#Motion#MakeBracketMotionWithJumpFunctions().
    - With the added CountJump#Motion#MakeBracketMotionWithJumpFunctions() motions can be defined via jump functions, similar to how text objects can be defined.
    - Added CountJump/Region.vim to move to borders of a region defined by lines matching a pattern.
    - FIX: CountJump#CountJump() with mode "O" didn't add original position to jump list.
    - The previous visual selection is kept when the text object could not be selected. (Beforehand, a new selection of the text object's selection type was created.)
    - The adjustment movements after the jumps to the text object boundaries now do not cause beeps if that movement cannot be done (e.g. a 'j' at the end of the buffer).
  4. Version 1.10

    Ingo Karkat authored committed
    - Changed behavior if there aren't [count] matches: Instead of jumping to the last available match (and ringing the bell), the cursor stays at the original position, like with the old vi-compatible motions.
    - ENH: Only adding to jump list if there actually is a match. This is like the built-in Vim motions work.
    - FIX: For a linewise text object, the end cursor column is not important; do not compare with the original cursor column in this case.
  5. Version 1.00: Initial upload

    Ingo Karkat authored committed
Something went wrong with that request. Please try again.