zoukankan      html  css  js  c++  java
  • Sublime Text Shortcuts

    Keyboard Shortcuts - Windows/Linux

    Warning

    This topic is a draft and may contain wrong information.

    Editing

    KeypressCommand
    Ctrl + X Cut line
    Ctrl + ↩ Insert line after
    Ctrl + ⇧ + ↩ Insert line before
    Ctrl + ⇧ + ↑ Move line/selection up
    Ctrl + ⇧ + ↓ Move line/selection down
    Ctrl + L Select line - Repeat to select next lines
    Ctrl + D Select word - Repeat select others occurrences
    Ctrl + M Jump to closing parentheses Repeat to jump to opening parentheses
    Ctrl + ⇧ + M Select all contents of the current parentheses
    Ctrl + ⇧ + K Delete Line
    Ctrl + KK Delete from cursor to end of line
    Ctrl + K + Backspace Delete from cursor to start of line
    Ctrl + ] Indent current line(s)
    Ctrl + [ Un-indent current line(s)
    Ctrl + ⇧ + D Duplicate line(s)
    Ctrl + J Join line below to the end of the current line
    Ctrl + / Comment/un-comment current line
    Ctrl + ⇧ + / Block comment current selection
    Ctrl + Y Redo, or repeat last keyboard shortcut command
    Ctrl + ⇧ + V Paste and indent correctly
    Ctrl + Space Select next auto-complete suggestion
    Ctrl + U soft undo; jumps to your last change before undoing change when repeated
    Alt + ⇧ + W Wrap Selection in html tag

    Windows

    Ctrl + Alt + Up Column selection up
    Ctrl + Alt + Down Column selection down

    Linux

    Alt + ⇧ + Up Column selection up
    Alt + ⇧ + Down Column selection down

    General

    KeypressCommand
    Ctrl + ⇧ + P Command prompt
    Ctrl + KB Toggle side bar
    Ctrl + ⇧ + Alt + P Show scope in status bar

    Find/Replace

    KeypressCommand
    Ctrl + F Find
    Ctrl + H Replace
    Ctrl + ⇧ + F Find in files

    Tabs

    KeypressCommand
    Ctrl + ⇧ + t Open last closed tab
    Ctrl + PgUp Cycle up through tabs
    Ctrl + PgDn Cycle down through tabs
    Ctrl + ⇆ Find in files
    Ctrl + W Close current tab
    Alt + [NUM] Switch to tab number [NUM] where [NUM] <= number of tabs

    Split window

    KeypressCommand
    Alt + ⇧ + 2 Split view into two columns
    Alt + ⇧ + 1 Revert view to single column
    Alt + ⇧ + 5 Set view to grid (4 groups)
    Ctrl + [NUM] Jump to group where num is 1-4
    Ctrl + ⇧ + [NUM] Move file to specified group where num is 1-4

    Bookmarks

    KeypressCommand
    Ctrl + F2 Toggle bookmark
    F2 Next bookmark
    ⇧ + F2 Previous bookmark
    Ctrl + ⇧ + F2 Clear bookmarks

    Text manipulation

    KeypressCommand
    Ctrl + KU Transform to Uppercase
    Ctrl + KL Transform to Lowercase

    Keyboard Shortcuts - OSX

    Warning

    This topic is a draft and may contain wrong information.

    Editing

    KeypressCommand
    ⌘ + X Cut line
    ⌘ + ↩ Insert line after
    ⌘ + ⇧ + ↩ Insert line before
    ⌘ + ⌃ + ↑ Move line/selection up
    ⌘ + ⌃ + ↓ Move line/selection down
    ⌘ + L Select line - Repeat to select next lines
    ⌘ + D Select word - Repeat to select next occurrence
    ⌃ + ⌘ + G Select all occurrences of current selection
    ⌃ + ⇧ + ↑ Extra cursor on the line above
    ⌃ + ⇧ + ↓ Extra cursor on the line below
    ⌃ + M Jump to closing parentheses Repeat to jump to opening parentheses
    ⌃ + ⇧ + M Select all contents of the current parentheses
    ⌃ + A Move to beginning of line
    ⌃ + E Move to end of line
    ⌘ + K, ⌘ + K Delete from cursor to end of line
    ⌘ + K + ⌫ Delete from cursor to start of line
    ⌘ + ] Indent current line(s)
    ⌘ + [ Un-indent current line(s)
    ⌘ + ⇧ + D Duplicate line(s)
    ⌘ + J Join line below to the end of the current line
    ⌘ + / Comment/un-comment current line
    ⌘ + ⌥ + / Block comment current selection
    ⌘ + Y Redo, or repeat last keyboard shortcut command
    ⌘ + ⇧ + V Paste and indent correctly
    ⌃ + Space Select next auto-complete suggestion
    ⌃ + U Soft undo; jumps to your last change before undoing change when repeated
    ⌃ + ⇧ + Up Column selection up
    ⌃ + ⇧ + Down Column selection down
    ⌃ + ⇧ + W Wrap Selection in html tag

    General

    KeypressCommand
    ⌘ + ⇧ + P Command Palette
    ⌃ + ` Python Console
    ⌃ + ⇧ + ⌘ + F Toggle fullscreen mode
    ⌃ + ⌘ + F Toggle distraction-free mode
    ⌘ + K, ⌘ + B Toggle side bar
    ⌃ + ⇧ + P Show scope in status bar

    Find/Replace

    KeypressCommand
    ⌘ + F Find
    ⌘ + ⌥ + F Replace
    ⌘ + ⇧ + F Find in files

    Scrolling

    KeypressCommand
    ⌃ + V Scroll down one page
    ⌃ + L Center current line vertically in page
    ⌘ + Down Scroll to end of file
    ⌘ + Up Scroll to start of file

    Tabs

    KeypressCommand
    ⌘ + ⇧ + t Open last closed tab
    ⌘ + [NUM] Jump to tab in current group where num is 1-9
    ⌘ + 0 Jump to 10th tab in current group
    ⌘ + ⇧ + [ Cycle left through tabs
    ⌘ + ⇧ + ] Cycle right through tabs
    ^ + Tab Cycle up through recent tabs
    ⇧ + ^ + Tab Cycle down through recent tabs
      Find in files

    Split window

    KeypressCommand
    ⌘ + ⌥ + 1 Revert view to single column
    ⌘ + ⌥ + 2 Split view into two columns
    ⌘ + ⌥ + 3 Split view into three columns
    ⌘ + ⌥ + 4 Split view into four columns
    ⌘ + ⌥ + 5 Set view to grid (4 groups)
    ⌃ + [NUM] Jump to group where num is 1-4
    ⌃ + ⇧ + [NUM] Move file to specified group where num is 1-4

    Bookmarks

    KeypressCommand
    ⌘ + F2 Toggle bookmark
    F2 Next bookmark
    ⇧ + F2 Previous bookmark
    ⇧ + ⌘ + F2 Clear bookmarks

    Text manipulation

    KeypressCommand
    ⌘ + K, ⌘ + U Transform to Uppercase
    ⌘ + K, ⌘ + L Transform to Lowercase
    ⌘ + ⌃ + up, ⌘ + ⌃ + down Clip text upwards / downwards
  • 相关阅读:
    密码学基础(三)
    密码学基础(二)
    密码学基础(一)
    Lambda代数
    恢复系统
    11.22面试例题
    js中级复习
    11.12
    11.13
    定时器
  • 原文地址:https://www.cnblogs.com/liubaocheng999/p/4422586.html
Copyright © 2011-2022 走看看