#include <QKeyEvent>
Go to the source code of this file.
|
| | Vim |
| | Everything related to vim-mode inside schim.
|
| |
|
|
typedef Count | Vim::N |
| | Convenience typedef.
|
| |
|
|
void | Vim::enable (bool enable) |
| | Enable/Disable vim-mode throughout the application instance.
|
| |
|
bool | Vim::enabled () |
| | Is vim-mode enabled?
|
| |
|
Count | Vim::n () |
| | The vim-count from the current key sequence.
|
| |
| void | Vim::addBinding (const QString &sequence, const QString &action) |
| | Register a keybinding with Vim-mode. More...
|
| |
| void | Vim::addBindings (const QMap< QString, QString > &map) |
| | Convenient alternative to multiple calls of Vim::addBinding. More...
|
| |
| void | Vim::registerKeyPress (QKeyEvent *event, std::function< bool(const Action &action)> callback, bool allowCount=true) |
| | Process a key press in vim-mode. More...
|
| |
|
void | Vim::resetStroke () |
| | Discard the current key sequence and reset vim status indicator.
|
| |
|
QString | Vim::getStatusText () |
| | Get the vim status text for the current key sequence.
|
| |
◆ vimdo
Value:for (int Intentionally_Long_Unlikely_Name = 0;\
Intentionally_Long_Unlikely_Name <
N; ++Intentionally_Long_Unlikely_Name)
Count N
Convenience typedef.
Definition: vim.h:68
Repeat a command N times.
Usage:
vimdo(N) { multiple_commands }
- Note
- This is a convenience macro.