Last active
June 10, 2017 03:26
-
-
Save codeachange/fd4f997c6476f660ba2b to your computer and use it in GitHub Desktop.
my sublime text settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
1, install package control | |
https://packagecontrol.io/installation | |
2, install packages | |
ProjectManager | |
All Autocomplete | |
ApacheConf.tmLanguage | |
BracketHighlighter | |
Emmet | |
INI | |
PHP Companion | |
SideBarEnhancements | |
SyncedSideBar | |
WordHighlight | |
PackageResourceViewer | |
DocBlockr | |
SublimeLinter | |
SublimeLinter-php | |
SFTP | |
HTML-CSS-JS Prettify (or JsFormat) | |
Modific(or GitGutter) | |
Sublimerge Pro | |
LiveReload (自动刷新浏览器,optional) | |
SublimeCodeIntel 代码智能 | |
VAlign 自动对齐数组元素的=> ,命令 Cmd+\ | |
3, package settings | |
BracketHighlighter | |
{ | |
// Enable high visibility by default when sublime starts up | |
// If sublime is already running and this gets changed, | |
// you will not see any changes (restart required to see change) | |
"high_visibility_enabled_by_default": false, | |
// Experimental: Creates a visible bar at the beginning of all lines between | |
// multiline bracket spans. | |
"content_highlight_bar": true, | |
} | |
4, sublime setting | |
{ | |
"find_selected_text": true, | |
"font_size": 14, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"line_padding_bottom": 1, | |
"line_padding_top": 1, | |
"open_files_in_new_window": false, | |
"scroll_past_end": true, | |
"show_full_path": true, | |
"translate_tabs_to_spaces": false, | |
"trim_trailing_white_space_on_save": true, | |
"word_wrap": true | |
} | |
5, sublime keybinding | |
[ | |
{ "keys": ["super+,"], "command": "move_to", "args": {"to": "bol", "extend": false} }, | |
{ "keys": ["super+."], "command": "move_to", "args": {"to": "eol", "extend": false} } | |
] | |
6, sublime mousemap | |
Create new file at Packages/User/Default (OSX).sublime-mousemap | |
(click Preferences->Browse Packages to open Packages folder) | |
[ | |
{ | |
"button": "button1", | |
"count": 1, | |
"modifiers": ["ctrl"], | |
"press_command": "drag_select", | |
"command": "goto_definition" | |
} | |
] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment