chieffancypants / angular-hotkeys

Configuration-centric keyboard shortcuts for your Angular apps.
http://chieffancypants.github.io/angular-hotkeys/
MIT License
1.68k stars 254 forks source link

Shift++ (combo with key '+') #244

Open bennyjonsson opened 7 years ago

bennyjonsson commented 7 years ago

Can't set key '+' as combo key hotkeys.add({ combo: 'alt++', // key +

tomsoderlund commented 7 years ago

Me too, can't get 'mod+plus' or 'mod+shift+=' (as described in https://github.com/ccampbell/mousetrap/issues/243) to work either.

eassa commented 7 years ago

it workes for me using Ctrl ++ , (the + in the num lock panel only ) hotkeys.add({ combo: 'ctrl++', description: 'Zoom IN ', callback: function(event, hotkey) { event.preventDefault(); $scope.zoomin(); } }); // zoom out hotkeys.add({ combo: 'ctrl+-', description: 'Zoom Out', callback: function(event, hotkey) { event.preventDefault(); $scope.zoomout(); } });

tomsoderlund commented 7 years ago

Yeah I only have a laptop keyboard and it doesn't work there. Seems to be differences between numeric keyboard and regular - saw this in the Mousetrap discussions too.