终端
- 提示:你不能使用以点“.”开头的名称,因为这些名称已被系统预留。请选取其他名称。
- 显示隐藏文件
defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder
- 隐藏隐藏文件
defaults write com.apple.finder AppleShowAllFiles FALSE ; killall Finder
VSCode
- 定位某行
control + G - 结束终端当前进程
control + C - 定位当前行首
contol + A - 定位当前行尾
contol + E - 删除整行代码
command + shift + K - 当前文件替换
option + command + F - 复制一行
option + shift + 向上/向下箭头 - 格式化代码
option + shift + F