快捷键
光标移动
-
到行首: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
algorithm-problem
architectural-pattern
architecture
aws
c#
cache-system
codis
concurrent-control
data-format
data-structure
database
debug
design
design-pattern
distributed-system
django
docker
engineering
engingeering
freebsd
git
golang
grafana
hackintosh
hardware
hexo
http
hugo
ios
iot
java
java-ee
javascript
kafka
kubernetes
linux
lock
macos
markdown
microservices
mysql
nas
network
network-programming
nginx
node.js
npm
oop
openwrt
operating-system
operating-systems
padavan
performance
programming
prometheus
protobuf
python
redis
router
security
shell
software-testing
spring
sql
truenas
ubuntu
vmware
vpn
windows
wmware
wordpress
zookeeper