HW
1. trackpad
- click
- force click, to click with force, to show more info
- right/secondary click, to click with 2 fingers
- pinch with 2 fingers, to zoom
- squeeze with 4 fingers, to show launchpad
- swipe up/down with 2 fingers, to scroll
- swipe horizontally with 2 fingers, to navigate a page
- swipe horizontally with 3 fingers, to switch full-screen apps
2. keyboard
- Option (or Alt) ⌥
- Caps Lock ⇪
- Shift ⇧
- Fn (globe sign)
- Space: Quick Look to preview in Finder, desktop, etc.
2.1 common
Cmd⌘- | |
---|---|
x,c,v | clipboard |
a | select all |
z | undo |
shift-z | redo |
f | Find / find |
^f | full screen |
g | find next |
shift-g | find previous |
h | hide app |
opt-h | hide all except current |
m | minimize |
opt-m | minimize all except current |
n | new doc/window |
o | open |
p | |
s | save |
w | close |
opt-w | close all windows of the app |
q | exit app |
opt-esc | choose app to force quit |
tab | switch app |
shift-5 | screenshot Command-Shift-3 for entire screen. Command-Shift-4 for region. Command-Shift-6 for Touch Bar. |
shift-n | new folder in Finder |
space | spotlight |
^space | Character Viewer |
` (Grave accent) | switch windows of app |
, | prefernce of app |
2.2 power
button | |
---|---|
Power | wake. hold 1.5" to sleep. keep holding to force close. |
Option–Command–Power/Media Eject | Put your Mac to sleep. |
Control–Shift–Power/Media Eject | Put your displays to sleep |
Control–Power/Media Eject | power dialog |
Control–Command–Power | Force restart |
Control-Command-Media Eject | Quit all and restart |
Control–Option–Command–Power/Media Eject | Quit all and shut down |
Control-Command-Q | lock |
Shift-Command-Q | confirm and log out |
Option-Shift-Command-Q | immediate log out |
2.3 Finder
key | |
---|---|
Command-D | make duplicate |
Command-E | Eject |
Command-F | Spotlight |
Command-I | Get Info |
Command-R | (1) When an alias is selected in the Finder: show the original file for the selected alias. (2) In some apps, such as Calendar or Safari, refresh or reload the page. (3) In Software Update, check for software updates again. |
Shift-Command-C | Computer |
Shift-Command-D | desktop |
Shift-Command-F | Recents |
Shift-Command-G | Go to |
Shift-Command-H | Home |
Shift-Command-I | iCloud Drive |
Shift-Command-K | Network |
Option-Command-L | Downloads |
Shift-Command-N | Create a folder |
Shift-Command-O | Documents |
Shift-Command-P | Preview pane |
Shift-Command-R | AirDrop |
Shift-Command-T | tab bar |
Control-Shift-Command-T | Add to Dock |
Shift-Command-U | Utilities |
Option-Command-D | Dock |
Control-Command-T | Add to sidebar |
Option-Command-P | path bar |
Option-Command-S | Sidebar |
Command–Slash (/) | status bar |
Command-J | View Options. |
Command-K | Connect to Server |
Control-Command-A | Make alias |
Command-N | new Finder |
Option-Command-N | new Smart Folder |
Command-T | tab bar |
Option-Command-T | toolbar |
Option-Command-V | Move the files in the Clipboard to current location. |
Command-Y | Quick Look to preview |
Option-Command-Y | Quick Look slideshow |
Command-1 | show as icons |
Command-2 | show as a list |
Command-3 | show in columns |
Command-4 | show in a gallery |
Command–Left Bracket ([) | Go previous |
Command–Right Bracket (]) | Go next |
Command–Up Arrow | Go up |
Command–Control–Up Arrow | Go up in new window |
Command–Down Arrow | Open |
Right Arrow | Open folder. This works only when in list view. |
Left Arrow | Close folder. This works only when in list view. |
Command-Delete | Move to Trash |
Shift-Command-Delete | Empty Trash |
Option-Shift-Command-Delete | Empty Trash without confirmation |
Command–Brightness Down | video mirroring on/off |
Option–Brightness Up | Displays preferences |
Control–Brightness Up/Down | Change brightness |
Option–Shift–Brightness Up/Down | Adjust brightness. Add the Control key to this shortcut to make the adjustment on your external display, if supported by your display. |
Option–Mission Control | Mission Control preferences |
Command–Mission Control | Show desktop |
Control–Down Arrow | Show all windows of the front app. |
Option–Volume Up | Sound preferences |
Option–Shift–Volume Up/Down | Adjust volume in smaller steps. |
Option–Keyboard Brightness Up | Keyboard preferences |
Option–Shift–Keyboard Brightness Up/Down | Adjust keyboard brightness in smaller steps. |
Option key while double-clicking | Open in separate window and close the original |
Command key while double-clicking | Open folder in a separate tab or window. |
Command key while dragging to another volume | Move the dragged item to the other volume |
Option key while dragging | Copy the dragged item |
Option-Command while dragging | Make an alias of the dragged item |
Option-click a disclosure triangle | Open all folders within the selected folder |
Command-click a window title | See the folders that contain the current folder. |
Go menu in the Finder menu bar | to see shortcuts for opening many commonly used folders, such as Applications, Documents, Downloads, Utilities, and iCloud Drive. |
2.4 Document
key | |
---|---|
Command-B | Boldface the selected text, or turn boldfacing on or off. |
Command-I | Italicize the selected text, or turn italics on or off. |
Command-K | Add a web link. |
Command-U | Underline the selected text, or turn underlining on or off. |
Command-T | Show or hide the Fonts window. |
Command-D | Select the Desktop folder from within an Open dialog or Save dialog. |
Control-Command-D | Show or hide the definition of the selected word. |
Shift-Command-Colon (: ) | Display the Spelling and Grammar window. |
Command-Semicolon (; ) | Find misspelled words in the document. |
Option-Delete | Delete the word to the left of the insertion point. |
Control-H | Delete the character to the left of the insertion point. Or use Delete. |
Control-D | Delete the character to the right of the insertion point. Or use Fn-Delete. |
Fn-Delete | Forward delete on keyboards that don’t have a Forward Delete key. Or use Control-D. |
Control-K | Delete the text between the insertion point and the end of the line or paragraph. |
Fn–Up Arrow | Page Up: Scroll up one page. |
Fn–Down Arrow | Page Down: Scroll down one page. |
Fn–Left Arrow | Home: Scroll to the beginning of a document. |
Fn–Right Arrow | End: Scroll to the end of a document. |
Command–Up Arrow | Move the insertion point to the beginning of the document. |
Command–Down Arrow | Move the insertion point to the end of the document. |
Command–Left Arrow | Move the insertion point to the beginning of the current line. |
Command–Right Arrow | Move the insertion point to the end of the current line. |
Option–Left Arrow | Move the insertion point to the beginning of the previous word. |
Option–Right Arrow | Move the insertion point to the end of the next word. |
Shift–Command–Up Arrow | Select the text between the insertion point and the beginning of the document. |
Shift–Command–Down Arrow | Select the text between the insertion point and the end of the document. |
Shift–Command–Left Arrow | Select the text between the insertion point and the beginning of the current line. |
Shift–Command–Right Arrow | Select the text between the insertion point and the end of the current line. |
Shift–Up Arrow | Extend text selection to the nearest character at the same horizontal location on the line above. |
Shift–Down Arrow | Extend text selection to the nearest character at the same horizontal location on the line below. |
Shift–Left Arrow | Extend text selection one character to the left. |
Shift–Right Arrow | Extend text selection one character to the right. |
Option–Shift–Up Arrow | Extend text selection to the beginning of the current paragraph, then to the beginning of the following paragraph if pressed again. |
Option–Shift–Down Arrow | Extend text selection to the end of the current paragraph, then to the end of the following paragraph if pressed again. |
Option–Shift–Left Arrow | Extend text selection to the beginning of the current word, then to the beginning of the following word if pressed again. |
Option–Shift–Right Arrow | Extend text selection to the end of the current word, then to the end of the following word if pressed again. |
Control-A | Move to the beginning of the line or paragraph. |
Control-E | Move to the end of a line or paragraph. |
Control-F | Move one character forward. |
Control-B | Move one character backward. |
Control-L | Center the cursor or selection in the visible area. |
Control-P | Move up one line. |
Control-N | Move down one line. |
Control-O | Insert a new line after the insertion point. |
Control-T | Swap the character behind the insertion point with the character in front of the insertion point. |
Command–Left Curly Bracket ({) | Left align. |
Command–Right Curly Bracket (}) | Right align. |
Shift–Command–Vertical bar | Center align. |
Option-Command-F | Go to the search field. |
Option-Command-T | Show or hide a toolbar in the app. |
Option-Command-C | Copy Style: Copy the formatting settings of the selected item to the Clipboard. |
Option-Command-V | Paste Style: Apply the copied style to the selected item. |
Option-Shift-Command-V | Paste and Match Style: Apply the style of the surrounding content to the item pasted within that content. |
Option-Command-I | Show or hide the inspector window. |
Shift-Command-P | Page setup: Display a window for selecting document settings. |
Shift-Command-S | Display the Save As dialog, or duplicate the current document. |
Shift–Command–Minus sign (-) | Decrease the size of the selected item. |
Shift–Command–Plus sign (+) | Increase the size of the selected item. Command–Equal sign (=) performs the same function. |
Shift–Command–Question mark (?) | Open the Help menu. |
SW
1. dev
xcode
needed by fyne
port
brew does not support macOS 12.
run sudo port -d selfupdate
if package not found.
- dos2unix
- tig
- thefuck
- fzf
- bat
- autojump
- deno
- zsh-autosuggestions
- zsh-syntax-highlighting,
2. info
keepass
KyPass is not free.- strongbox from store supports OneDrive? It cannot list database files out.
- MacPass support local storage only.
- keepassX from Port is similar to MacPass, but easier for browsers.
3. networking
onedrive
app not working any longer. use web page or below.
Cloud Mounter
alternative to RaiDrive on Windows, for OneDrive.