sublime-text-2 快捷键和自定义配置
快捷键
Editing
KeypressCommand
?
Ctrl + ?Insert line after
Ctrl + ? + ?Insert line before
Ctrl + JJoin line below to the end of the current line?
?
Ctrl + ? + ↑Move line/selection up
Ctrl + ? + ↓Move line/selection down
Ctrl + ? + DDuplicate line(s)
?
Ctrl + LSelect line - Repeat to select next lines
Ctrl + DSelect word - Repeat select others occurrences
Ctrl + MJump to closing parentheses Repeat to jump to opening parentheses
Ctrl + ? + MSelect all contents of the current parentheses
?
Ctrl + XDelete line
Ctrl + KKDelete from cursor to end of line
Ctrl + K + ?Delete from cursor to start of line
?
Ctrl + ]Indent current line(s)
Ctrl + [Un-indent current line(s)
Ctrl + /Comment/un-comment current line
Ctrl + ? + /Block comment current selection
?
Ctrl + YRedo, or repeat last keyboard shortcut command
Ctrl + ? + VPaste and indent correctly
Alt + /auto_complete
Ctrl + Usoft undo; jumps to your last change before undoing change when repeated
?
Navigation/Goto Anywhere
KeypressCommand
Ctrl + PQuick-open files by name
Ctrl + RGoto symbol
Ctrl + ;Goto word in current file
Ctrl + GGoto line in current file
?
General
KeypressCommand
Ctrl + ? + PCommand prompt
Ctrl + KBToggle side bar
Ctrl + ? + Alt + PShow scope in status bar
Find/Replace
KeypressCommand
Ctrl + FFind
Ctrl + HReplace
Ctrl + ? + FFind in files
?
Tabs
KeypressCommand
Ctrl + ? + tOpen last closed tab
Ctrl + PgUpCycle up through tabs
Ctrl + PgDnCycle down through tabs
Ctrl + ?Find in files
Alt + [NUM]Switch to tab number [NUM] where [NUM] <= number of tabs
?
Split window
KeypressCommand
Alt + ? + 2Split view into two columns
Alt + ? + 1Revert view to single column
Alt + ? + 5Set 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 + F2Toggle bookmark
F2Next bookmark
? + F2Previous bookmark
Ctrl + ? + F2Clear bookmarks
Text manipulation
KeypressCommand
Ctrl + KUTransform to Uppercase
Ctrl + KLTransform to Lowercase
?
自定义配置
/home/hanl/.config/sublime-text-2/Packages/User/Preferences.sublime-settings
{
"font_size": 11
}
?