pressing ctrl + shift saves the file.
Its happening for me. Can you please let me know you guys to have the same issue ?
Yes, this happends to me, too
It's a problem with the keybind. It's checking for "ctrl s" and reads the first letter of "shift" in combination with the "ctrl" press as a match. I need to rework the specificity/checking on that.
It's in the line 61:
if (this.cur_combo.indexOf(this.code)!== -1 && this.callback){
It should be
if (this.cur_combo == this.code && this.callback){
because it should check if it's EXACTLY that combination and not it the combination contains it.
The problem is that the keybind work by contsantly building and clearing the list of keys pressed on the interval set by the handler. So if you press (for example) a b n 4 ctrl s within the 500ms (or whatever it's set to) you won't match for ctrl s if you do a straight comparison.
This may take some rethinking / reworking to get right.
Oh, ok. Then why not use the builtin window.event.shiftKey and window.event.ctrlKey, so you can do it without saving all the pressed keys