about blog github

12 May 2019
mac常用快捷键

本文主要记录我初次使用mac过程中的常用快捷键,持续更新中。

  • bash到行尾:ctrl+e
  • bash到行首:ctrl+a
  • dock:将光标放置到底部自动出现
  • iterm2 new tab: cmd+t
  • iterm2 new win: cmd+n
  • iterm2删除光标前/后单词: ctrl+w/k
  • iterm2 new win: cmd+n
  • iterm2 switch tab: cmd+<-
  • iterm2 tab switch:ctrl+tab
  • iterm2删除光标前所有:ctrl+u
  • iterm2删除光标前单词:ctrl+w
  • iterm2删除光标后单词:ctrl+k
  • sublime分屏:cmd+alt+2
  • sublime命令界面:cmd+shift+p
  • sublime回到上次光标:ctrl+-
  • sublime在当前行前添加空行:cmd+shift+enter
  • sublime复制上一行:cmd+shift+d
  • sublime大小写转换:cmd+k+u/l
  • sublime选中光标前和光标后:cmd+shift+up/down
  • sublime打开关闭的文件:cmd+shift+t
  • sublime排序:fn+f5
  • sublime查找函数定义:cmd+r
  • sublime查找文件:cmd+p
  • sublime移动行:ctrl+cmd+up/down
  • vim全选复制:gg ggyG
  • vim全部替换:%s/foo/bar/g
  • vim多行编辑:ctrl+v,然后移动修改范围,I或者A或者s编辑后,esc
  • vim全部删除:gg dG
  • window关闭:cmd+w
  • window切换:cmd+tab
  • 顶部或者尾部:cmd+up/down
  • window隐藏:cmd+m
  • 全选:cmd+a
  • 关闭应用:cmd+q
  • 删除一行:cmd+del
  • 去格式粘贴:shift+opt+cmd+v
  • 反向删除:fn+del
  • 回到上层目录:cmd+up
  • 回到桌面:cmd+f3
  • 回到桌面:f11
  • 复制:cmd+c
  • 字体调整:cmd++/-
  • 微信截屏:cmd+ctrl+a
  • 微信面板:cmd+ctrl+w
  • 快速启动app:cmd+space
  • 截屏:cmd+shift+4
  • 打开/关闭dock:opt+cmd+d
  • 打开iterm2:ctrl+alt+cmd+t
  • 文首尾:fn+up/down
  • 有道词典:coc+y
  • 移动光标到顶部:fn+<-
  • 移动文件:cmd+opt+v
  • 粘贴:cmd+v
  • 行首尾:cmd+<-/->
  • 输入法切换:ctrl+space
  • 选择一行:cmd+shift+->/<-
  • 锁屏:cmd+ctrl+q
  • alfred搜索文件:space+file-name

未完待续 ……



LEo at 00:12

about blog github