From c4cec4d3ddb7d05654a88b417e2057795e3c0307 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 12 Dec 2013 17:33:46 +0900 Subject: [PATCH] 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. --- _keysnail.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/_keysnail.js b/_keysnail.js index 8e005ea..f7e7155 100644 --- a/_keysnail.js +++ b/_keysnail.js @@ -1021,10 +1021,10 @@ key.setEditKey('C-o', function (ev) { command.openLine(ev); }, '行を開く (Open line)'); -key.setGlobalKey('C-', function (ev) { - getBrowser().mTabContainer.advanceSelectedTab(1, true); -}, 'ひとつ右のタブへ'); - -key.setGlobalKey('C-', function (ev) { - getBrowser().mTabContainer.advanceSelectedTab(-1, true); -}, 'ひとつ左のタブへ'); +//key.setGlobalKey('C-', function (ev) { +//getBrowser().mTabContainer.advanceSelectedTab(1, true); +//}, 'ひとつ右のタブへ'); +// +//key.setGlobalKey('C-', function (ev) { +//getBrowser().mTabContainer.advanceSelectedTab(-1, true); +//}, 'ひとつ左のタブへ');