Skip to content

Commit

Permalink
Add keyboard shortcuts to Toggle Marker
Browse files Browse the repository at this point in the history
Solves #133
  • Loading branch information
Cuperino committed Sep 28, 2024
1 parent 00fb79c commit 3a131e7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/prompter/Prompter.qml
Original file line number Diff line number Diff line change
Expand Up @@ -1193,6 +1193,12 @@ Flickable {
//case Qt.Key_J:
// document.alignment = Qt.AlignJustify;
// return;
case Qt.Key_M:
if (event.modifiers & Qt.ShiftModifier)
namedMarkerConfiguration.open();
else
document.regularMarker = !document.regularMarker;
return;
// Forward these other keys to prompter.
case Qt.Key_F:
case Qt.Key_V:
Expand Down

0 comments on commit 3a131e7

Please sign in to comment.