• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Opera actions for keybinds

    Future releases
    10
    21
    12258
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • flyerua
      flyerua last edited by

      @ruario, thanks a lot for keybinds. This helps.

      And you're right, though in old Opera both could be bound to Ctrl+Z 😕

      Also, GoToSpeedDial_1 → GoToSpeedDial_9 do not work. Any idea why?

      Reply Quote 0
        1 Reply Last reply
      • ruario
        ruario last edited by

        And you're right, though in old Opera both could be bound to Ctrl+Z 😕

        That is because the shortcut for the undo action considered context (what your last action was and where you last clicked in the UI). We do not have that functionality yet in new Opera, as it is not trivial to do well.

        Also, GoToSpeedDial_1 → GoToSpeedDial_9 do not work. Any idea why?

        They have been reserved for use but we haven't chosen to enable them yet, since we have to deal with folders and we have not decided on how best to manage that. You can just unmap them all if you want to reuse Ctrl+1 → Ctrl+9. To unmap them, just set them to be empty, e.g. "GoToSpeedDial_1": []

        Here are some further tips for others reading this thread on customising these values.

        • Firstly locate your Preferences file (see opera://about to find the profile directory, the Preferences file is found in there).
        • Before you edit shutdown Opera, the open the Preferences file in an editor (making sure you have backed it up first!)
        • Add the new Keybindings section immediately after the first curly bracket: {

        Here is an example, of how the section should be formatted. I'll remap CycleForwardInActivationList (a.k.a. Activation Order Tab Cycling) to use Ctrl+Q (thus placing it right next to Ctrl+Tab):

           "Keybindings": {
              "Basic": {
                 "CycleForwardInActivationList": ["Ctrl+Q"]
              }
           },
        

        Should you wish to remap more than one, remember the comma at the end of the line after the first entry. Additionally if you want to use a keyboard shortcut that is already in use buy something else, you will need to remap that one first. For example suppose I want Ctrl+N to be New Tab, instead of New Window. I first need to remap New Window to something else:

           "Keybindings": {
              "Basic": {
                 "OpenWindow": ["Ctrl+K"],
                 "AddBlankTab": ["Ctrl+N"]
              }
           },
        

        New Window is now Ctrl+K (not a great shortcut but purely as an example) and New tab is now Ctrl+N. Alternatively, you can simply unmap an old shortcut and not reassign something to it by leaving [] empty.

        Note: If you mess up the json formatting, or enter otherwise invalid entries in the Preference file, it will be discarded. That is why it is key that you make a backup before you start doing such editing.

        P.S. I also cleaned up the formatting of your original post for readability and removed the mentions of Next as the channel is now called beta. And in any case this applies to all Opera channels not just beta.

        Reply Quote 0
          1 Reply Last reply
        • flyerua
          flyerua last edited by

          That is because the shortcut for the undo action considered context (what your last action was and where you last clicked in the UI).

          So it's planned for the future, right?

          They have been reserved for use but we haven't chosen to enable them yet, since we have to deal with folders and we have not decided on how best to manage that.

          Oh, hopefully you can enable them soon.

          Anyway, thanks for your help.

          Reply Quote 0
            1 Reply Last reply
          • ruario
            ruario last edited by

            So it's planned for the future, right?

            Not in the immediate future as it is quite tricky to get right, otherwise the wrong action is undone. Additionally most people don't miss it (so it is not a priority) but yes I hope we can add it one day, as it is certainly nice to have.

            In case you are not aware Ctrl+Shift+T is standard in all browsers to reopen last closed tab (even Opera 12 supported it in addition to Ctrl+Z). Therefore it is worth learning and getting used to IMHO. Thus if you use another's computer you can reopen a tab without thinking, no matter what browser they have installed.

            As a long term Opera user it was weird to me at first but now I am quite used to it and happy with it.

            Oh, hopefully you can enable them soon.

            Or perhaps we should use them for something else?

            Anyway, thanks for your help.

            You are welcome. It was a nice question and I was happy to help. I actually remap some shortcuts myself. For example, I really do have Ctrl+Q set to Activation Order Tab Cycling. 😉

            Reply Quote 0
              1 Reply Last reply
            • ruario
              ruario last edited by

              As you most likely know, you can't easily customize short cuts in Opera ... [snip]

              We did consider a UI for editing these but it is on the back burner for now. Its a shame IMHO because it is a nice power user feature and something that other Chromium based browsers do not provide.

              P.S. If you want to add additional keyboard shortcut actions and edit them I recommend the Vimium extension. It is not currently in our Add-ons store but you can install it from Chrome's store if you install Download Chrome Extension first.

              Reply Quote 0
                1 Reply Last reply
              • sgunhouse
                sgunhouse Moderator Volunteer last edited by

                The obvious follow-up question: Is that a list of all currently supported actions, or are there other actions which might be useful but are currently not assigned?

                Reply Quote 0
                  1 Reply Last reply
                • ruario
                  ruario last edited by

                  Yes these are the currently supported, keyboard accessible actions.

                  Reply Quote 0
                    1 Reply Last reply
                  • helgeag
                    helgeag last edited by

                    Nice one, ruario

                    Reply Quote 0
                      1 Reply Last reply
                    • Deleted User
                      Deleted User last edited by

                      Thanks for the useful information!

                      Reply Quote 0
                        1 Reply Last reply
                      • xantares
                        xantares last edited by

                        Hmm, @ruario, so (for Win) Ctrl+Shift+V is assigned to the action PasteAndGo – that's what you read from the default bindings you posted.

                        But in the context menu of textareas, that combo is used as ”Paste as plain text“.

                        So you that combo ”considers context“ to decide which action to perform. Why cannot Ctrl+Z do the same and perform Undo in text controls, ReopenLastClosedTab otherwise?

                        But that's not my primary concern. I really hate the way Opera defaults to pasting rich text / formatted text. More often than not (almost always) I don't want some obscure formatted text (you never know in which form it will be submitted) to show up in forms and text areas. But I cannot find an action like PastePlain in the list of action verbs you posted – and which you claim is complete. Or isn't it? I'd really like to do a

                          "PastePlain": [],
                          "Paste": ["Ctrl+Shift+V"],
                          "PastePlain": ["Ctrl+V", "Shift+Ins"], …
                        
                        Reply Quote 0
                          1 Reply Last reply
                        • sc0tty
                          sc0tty last edited by

                          So I copy/pasted the keybindings for Windows into my Preferences file and now non of the shortcut keys work anymore.
                          Any reason why this could happen?

                          Reply Quote 0
                            1 Reply Last reply
                          • Deleted User
                            Deleted User last edited by

                            This is great. I've been able to remap a few command (FocusAddressBar, for example), but I'd really like to override Cut/Copy/Paste/Undo to Alt+X,Alt+C+Alt+V,Alt+Z and those don't seem to do anything (the Preferences file seems to be fine and is not being overwritten or renamed as .bad.

                            Any special treatment needed for these accelerators?

                            Thanks!

                            Reply Quote 0
                              1 Reply Last reply
                            • sapsari
                              sapsari last edited by

                              First of all, thanks for sharing this. I've been waiting for this for ages.

                              I'm trying to add
                              "OpenWindow": [ "Ctrl+Alt+N" ]
                              , but it is now working. "Ctrl+Shift+N" and "Alt+N" are working though. Any ideas? I'm using windows btw.

                              Reply Quote 0
                                1 Reply Last reply
                              • ruario
                                ruario last edited by

                                The latest developer builds allow you to customize shortcuts via preferences

                                http://blogs.opera.com/desktop/2015/03/sidebar-extensions-speed-dial-syncing-customizable-shortcuts-opera-developer-29/>

                                Reply Quote 0
                                  1 Reply Last reply
                                • A Former User
                                  A Former User last edited by

                                  Thank you for adding this! I missed it so much.

                                  Reply Quote 0
                                    1 Reply Last reply
                                  • will0n
                                    will0n last edited by

                                    I've tried to add this into the Pereferences file

                                    "NavigateDown": ["Down", "J"],
                                    "NavigateLeft": ["Left", "H"],
                                    "NavigateRight": ["Right", "L"],
                                    "NavigateUp": ["Up", "K"]
                                    

                                    to make a vim-like key-binding, but it did't work. Anyone knows why?

                                    Plus, I'm interested in that whether it is possible to make a short cut to a line of script, like Opera 12?

                                    Reply Quote 0
                                      1 Reply Last reply
                                    • First post
                                      Last post

                                    Computer browsers

                                    • Opera for Windows
                                    • Opera for Mac
                                    • Opera for Linux
                                    • Opera beta version
                                    • Opera USB

                                    Mobile browsers

                                    • Opera for Android
                                    • Opera Mini
                                    • Opera Touch
                                    • Opera for basic phones

                                    • Add-ons
                                    • Opera account
                                    • Wallpapers
                                    • Opera Ads

                                    • Help & support
                                    • Opera blogs
                                    • Opera forums
                                    • Dev.Opera

                                    • Security
                                    • Privacy
                                    • Cookies Policy
                                    • EULA
                                    • Terms of Service

                                    • About Opera
                                    • Press info
                                    • Jobs
                                    • Investors
                                    • Become a partner
                                    • Contact us

                                    Follow Opera

                                    • Opera - Facebook
                                    • Opera - Twitter
                                    • Opera - YouTube
                                    • Opera - LinkedIn
                                    • Opera - Instagram

                                    © Opera Software 1995-