Explorar el Código

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 hace 11 años
padre
commit
c4cec4d3dd
Se han modificado 1 ficheros con 7 adiciones y 7 borrados
  1. +7
    -7
      _keysnail.js

+ 7
- 7
_keysnail.js Ver fichero

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

Cargando…
Cancelar
Guardar