Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
c4cec4d3dd
1 değiştirilmiş dosya ile 7 ekleme ve 7 silme
  1. +7
    -7
      _keysnail.js

+ 7
- 7
_keysnail.js Dosyayı Görüntüle

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

Yükleniyor…
İptal
Kaydet