Selaa lähdekoodia

remove switching tabs keybinds

In newer version of firefox of mac, C-right and C-left switch selected tab
twice.
It seems that these keybinds are now firefox default settings (at least
        as for mac) so remove them so that these keybind moves selected
tab only once.
I do not know if this change works also in other platforms like windows and
linux.
pull/1/head
10sr 11 vuotta sitten
vanhempi
commit
c4cec4d3dd
1 muutettua tiedostoa jossa 7 lisäystä ja 7 poistoa
  1. +7
    -7
      _keysnail.js

+ 7
- 7
_keysnail.js Näytä tiedosto

@@ -1021,10 +1021,10 @@ key.setEditKey('C-o', function (ev) {
command.openLine(ev);
}, '行を開く (Open line)');

key.setGlobalKey('C-<right>', function (ev) {
getBrowser().mTabContainer.advanceSelectedTab(1, true);
}, 'ひとつ右のタブへ');
key.setGlobalKey('C-<left>', function (ev) {
getBrowser().mTabContainer.advanceSelectedTab(-1, true);
}, 'ひとつ左のタブへ');
//key.setGlobalKey('C-<right>', function (ev) {
//getBrowser().mTabContainer.advanceSelectedTab(1, true);
//}, 'ひとつ右のタブへ');
//
//key.setGlobalKey('C-<left>', function (ev) {
//getBrowser().mTabContainer.advanceSelectedTab(-1, true);
//}, 'ひとつ左のタブへ');

Ladataan…
Peruuta
Tallenna