accelerator-key

image

Base Key

command + c : 复制选中的内容

command + v : 粘贴已复制的内容

command + X : 剪贴已选中的内容

command + z : 撤销最近一次执行放入操作

command + / : 选中多行,一次注释多行

Move Key

ctrl + a : 移动光标到行首

ctrl + e : 移动光标到行尾

ctrl + p : 向上移动光标

ctrl + n : 向下移动光标

ctrl + b : 向左按字符移动光标

ctrl + f : 向右按字符移动光标

ctrl + option + b : 向左按符移动光标

ctrl + option + f : 向右按符移动光标

Select Key

ctrl + shift + b : 从光标处向左按字符选中

ctrl + shift + f : 从光标处向右按字符选中

ctrl + shift + p : 从光标处向上按行选中

ctrl + shift + n : 从光标处按行向上选中

Delete Key

ctrl + d : 删除贯标右边的字符,按字符删除

ctrl + h : 删除贯标左边的字符,按字符删除

ctrl + k : 删除光标所在位置之后的所有内容

Key — XCode

command + shift + 0 : 打开官方文档

command + shift + n : 创建一个工程

commanf + n : 创建一个类、协议、类别、累扩展等

command + b : 编译代码

command + r : 运行生成的代码

command + shift + k : 清空XCode之前的编译

command + shift + ->/<-;(左方向键) : 切换页面

commang + f : 在官方文档中调出搜索栏

comand + option + enter : 分栏

command + enter : 回到一栏

command + ctrl +左右键 : 不同页面的切换

shift + tab : 选中上一个

tab : 选中下一个

other key

command + ctrl + f : 切换当前应用程序界面的大小,同时将桌面背景消失,只显示当前应用程序

command + option + “+” : vim终端界面的大小切换

ctrl + 左右键 : 桌面快速切换

ctrl + 上键 : 已开应用程序,分布呈现在当前桌面

ctrl + 下键 : 呈现当前应用程序已开启的所有窗口,以及使用当前应用程序开启的历史文件

command + tab : 快速向后选择桌面已开启的应用程序

command + tab + shift : 快速向前选择桌面已开启的应用程序