mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
vim-mode: fix left/right/up/down key in macOS
This commit is contained in:
parent
48981e09ab
commit
945d29f576
@ -694,7 +694,7 @@ bool VVim::handleKeyPressEvent(int key, int modifiers, int *p_autoIndentPos)
|
||||
case Qt::Key_K:
|
||||
case Qt::Key_L:
|
||||
{
|
||||
if (modifiers == Qt::NoModifier) {
|
||||
if (modifiers == Qt::NoModifier || modifiers == Qt::KeypadModifier) {
|
||||
// Check if we could generate a Repeat token.
|
||||
tryGetRepeatToken(m_keys, m_tokens);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user