You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The script works here, but maybe this is the same issue as #134, where < gets translates into the wrong key. Can you try adding the following debug line to see what is being passed onto neovim.
diff --git a/src/gui/shell.cpp b/src/gui/shell.cpp
index a2e5096..1c771be 100644
--- a/src/gui/shell.cpp+++ b/src/gui/shell.cpp@@ -567,6 +567,7 @@ void Shell::keyPressEvent(QKeyEvent *ev)
return;
}
+ qDebug() << ev->text() << ev->key() << ev->modifiers() << inp;
m_nvim->neovimObject()->vim_input(m_nvim->encode(inp));
// FIXME: bytes might not be written, and need to be buffered
}
source the vim script file above define
<<
and>>
mapping but<<
mapping seems not work only on neovim-qt (works on vim/GVim/nvim but neovim-qt).I confirmed that
<<
is mapping tos:test()
correctly by:nmap
.I'm not really sure if it is my environment issue or bug. Could you try with the script above?
The text was updated successfully, but these errors were encountered: