Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// imap されていないキーで無視したいものは、inoremap <C-n> <nop> などとしておく
window.addEventListener(
'keypress',
function (event) {
if (modes.isMenuShown) {
let map = mappings.get(modes.INSERT, events.toString(event));
if (map) {
event.preventDefault();
event.stopPropagation();
map.execute();
}
}
},
false
);
@anekos

This comment has been minimized.

Copy link
Owner Author

@anekos anekos commented Jun 19, 2011

某所のコメントよりしゅうせー

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment