Skip to content

Commit 226ea57

Browse files
committed
[Update] Updated key press to move throughout the doc
1 parent 3bd3333 commit 226ea57

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/codeeditor.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ void CodeEditor::keyPressEvent(QKeyEvent *event)
3434
case Qt::Key_I:
3535
mode = INSERT;
3636
break;
37-
case Qt::Key_H:
37+
case Qt::Key_A:
3838
moveCursor(QTextCursor::Left);
3939
break;
40-
case Qt::Key_L:
40+
case Qt::Key_D:
4141
moveCursor(QTextCursor::Right);
4242
break;
43-
case Qt::Key_J:
43+
case Qt::Key_X:
4444
moveCursor(QTextCursor::Down);
4545
break;
46-
case Qt::Key_K:
46+
case Qt::Key_W:
4747
moveCursor(QTextCursor::Up);
4848
break;
4949
case Qt::Key_Escape:

0 commit comments

Comments
 (0)