Security & Privacy>
Require password after sleep or screen saver begins
Control+Shift+Power to turn off and lock screen.
When the power adapter is connected:
In System Preference > Keyboard > Modifier Keys,
Command keys can be swapped,
Caps can be used as an additional
Karabiner-Elements is a powerful keyboard modifier for osx.
For example, it supports PC-style keyboard shortcuts.
However, some of them do not work, and results in inconsistent keyboard shortcuts.
It is recommend to swap
Command through Karabiner-Elements’ simple modification instead.
And import certain complex rules like
Alt-Tab from it individually.
Unselect “Scroll direction: Natural” in System Preferences > Mouse. (The direction may be natural to touch screen, but it is not natural for mouse at all.)
Long press the restore button, then drag the window to the left or right part of the screen.
Another way is activating mission control. Then move one window to another full screen window in another virtual desktop.
Drag the edge between two tiling windows to adjust the size of the two windows at the same time.
Ctrl-Left/Right to switch among virtual desktops.
Ctrl-Up/Down to show an overview of desktops or go back to normal mode.
QuickTime > File > New Screen Recording
~/Library is hidden.
To reveal it in Finder temporarily,
hold the Option key, then click the
and the Library fodler is revealed in the dropdown menu.
To permanently reveal the Library folder in Finder, run the following command:
chflags nohidden ~/Library/
BTW, most applications’ user configuration files are in
To enable developer tools, select “Show Develop menu in menu bar” in Safari > Preferences > Advanced.
There are several vi shortcuts extensions for safari, for example, sVim.
sVim can be configured via sVimrc via the extension settings in Safari.
D to close and undo close tab:
" Shortcuts map "d" quit map "shift+d" lastClosedTab
Google accounts can be added to the Mail.app. Except for the gmail, other osx applications can also sync with Google account:
Faults of boxen:
So I just setup osx manually.