読者です 読者をやめる 読者になる 読者になる

Opera 15のショートカットキーカスタマイズ

/Applications/Opera.app/Contents/Versions/15.0.1147.132/Opera Framework.framework/Resources/opera.pakにデフォルト設定のJSONが入っていたので、これを参考にProfileディレクトリのPreferencesを書き換えれば色々できそう。 nストロークキーをマッピングできるかどうかは不明。 あとActionの連結ができればこれはもう最強伝説だね!

まあどうせまたLinux版は1年以上放置されそうだけど……。

"Keybindings": {
  "Settings": { "AdvancedEnabled": false },
  "Basic": {
    "AccessKeyToggle": ["Esc+Shift"],
    "AddBlankTab": ["Ctrl+T","Command+T"],
    "AddToBookmarks": ["Command+Shift+D","Command+D"],
    "Back": ["Command+Left"],
    "Bookmarks": ["Command+Shift+B", "Command+B"],
    "CloseActiveTab": ["Command+W", "Ctrl+F4"],
    "ClosePrivateWindow": ["Ctrl+Shift+Q"],
    "CloseWindow": ["Command+Shift+W"],
    "Copy": ["Command+C"],
    "Cut": ["Command+X"],
    "CycleBackwardInActivationList": ["Ctrl+F2"],
    "CycleForwardInActivationList": ["Ctrl+F1"],
    "Delete": ["Del"],
    "DevTools": ["Command+Alt+I"],
    "DevToolsConsole": ["Command+Alt+J"],
    "DevToolsInspect": ["Command+Alt+C"],
    "EditProperties" : ["Command+i"],
    "ErrorConsole": ["Command+Shift+O"],
    "Exit": ["Command+Q"],
    "Extension": ["Command+Shift+E"],
    "Find": ["Command+F"],
    "FindInline": ["OemPeriod","OemComma"],
    "FindNext": ["Command+G"],
    "FindPrevious": ["Command+Shift+G"],
    "FitToWidth" : ["F11+Ctrl"],
    "FocusAddressbar" : ["Command+L","Command+E","Ctrl+F5"],
    "FocusNextWidget": ["Tab"],
    "FocusPage" : ["Ctrl+F6"],
    "ForceReload": ["Shift+F5","Command+Alt+R"],
    "Forward": ["Shift+Backspace","Alt+Right","Command+Right"],
    "GoToEnd": ["End","Ctrl+End"],
    "GoToPage" : ["F2"],
    "GoToSpeedDial_1" : ["Command+1"],
    "GoToSpeedDial_2" : ["Command+2"],
    "GoToSpeedDial_3" : ["Command+3"],
    "GoToSpeedDial_4" : ["Command+4"],
    "GoToSpeedDial_5" : ["Command+5"],
    "GoToSpeedDial_6" : ["Command+6"],
    "GoToSpeedDial_7" : ["Command+7"],
    "GoToSpeedDial_8" : ["Command+8"],
    "GoToSpeedDial_9" : ["Command+9"],
    "GoToTop": ["Home","Ctrl+Home"],
    "HideOpera": ["Command+H"],
    "History": ["Command+Shift+H", "Command+Alt+2"],
    "Homepage" : ["Space+Meta", "Command+Home"],
    "NavigateDown": ["Down"],
    "NavigateLeft": ["Left"],
    "NavigateRight": ["Right"],
    "NavigateUp": ["Up"],
    "NavStop": ["Esc"],
    "OpenDocument" : ["Command+O"],
    "OpenLinkInBackground": ["Command+Shift+Enter"],
    "OpenLinkInNewPage": ["Command+Enter"],
    "OpenMenu" : ["Command+M"],
    "OpenPrivateWindow": ["Command+Shift+N"],
    "OpenWindow": ["Command+N"],
    "PageDown" : ["PageDown","Space"],
    "PageLeft" : ["Command+PageUp"],
    "PageRight" : ["Command+PageDown"],
    "PageUp" : ["PageUp"],
    "ParentDirectory": ["Command+Backspace"],
    "Paste": ["Command+V","Meta+Y"],
    "PasteAndGo": ["Command+Shift+V"],
    "PastePassword": ["Command+Alt+Enter"],
    "Preferences": ["Command+OemComma"],
    "Print" : ["Command+P"],
    "PrintPreview": ["Command+Shift+P"],
    "QuickPreferences": ["Alt+F12"],
    "Redo": ["Command+Y","Command+Shift+Z"],
    "Reload": ["F5","Command+R"],
    "ReloadFrame": ["Alt+F5"],
    "ReopenLastClosedTab": ["Command+Shift+T"],
    "ResetZoom" :["Mul", "Command+0", "Command+Num0"],
    "Save" : ["Command+S"],
    "SelectAll": ["Command+A"],
    "SelectPreviouslyActiveTab": ["Ctrl+Grave"],
    "SelectTabToTheRight": ["Ctrl+Tab"],
    "SelectTabToTheLeft": ["Ctrl+Shift+Tab"],
    "ShowContextMenu": ["Command+Shift+M"],
    "ShowHelp" : ["Command+Shift+OemSlash"],
    "SwitchToNextPage": ["Command+Shift+Right"],
    "SwitchToPreviousPage": ["Command+Shift+Left"],
    "ToggleFullscreen": ["Command+Shift+F"],
    "ToggleKeyboardSelection" : ["F7"],
    "ToggleOverstrike": ["Ins"],
    "Transfers": ["Command+J"],
    "Undo": ["Command+Z"],
    "ValidateSource": ["Command+Shift+U"],
    "ViewSource": ["Command+U", "Command+Alt+U"],
    "ZoomIn" : ["Command+OemPlus", "Command+Shift+OemPlus", "Shift+OemPlus", "Command+Plus", "Plus", "OemPlus"],
    "ZoomOut" : ["Command+OemMinus", "Command+Minus", "Minus", "OemMinus"]
  },
  "Advanced": {
    "Back": ["Z"],
    "FastForward": ["Shift+X"],
    "Find": ["OemSlash"],
    "FocusNextFrame": ["3"],
    "FocusPreviousFrame": ["Shift+3"],
    "Forward": ["X"],
    "LoadAllImages" : ["I"],
    "ResetZoom": ["6", "Num6"],
    "Rewind": ["Shift+Z"],
    "SelectNextElement" : ["D"],
    "SelectNextHeading" : ["S"],
    "SelectNextLink" : ["A"],
    "SelectPrevElement" : ["E"],
    "SelectPrevHeading" : ["W"],
    "SelectPrevLink" : ["Q"],
    "ShowAddressDropdown" : ["H"],
    "ShowImagesToggle": ["Shift+I"],
    "ZoomIn": ["0", "Num0"],
    "ZoomInMore": ["8"],
    "ZoomOut": ["9", "Num9"],
    "ZoomOutMore": ["7"]
  }
}