packagecontrol.io
packagecontrol.io copied to clipboard
preventDefault on ctrl+shift+p, and tabindex=0 to get the focus first
Hello!
I'm using package control, and it's really great, thank you so much for creating and maintaining it!
But, there's a really simple problem, here's the issue #28. So I just made 2 changes:
- add
e.preventDefault() - set the
tabindexto0
I haven't test it, because I can't, but it should work
Have a nice day, Matt
Since it's been a while, and nothing has happen, here's an alternative:
use an extension like User JavaScript And CSS and add this code:
document.addEventListener('keydown', function (e) {
if (e.shiftKey && e.ctrlKey && e.keyCode == 80) {
e.preventDefault()
}
})