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

Better Ctrl-Key handling with FakeVim

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • FakeVim
    • None

    Description

      Currently there are only two options on how to use FakeVim:
      (1) Ctrl-keys interpreted by FakeVim
      (2) Ctrl-keys interpreted by Qt Creator

      If I select (1), I have no code completion, can use Ctrl-s for saving files only in insert mode, most of the useful shortcuts simply don't work, since many of them use the Ctrl-key.

      If I select (2), most of Qt Creator's nice functions are available, but those of vi's visual mode commands using the Ctrl key are disabled. This hurts most when using Ctrl-F (page down) and Ctrl-B (page up).

      From a user's perspective (I don't know how complicated this would be) it would be nice to have an option enabling some of the most popular visual mode shortcuts in FakeVim even if passing of Ctrl key to Qt Creator is enabled. On the top of the list I'd see Ctrl-F/Ctrl-B here.

      These two shortcuts may seem trivial for non-vi users, but the very reason why people use vi is not having to grab for keys like INS/DEL/PgUp/PgDown etc., so the behaviour as it is is very inconvenient.

      Of course, a keymap editor like in Eclipse would be great, but I understand that this might be a bit over the top here.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-14413
          # Subject Branch Project Status CR V

          Activity

            People

              hjk hjk
              md Martin Dietze
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes