mac上的键盘生活——快捷键列表

来源:互联网 发布:golang面试题 编辑:程序博客网 时间:2024/04/30 14:12

 

主界面
command + tab 切换程序
command + `   在程序内切换界面
command + w     关闭界面
command + q     关闭程序
 

文本编辑


Command + ← → 光标移到最边上
Command + ↑ ↓ 光标移到开头或者结尾
option + ← → 光标移动一个单词的距离(不支持中文)
option + ↑ ↓ 光标移动到段落的开头或者结尾

shift + 光标移动 =选中移动的文字
 
前删(后删) + command 删一行
前删(后删) + option 删一个单词

command + z 撤销
command + shift + z 反撤销

quicksilver 程序列表
 
命令
shutdown————s
restart—————r
sleep———————sl
 
常用app
 
Wunderlist——w
Evernote————e
Xcode———————x
QQ——————————q
youdao——————y
sys—————————sy
dash————————d
Marsedit————m
utorrent————u
aliwangwang—a
hust————————h
 
不常用app
 
itunes——————i
App Store———apps
safari——————sa
zapper——————z

常用网页
baidu———————b
taobao——————t
jingdong————j

文件夹

Finder——————f
CZ Data—————c
application—ap
documents———doc
download————dow
picture—————p


Xcode 快捷键

界面配置
Command + 0   左边
Command + Option + 0      右边
Command + shit + y    下面
Command + Control + H 上面

编写
Command + ← → 光标移到最边上
option + ← → 光标移动一个单词的距离
control + ← → 光标移动一个小单词的距离
command + ↑ ↓ 光标移动到最上面或者最下面
control + ↑ ↓ 光标移动50行

Option + Command + ? ?  (左/右箭头),折叠/展开代码块,如if、for、method等
Command + control+ 上下箭头键     切换.h和.m
control+command+ ← →     前进后退

 

control+删除(回删)     删除一行
command+删除(回删)     删除一个单词

断点

CMD + \: 设置或取消断点
Command + y   全局激活或禁用所有的断点   

运行
Command + R  运行。
Command + .  停止
Command + b 编译程序,不运行
Command + shift + b   分析代码,找到潜在内存溢出问题
 
调试
F5     继续,暂停
F6     单步
F7     跳入
F8     跳出