Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
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
- relates to
-
QTCREATORBUG-20743 Add qnvim as a plugin
- Open
-
QTCREATORBUG-20998 Some keybindings not work in FakeVim
- Reported
Gerrit Reviews
For Gerrit Dashboard: QTCREATORBUG-14413 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
111957,3 | FakeVim: Pass shortcut to editor if it's mapped to "<PASS>" | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |
111958,2 | FakeVim: Allow to remap shortcuts | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |