snippets
'.source.python':
'main':
'prefix': 'main'
'body': 'if __name__ == \'__main__\':'
'.source.php':
'main':
'prefix': 'main'
'body': '<?php\n\t$1\n?>'
'html':
'prefix': 'html'
'body': '<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title></title>\n\t\t<meta charset="utf-8">\n\t\t<meta name="full-screen" content="yes">\n\t\t<meta name="x5-fullscreen" content="true">\n\t\t<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">\n\t\t<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">\n\t\t<link rel="icon" href="" type="image/x-icon">\n\t\t<link rel="stylesheet" href="" charset="utf-8">\n\t</head>\n\t<body>\n\t\t$1\n\t</body>\n</html>'
'.text.html.basic':
'html':
'prefix': 'html'
'body': '<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title></title>\n\t\t<meta charset="utf-8">\n\t\t<meta name="full-screen" content="yes">\n\t\t<meta name="x5-fullscreen" content="true">\n\t\t<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">\n\t\t<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">\n\t\t<link rel="icon" href="https://cdn.lufei.so/icon/favicon.ico" type="image/x-icon">\n\t\t<link rel="stylesheet" href="https://cdn.lufei.so/css/font.css" charset="utf-8">\n\t</head>\n\t<body>\n\t</body>\n</html>'
config.cson
"*":
"autocomplete-plus": {}
core:
autoHideMenuBar: true
automaticallyUpdate: false
customFileTypes:
"text.html.basic": [
"vue"
]
editor:
fontFamily: "Consolas, Microsoft YaHei"
fontSize: 16
invisibles: {}
preferredLineLength: 120
scrollPastEnd: true
showIndentGuide: true
softWrap: true
softWrapAtPreferredLineLength: true
tabLength: 4
zoomFontWhenCtrlScrolling: false
"exception-reporting":
userId: "ca4a411d-201d-cc60-1a15-2b401cadac3c"
"find-and-replace": {}
"one-dark-ui": {}
"tree-view": {}
welcome:
showOnStartup: false
".coffee.source":
editor:
tabLength: 2
keymap.cson
'atom-text-editor':
'delete': 'editor:delete-line'
'ctrl-b': 'editor:toggle-line-comments'
'f1': 'bookmarks:toggle-bookmark'
'body':
'ctrl-w': 'pane:close'
'atom-workspace atom-text-editor:not([mini])':
'ctrl-up': 'editor:upper-case'
'ctrl-down': 'editor:lower-case'
'ctrl-[': 'editor:fold-all'
'ctrl-j': 'autocomplete-plus:activate'
'ctrl-]': 'editor:unfold-all'
'.platform-win32 atom-text-editor':
'ctrl-r': 'script:run-with-profile'
styles.less
.tree-view {
// background-color: whitesmoke;
}
// style the background and foreground colors on the atom-text-editor-element itself
atom-text-editor::shadow .indent-guide {
color: rgba(229, 192, 123, 0.5) !important;
}
// To style other content in the text editor's shadow DOM, use the ::shadow expression
atom-text-editor::shadow .cursor {
// border-color: red;
}
相关链接
截图