Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

In normal mode, <kbd>/</kbd> <kbd>Enter</kbd> doesn't advance to the next search result (for the previous search) #63

@kenny-evitt

Description

@kenny-evitt

This covers LightTable/LightTable#566. The original comment:

;in vim-mode
/word

; highlights matches

/

; actual:
matches are still highlighted, but cursor is not advance

;expected
cursor advanced to next match

More explicit steps to reproduce:

  1. Open an editor tab for a while with some text.
  2. In normal mode type / to open the find bar at the bottom of the tab.
  3. In the find find textbox, type something for which there are at least several results in the editor text, e.g. a, and then hit Enter.
  4. Navigate so that cursor is not at the beginning of the first (or next) search result, e.g. hit l several times.
  5. Type / to bring up the find bar again and then hit Enter.

In Vim, the cursor should advance to the next search result. In the latest version of Light Table [technically, a current source build of LT], the previous search result is highlighted but the cursor does not move. Using n or N (in normal mode) still works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions