Sfoglia il codice sorgente

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 anni fa
parent
commit
c4cec4d3dd
1 ha cambiato i file con 7 aggiunte e 7 eliminazioni
  1. +7
    -7
      _keysnail.js

+ 7
- 7
_keysnail.js Vedi File

@@ -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);
//}, 'ひとつ左のタブへ');

Caricamento…
Annulla
Salva