My Sublime Text Configulation

ใช้มาก็นาน แม้จะเปลี่ยนไปใช้ Atom.io บ้างแต่ก็สู้ของเดิมไม่ได้ สุดท้ายเลยต้องกลับมาซบอก Sublimetext เหมือนเดิม ตอนนี้เลยจะบันทึกการตั้งค่า และ shorcut key ที่จำเป็นต่อการใช้งานเอาไว้ตรงนี้ (ถ้ามีอัพเดทเพิ่มเติมจะทยอยใส่ลงไปเรื่อยๆ)

Keyboard Shortcuts [Ref]

Editing

KeypressCommand
Ctrl + XCut line
Ctrl + ↩Insert line after
Ctrl + ⇧ + ↩Insert line before
Ctrl + ⇧ + ↑Move line/selection up
Ctrl + ⇧ + ↓Move line/selection down
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 + ⇧ + KDelete 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 + ⇧ + DDuplicate line(s)
Ctrl + JJoin line below to the end of the current line
Ctrl + /Comment/un-comment current line
Ctrl + ⇧ + /Block comment current selection
Ctrl + YRedo, or repeat last keyboard shortcut command
Ctrl + ⇧ + VPaste and indent correctly
Ctrl + SpaceSelect next auto-complete suggestion
Ctrl + Usoft undo; jumps to your last change before undoing change when repeated
Alt + ⇧ + WWrap Selection in html tag
Alt + .Close current html tag

Windows

Ctrl + Alt + UpColumn selection up
Ctrl + Alt + DownColumn selection down

Linux

Alt + ⇧ + UpColumn selection up
Alt + ⇧ + DownColumn selection down

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
Ctrl + WClose current tab
Alt + [NUM]Switch to tab number [NUM] where [NUM] <= number of tabs

Split window

KeypressCommand
Alt + ⇧ + 1Revert view to single column
Alt + ⇧ + 2Split view into two columns
Alt + ⇧ + 3Split view into three columns
Alt + ⇧ + 4Split view into four columns
Alt + ⇧ + 5Set view to grid (4 groups)
Alt + ⇧ + 8Split view into two rows
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

INSTALLED Packages

{
	"bootstrapped": true,
	"in_process_packages":
	[
	],
	"installed_packages":
	[
		"ApacheConf.tmLanguage",
		"Better Completion",
		"Bootstrap 3 Snippets",
		"BracketHighlighter",
		"Color Highlighter",
		"DocBlockr",
		"Emmet",
		"Git",
		"GitGutter",
		"GotoDocumentation",
		"Icon Fonts",
		"jQuery",
		"JsFormat",
		"LESS",
		"Package Control",
		"PackageResourceViewer",
		"SideBarEnhancements",
		"Theme - Soda",
		"TrailingSpaces",
		"VBScript"
	]
}

KEY BINDINGS

[
	{ "keys": ["ctrl+alt+t"], "command": "add_date_time_stamp" },
 	{ "keys": ["ctrl+i"], "command": "reindent"},
 	{ "keys": ["f1"], "command": "goto_documentation" },
 	{"keys": ["ctrl+alt+p"], "command": "prompt_select_workspace"},
    { "keys": ["ctrl+alt+y"], "command": "show_overlay", "args": {"overlay": "command_palette", "text": "Snippet: "}}

]

PREFERENCES SETTINGS – USER

{
	"bold_folder_labels": true,
	"caret_style": "phase",
	"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
	"fade_fold_buttons": false,
	"font_size": 9,
	"highlight_line": true,
	"highlight_modified_tabs": true,
	"ignored_packages":
	[
		"Vintage"
	],
	"line_padding_bottom": 1,
	"line_padding_top": 1,
	"scroll_past_end": true,
	"soda_folder_icons": true,
	"tab_completion": false,
	"theme": "Soda Dark 3.sublime-theme",
	"translate_tabs_to_spaces": true,
	"trim_trailing_white_space_on_save": true,
	"vintage_start_in_command_mode": true,
	"word_wrap": true
}
  1. Best of Sublime Text 3: Features, Plugins, and Settings
  2. Best Sublime Text 3 Themes of 2015 and 2016
  3. จัดตำแหน่งโค้ดให้สวยด้วย AlignTab
  4. Understanding Projects in Sublime Text – Saving, Switching, Etc.
  5. Sublime Text 2 wrapping selection in tag
  6. Top 15+2 Plugins for Sublime Text 3
  7. Soda Theme – Dark and light custom UI themes for Sublime Text
  8. Packages ที่ใช้ประจำใน Sublime Text 2