Sublime Text 2 - 快捷键 (Mac OS X)

花时间整理的,喜欢就收藏


General
快捷键 功能
⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
⌃ ` python console
⌘⇧N new window (useful for new project)
Editing
快捷键 功能
⌘L select line (repeat select next lines)
⌘D select word (repeat select others occurrences in context for multiple editing)
⌃⇧M select content into brackets
⌘⇧↩ insert line before
⌘↩ inter line after
⌃⇧K delete line
⌘KK delete from cursor to end of line
⌘K⌫ delete from cursor to start of line
⌘⇧D duplicate line(s)
⌘J join lines
⌘KU upper case
⌘KL lower case
⌘ / comment
⌘⌥ / block comment
⌘Y redo or repeat
⌘⇧V past and ident
⌃ space autocomplete (repeat to select next suggestion)
⌃M jump to matching brackets
⌘U soft undo (movement undo)
⌘⇧U soft redo (movement redo)
XML/HTML
快捷键 功能
⌘⇧A select content into tag
⌘⌥ . close tag
Find/Replace
快捷键 功能
⌘F find
⌘⌥F replace
⌘⌥G find next occurrence of current word
⌘⌃G select all occurrences of current word for multiple editing
⌘⇧F find in files
Splits/Tabs
快捷键 功能
⌘⌥1 single column
⌘⌥2 two columns
⌘⌥5 grid (4 groups)
⌃[1,2,3,4] focus group
⌃⇧[1,2,3,4] move file to group
⌘[1,2,3...] select tab
Bookmarks
快捷键 功能
⌘F2 toggle bookmark
F2 next bookmark
⇧F2 previous bookmark
⌘⇧F2 clear bookmarks
Marks
快捷键 功能
⌘K space set mark // ⌘K; for me
⌘KW delete from cursor to mark
⌘KA select from cursor to mark
⌘KG clear mark
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 第二章 操作Android Studio Android Studio is ...
    青木729阅读 4,264评论 2 4
  • Analyze RunInspection command shift alt I Analyze->Run ...
    IT分享家老黄阅读 11,393评论 0 1
  • 今年北京高考状元熊轩昂在媒体面前说的一番话,让“寒门再难出贵子”这个结论火遍网络。 有人说他有远见,看到了社会正在...
    源伊阅读 4,474评论 0 8
  • 慵懒真是一个大敌,你瞧,我稍微松垮了几天,案件的积压就紧张的压得我喘不过气。 主任对一个刑诉案件的推进很不满,两个...
    Chrislin2010阅读 1,495评论 0 0
  • 站在医院顶楼的平台 少年被眼泪洗净的眼 凝望着混浊的夜色 重症病房的父亲 后天要进手术室了 他一直对春节漫天飞舞的...
    陈若黎阅读 1,675评论 0 1

友情链接更多精彩内容