Solution: Prevent Dictionary Shortcut Conflicting with Website Preview Shortcut in Safari
Have you ever encountered a situation where the dictionary shortcut in Safari interferes with the website preview shortcut? This can be frustrating, especially when you are trying to quickly preview a link without opening the dictionary. In this article, we will explore a solution to this problem, by redefining the pop-up dictionary shortcut to another key combination, or disabling the preview shortcut altogether.
The Problem
In Safari, the default shortcut for looking up the definition of a word is to control-click (or right-click) on the word, and then select the "Look Up" option from the context menu. However, Safari also has a preview shortcut, which allows you to preview a link by hovering over it and pressing the command key.
The problem arises when both shortcuts are assigned to the same key combination (control + click). This can result in the preview shortcut taking priority over the dictionary shortcut, making it difficult to look up words on a webpage.
The Solution
To prevent this conflict, you have two options: you can either redefine the pop-up dictionary shortcut to another key combination, or disable the preview shortcut.
Option 1: Redefine the Pop-Up Dictionary Shortcut
One solution is to redefine the pop-up dictionary shortcut to another key combination. Here's how to do it:
- Go to System Preferences > Keyboard > Shortcuts.
- Select "Services" from the left-hand menu.
- Find the "Look Up in Dictionary" service in the right-hand menu and click on it.
- Press the key combination you want to use for the new dictionary shortcut.
- Close System Preferences.
Now, when you want to look up a word on a webpage, you can use the new key combination you have just set up. This will prevent the preview shortcut from taking priority over the dictionary shortcut.
Option 2: Disable the Preview Shortcut
Another solution is to disable the preview shortcut. Here's how:
- Go to Safari > Preferences > Tabs.
- Uncheck the box that says "Open pages in tabs instead of windows".
- Close Safari Preferences.
This will disable the preview shortcut altogether. However, keep in mind that this will also disable the ability to open links in new tabs. If you still want to open links in new tabs, but just without the preview shortcut, you can use the middle mouse button or the keyboard shortcut of command + shift + click instead.
Key Concepts
- Preview Shortcut: A shortcut that allows you to preview a link by hovering over it and pressing the command key.
- Dictionary Shortcut: A shortcut that lets you look up the definition of a word on a webpage.
- Conflict: A situation where two shortcuts are assigned to the same key combination.
- Redefine: To change the key combination assigned to a shortcut.
- Disable: To turn off a feature or shortcut.
The conflict between the preview shortcut and the dictionary shortcut in Safari can be resolved by either redefining the dictionary shortcut to another key combination or by disabling the preview shortcut altogether. Both solutions have their pros and cons, and users should choose the solution that best fits their needs.
References
- Apple Inc., Safari User Guide, Apple Inc., 2022.
- John Galt, "Safari: Keyboard shortcut to look up word definition", John Papa's Blog, February 26, 2019.