sublime快捷键


A simple cheat sheet of Sublime Text keyboard shortcuts. Because saving even a few milliseconds with shortcuts can add up.

Basic

F11 Full Screen
shift+F11 Distraction Free Mode
ctrl+shift+p Command Palette
ctrl+` Show Console
ctrl+k+b Show/Hide Sidebar
ctrl+/ Comment
ctrl+shift+/ Block Comment
ctrl+k+u Uppercase
ctrl+k+l Lowercase

Selections

ctrl+d Select Word
ctrl+d Use multiple times to select next instance of the selected word
ctrl+click Create multiple cursors for multi-editing
ctrl+shift+space Expand selection to scope. Repeating keeps expanding.
ctrl+shift+m Expand to brackets
ctrl+shift+j Expand to indentation

Go To

ctrl+p Open file based on name
ctrl+g Go to line number
ctrl+r Go to symbol
ctrl+pTHEN@ Open file based on name and search for symbol
ctrl+m Go to matching bracket

Lines

ctrl+l Select line
ctrl+shift+k Delete line
ctrl+] Indent
ctrl+[ Unindent
ctrl+enter Insert line after
ctrl+shift+enter Insert line before
ctrl+shift+ ↑ Swap line up
ctrl+shift+ ↓ Swap line down
ctrl+shift+d Duplicate line
ctrl+j Join Line

Code Folding

ctrl+shift+[ Fold
ctrl+shift+] Unfold
ctrl+k+j Unfold All

Search / Find / Replace

ctrl+f Find
F3 Find next
shift+F3 Find previous
ctrl+shift+f Search all files in a folder
ctrl+h Replace
ctrl+fTHENalt +<code>enter Find a certain term then select them all for multi-editing

Tabs and Window Panes

ctrl+shift+n New Window
ctrl+n New Tab
alt +<code># Select a Tab (ie alt + 3)
ctrl+w Close Tab
ctrl+shift+# Move tab to a Pane (ie ctrl + shift + 2)
ctrl+# Focus on a Pane (ie ctrl + 2)
alt +<code>shift+1 One Column
alt +<code>shift+2 Two Columns
alt +<code>shift+3 Three Columns
alt +<code>shift+4 Four Columns
alt +<code>shift+8 Two Rows
alt +<code>shift+9 Three Rows
alt +<code>shift+5 Two x Two Grid

Bookmarks

ctrl+F2 Create Bookmark
F2 Next Bookmark
shift +<code>F2 Previous Bookmark
ctrl+shift+F2 Clear Bookmarks
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值