Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25822

[Reg] FakeVim : Automatically enters Visual Mode in split window after entry of search pattern

    XMLWordPrintable

Details

    • Windows
    • e5dd24322fedb28592f5a741b42877da8253465c (qt-creator/qt-creator/master)

    Description

      This works correctly in QtCreator4.14.1 at least.

      How to reproduce :
      1. Open any file for editing
      2. Split the window using Window -> Split Side by Side or by using :vs
      3. Focus the original split
      4. Enter a search pattern which leads to multiple matches using "/<pattern>", and include a terminating <Enter>
      5. The first match is correctly highlighted, and the cursor is positioned at the start of the search pattern
      6. Press n to go to next match

      Result:

      • VISUAL mode is entered and everything between the two matches is selected

      The problem can be removed by exiting VISUAL mode easily by hitting <Esc>, but a consistent behavior of Vim would be preferable.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            nagrohn Nahomi Gröhn (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes