Looking for a system-wide autoreplace on Mac OS - macos

I have recently moved from Windows 10 to MacOS Big Sur. On Windows, I used AutoHotkey for system-wide automatic text replacement. For example:
(alpha) would turn into α
(beta) would turn into β
Is it possible to do a similar thing using Automator on Mac? I'm not interested in app-specific settings, as I would like this to work in all apps. Not being familiar with the OS, I am struggling to figure it out, and Google/Apple Documentation have been no help!
Thanks

Go to System Preferences > Keyboard > Text and add your substitutions, as show in the image further below.
You can get to System Preferences from the Apple menu, far left of the menu bar, or from Spotlight pressing the commandspace bar keyboard shortcut and start typing System Preferences, or from the Dock clicking on the System Preferences icon, as shown below.

Related

Unable to map Ctrl+Right or Ctrl+Left keybindings in Visual Studio Code

For some reason the "ctrl+right" / "ctrl+left" keybindings does not work for me in visual studio code. I took a screenshot of my keybindings.json and the Keyboard Shortcuts Troubleshooting:
I've tried the same mapping without the "when" condition or different value but it didn't seem to do anything.
If I change the keybinding to other keybinding like "ctrl+shift+right" or "cmd+right" then keybinding activates. The output here suggests that the keybinding is not found by VS code.
Is there something special about Ctrl+Right/Ctrl+Left key combo?
I am using macOS Big Sur. I didn't touch any default system keybinding. I googled around for mac OS system keybinding but nothing came up under the "ctrl+right"/"ctrl+left" combo.
Before I switch over to VS code I was using Webstorm, which had this keybinding for many years. I never had any problem with it.
I'd appreciate any help or info.
Ctrl+Left/Right maps to desktop switching in macOS by default. So you need to go to Keyboard > Shortcuts in the System Preferences and remove Ctrl+Left/Right from Mission control
See
Use Mission Control on your Mac
How can I make ctrl+right/left arrow stop changing Desktops in Lion?

Show all windows OS X keyboard shortcut for mavericks

Is there a keyboard shortcut for OSX Mavericks to show all windows, even the minimized or hidden ones for an application?
I hate having to use my mouse to click on the Chrome icon to open my other chrome windows.
The keyboard shortcut to show all windows for an application is Ctrl+Down then switch between these windows using arrow keys.
To change the keys used for the shortcut to whatever you want, go to System Preferences-> Keyboard-> Shortcuts-> Mission Control-> Application Windows.
It's under the system preferences for Mission Control: there's a shortcut defined there for "Application windows", currently set to ctrl + down arrow
Works for open and minimised windows for your currently chosen application.
Ctrl + ▲ (up arrow) works on my Mac
You can setup a "hot corner" and select "Application Windows". Also you would see the file history in a banner so that you could also access to your files that are minimised.

How to unbind Command-Control-Space key from Mac OS X 10.9?

How can I unbind Command-Control-Space from Mac OS X 10.9?
This shortcut shows Special Characters table and conflicts with my Emacs key binding, and I couldn't disable it from System Preference->Keyboard->Shortcuts.
Thanks.
At least on macOS Sierra to macOS Big Sur ⌃Space is the default binding for Select the previous input source which is on by default (even if only one input source is activated).
You can free it by:
Open System Preferences
Go to Keyboard > Shortcuts > Input Sources
Untick "Select the previous input source"
Afterwards, you should be able to bind it as expected.
You can create custom keyboard shortcuts for most app's menubar choices in System Preferences. If a desired key combination is losing precedence to a default shortcut that you don't use and can't easily disable, simply override it with a new, unobtrusive shortcut.
Open System Prefs / Keyboard / Shortcuts. Select App Shortcuts from the left pane. Toggle the All Applications category's triangle in the main window to point downward (if it's not open already).
If there's an item named Emoji & Symbols* shown there, then click its shortcut combination and enter a new shortcut (such as option-shift-command-t, in this case).
If there's not an item named Emoji & Symbols under All Applications, click the + button at the bottom, type or copy-paste Emoji & Symbols, and then enter a new keyboard shortcut (option-shift-command-t, or anything really). This will free the control-command-space combination for you to use as a specialized shortcut elsewhere.
To remove your custom shortcut, just click to highlight it in the main window of this preference pane, and click the – button at the bottom. The custom shortcut will disappear and the default action will resume.
*Note: On versions older than Mac OS 10.10.3, the menu item is called Special Characters… instead of Emoji & Symbols.
I don't know of any way to disable this, but an alternative option might be to create a shortcut for the app you want to use that in. I created a Command-Control-Space shortcut for Chrome and now Command-Control-Space doesn't bring up the special character palette anymore in Chrome.
failing that you may be better off asking in Apple Stackexchange

Location of Global Shortcuts in OS X

Xcode 4' default shortcut for FindTab is Cmd+3 and the default shortcut for Issue Navigator is Cmd+4.
My problem is that Cmd+1 and Cmd+2 work fine, but Cmd+3 and Cmd+4 do not.
All the other applications have the same problem. For example, in Finder, Cmd+1 and Cmd+2 works but not Cmd+3 and Cmd+4.
It seems Cmd+3, Cmd+4 are defined in somewhere as global shortcuts, but I can't find them.
I have looked for `Keyboard' in 'System Preferences' and installed and looked in 'KeyRemap for Macbook' but I couldn't find the keys.
Can anyone tell me where to find these keys?
My OS version is 10.7.4. Thanks in advance.
You may be having trouble with Cmd-Shift-3 and Cmd-Shift-4 (Defined in System Preferences > Keyboard > Keyboard Shortcuts > Screen Shots).
Cmd-3 and Cmd-4 are usually apps specific (eg, select tab 3 or 4 in Chrome).
Update:
Check if you are using a third party app that captures those keys. I used to have a issue similar to that when using Skitch: it would capture Cmd-Shift-7, disabling the toggle comments functionality on several editors.
Also check the Services menu (XCode > Services) where those bindings may even be publicized.

TextMate: Shortcut for switching focus between editor and project drawer

I'm looking for a shortcut for switching focus between editor and project drawer in TextMate. I googled a bit with different results, but none of the shortcuts is working for me:
http://dirtystylus.com/2007/10/26/toggling-between-main-window-and-drawer-in-textmate/
http://gtdmarc.blogspot.de/2008/06/some-useful-textmate-shortcuts.html
This link suggest installing the MissingDrawer Plugin, but but that's not the solution I'm looking for.
I have OS X Lion 10.7.3 and TextMate 1.5.10 on a MacBook Pro with a German keyboard layout.
The shortcut in TextMate 2 (using a spanish keyboard) is ctrl + tab.
The official answer is in the docs:
⌘` ⌘~ Switch to the next/previous window. This keyboard shortcut is based on the physical location of the key so on many European keymaps it is instead ⌘< and ⌘> (it is the key to the left of the Z).
⌥⌘` ⌥⌘~ Switch between main window and drawer. Like the previous key this one is also based on physical location. The function is not available on Panther.
EDIT
Both have been working for me on my french keyboard but not how the docs said: neither ⌘+< nor ⌘+> did work but ⌘+` did. YMMV.
ENDEDIT
Just found it, it's ⌘+⌥+<.
In 2.0-beta cmd+alt+tab works fine. It's equivalent of Navigate->Move focus to file browser

Resources