Skip to content

Wrong behavior with folds #67

Open

Description

@anuvyklack

The behavior of the vim-wordmotion plugin doesn't correspond to the default vim w, b, e, ge motions interaction with folds.

Instead of opening fold (if foldopen option contains hor value, which is by default) vim-wordmotion moves cursor between words inside a closed fold without opening it.

Activity

  1. added 5 commits that reference this issue on Jul 4, 2022
    5ab233b
    4bec560
    20cebbc
    f21ffad
    c7caab8
  2. chaoren commented on Jul 5, 2022

    @chaoren
    Owner

    I fixed the behavior when moving into folds, but I still need to fix the behavior of moving over folds.

    doc/motion.txt:

    A sequence of folded lines is counted for one word of a single character.
    "w" and "W", "e" and "E" move to the start/end of the first word or WORD after
    a range of folded lines.  "b" and "B" move to the start of the first word or
    WORD before the fold.
    
  3. reopened this on Jul 5, 2022
  4. added a commit that references this issue on Sep 16, 2024
    5dd613e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions