Mac disables default IME
Sogou Input method already contains Chinese, English input method, the rest of the input method can be deleted. Press Ctrol when it should be Sogou input method in English switch, the result is Sogou Input method and ABC input method to switch between each other.
Open keyboard preferences, found that the ABC input method can not be deleted, Mac since the ban on the deletion of ABC Input method, there must be a reason for it. So how to use only Sogou input method?
In other words, when we press the control key, there are two people who want to intercept this event:
- System, the Ctrol key is the shortcut key to toggle Input method
- Sogou Input method, control key is to switch between English and Chinese shortcut keys
In fact, the event was intercepted by the system.
Understand this truth, you can change the "keyboard preferences-shortcut keys-Input Method" to the input method related shortcut keys are all deleted.
Mouse wheel direction under Mac
Under Windows, the Touchpad controls the content, so drag down and drag the content. The scroll bar is controlled by the mouse wheel.
Under the Mac, the touchpad controls the content, and the scroll bar controls the content.
I think Apple's design is wrong, although the wheel and touchpad direction control the content looks more concise, but should treat things differently, it should be treated differently.
Install a software that can use the mouse wheel and touchpad as you would on Windows: https://pilotmoon.com/scrollreverser/
Add the Code command for visual Studio code to the environment variable
After downloading the Visualstudiocode, drag the vscode into the Finder's application, so that the Vscode becomes an application. Open vscode,cmd+shift+p Open Command panel, enter "shell command, install code into path"
Then use the Whereis Code command to view the Vscode installation location,/usr/local/bin/code file is a soft link linked to/applications/visual Studio code.app/contents/ Resources/app/bin/code. In fact, all of our applications are installed under/applications/.
Use your Mac for the first time