快捷键
光标移动
-
到行首:ctrl + A
-
到行尾:ctrl + E
-
Option ⌥ + ← 和 Option ⌥ + → 来按 word 移动
-
使用 Option ⌥ + ⌫ 来向左按 word 删除
Command
- 搜索命令历史:ctrl + R
- ⌘ + ; - 在输入命令后,⌘ + ; 会自动列出输入过的命令
- Control + C:终止当前任务
- ctrl + U 清空当前输入的命令,无论光标在什么位置
文本
- Command ⌘ + F 查找
- 清屏1:command + r
- 清屏2:ctrl + l
- 清屏3:command + k
Display
- command+enter 进入与返回全屏模式
- command + +: 放大字体
- command + -: 缩小字体
- Move splited panel: Command + Ctrl + 方向键
Split panel
- Command ⌘ + D 横着分屏
- Command ⌘ + Shift + D 竖着分屏
Tab/Panel
- 新建tab:Command ⌘ + T
- 关闭tab:Command ⌘ + W
- 切换到特定tab:Command ⌘ + <数字>
- 按方向切换tab command + option + 方向键
- 切换pannel command +[ 或 command + ]
剪贴板
- 查看剪贴板历史:command + shift + h
Misc
- Command + Click:可以打开文件,文件夹和链接
Reference
FEATURED TAGS
algorithm
algorithmproblem
architecturalpattern
architecture
aws
c#
cachesystem
codis
compile
concurrentcontrol
database
dataformat
datastructure
debug
design
designpattern
distributedsystem
django
docker
domain
engineering
freebsd
git
golang
grafana
hackintosh
hadoop
hardware
hexo
http
hugo
ios
iot
java
javaee
javascript
kafka
kubernetes
linux
linuxcommand
linuxio
lock
macos
markdown
microservices
mysql
nas
network
networkprogramming
nginx
node.js
npm
oop
openwrt
operatingsystem
padavan
performance
programming
prometheus
protobuf
python
redis
router
security
shell
software testing
spring
sql
systemdesign
truenas
ubuntu
vmware
vpn
windows
wmware
wordpress
xml
zookeeper