Skip to content

macOS

terminal / command line: macOS terminal review : macOS review

Mac hotkey#

decoration keys#

symbol char
Command,M
Shift , S
Option, A
Control , C

切换窗口: windows navigation#

hotkey meaning
M+q Force close a window
M+Tab Switch between App
M+` Switch in App between windows
shift+cmd+. Show/hide \^.NAME\ files
S+ [\] (not global) Move forwards,backwards
cmd+W close tab
cmd+M = minimize (not quit)
cmd+Q quit app

costomized hotkeys#

files ctrl+cmd+T = new terminal tab at selected folder (preference-keyboard shortcuts-service-files and folders) global cmd+shift+T = launch terminal tab global (automator-quickaction-launchapp) cmd+shift+F = launch finder (automator-quickaction-launchapp) ~~use Finder search window, this cannot activiate finder ~~ cmd+shift+V = launch VScode (automator-quickaction-launchapp)

Files#

hidden files 隐藏文件#

.开头的文件名=隐藏 (同 Linux) 隐藏文件所在的目录按键盘上面的 shift+cmd+. ,可以查看隐藏的目录。 再次按shift+cmd+.,即可恢复文件的隐藏状态。

extension / format#

.sh for mac = .bat for windows

Environment#

my settings#

  • new .zshrc file (available on Github)
  • disabled "Displays have separate Spaces" to stretch windows across multiple monitors. (210114)
  • 安装了 Homebrew via http://brew.sh/ uninstall with /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"

用 brew 安装了Emacs最后还是用了 Emacs for Mac OS X安装。

process record#

200815 Switch to English(US)

preinstalled apps tutorial#

time machine#

we can see the the estimated size of full backup in the Options button and exclude things.

iCloud drive#

  • does synchronize hidden files

copy file / text#

(like ctrl + drag) Alt+drag