1.头文件与源文件切换
ctrl+⌘ Command+↑ 或 , ctrl+⌘ Command+↓
2.代码缩进
左缩进 command+[
右缩进 command+]
左缩进 command+[
右缩进 command+]
3.代码编辑(选中代码)
control + F: 向右选中一个字符(forward)control + B: 向左选中一个字符(backward)
control + P: 选中前一行(previous)
control +N: 选中后一行(next)
control + A: 从光标处选中到行首
control + E: 从光标处选中到行尾(end)
Command + A: 全选
Command + C: 复制
Command + V: 粘贴
Command + X: 剪切
Command + Z: 撤销
Shift + Command + Z: 撤销刚才的“撤销”动作