-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: macro recording of typing doesn't work. #111
Comments
Using [q] to record a macro works for me. Can you describe your issue in more detail? |
Hey, very weird, I can't get a macro recording of typing working under multiple different chromium browsers and multiple different websites - https://editor.bitwiser.in and 2 other separate ones we are working on! |
I used |
Hmm perhaps https://editor.bitwiser.in isn't up to date for some reason? I am able to get it to work on my website: |
Oh that works! We use the https://unpkg.com/monaco-vim/dist/monaco-vim version in https://compute.toys/new (I forgot why, but it didn't work as npm package in react/nextjs). Maybe it isn't updated? |
unpkg seems to be pointing to version 0.4.0 which is what I'm using as well on npm. Macros also seem to be working at https://godbolt.org/ Are you on 0.4.0 as well? |
very weird, it should be fetching the current version from unpckg! Tried updating monaco as well, but no change. It's weird that we have this issue on 2 different projects. |
Hmm yeah, you could hard point it to 0.4.0 too if you haven't already: https://unpkg.com/[email protected]/dist/monaco-vim.js |
huh, that version actually breaks any kind of macro replay, it seems. window.require.config({
paths: {
// 'monaco-vim': 'https://unpkg.com/monaco-vim/dist/monaco-vim'
'monaco-vim': 'https://unpkg.com/[email protected]/dist/monaco-vim.js'
}
});
window.require(['monaco-vim'], MonacoVim => {
const statusNode = document.querySelector('.vim-status');
setVimContext(MonacoVim.initVimMode(editor, statusNode));
}); Does this look correct? |
It only records a single character stroke. Multiple characters don't work
The text was updated successfully, but these errors were encountered: