diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-01-28 17:21:13 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-01-28 17:21:13 +0100 |
| commit | 8227a8d984a7d2e18acf70ff20d4dd30880ecc77 (patch) | |
| tree | 24c17a20e7503245a16e2200b0bf52ff581a6682 /config.hpp | |
| parent | 6cc6821950730146c4723e0bf5c9e3ac796e2b45 (diff) | |
add search
Diffstat (limited to 'config.hpp')
| -rw-r--r-- | config.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -14,4 +14,7 @@ void register_shortcuts(QWidget *view) { new QShortcut(QKeySequence(MODIFIER + Qt::SHIFT + Qt::Key_H), view, [=]() { history_move(true); }); new QShortcut(QKeySequence(MODIFIER + Qt::SHIFT + Qt::Key_L), view, [=]() { history_move(false); }); new QShortcut(QKeySequence(MODIFIER + Qt::Key_R), view, [=]() { reload(); }); + new QShortcut(QKeySequence(MODIFIER + Qt::Key_Slash), view, [=]() { find(); }); + new QShortcut(QKeySequence(MODIFIER + Qt::Key_N), view, [=]() { find_next(); }); + new QShortcut(QKeySequence(MODIFIER + Qt::SHIFT + Qt::Key_N), view, [=]() { find_previous(); }); } |