Skip to content

Instantly share code, notes, and snippets.

@ggoomter
Last active February 24, 2022 08:01
Show Gist options
  • Save ggoomter/7dc5a5222b54ec1bac758d62a97912ca to your computer and use it in GitHub Desktop.
Save ggoomter/7dc5a5222b54ec1bac758d62a97912ca to your computer and use it in GitHub Desktop.
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
# console.log "Saved! #{editor.getPath()}"
# Your keymap
#
# Atom keymaps work similarly to style sheets. Just as style sheets use
# selectors to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts. Unlike style sheets however,
# each selector can only be declared once.
#
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
#
# Here's an example taken from Atom's built-in keymap:
#
# 'atom-text-editor':
# 'enter': 'editor:newline'
#
# 'atom-workspace':
# 'ctrl-shift-p': 'core:move-up'
# 'ctrl-p': 'core:move-down'
#
# You can find more information about keymaps in these guides:
# * http://flight-manual.atom.io/using-atom/sections/basic-customization/#customizing-keybindings
# * http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/
#
# If you're having trouble with your keybindings not working, try the
# Keybinding Resolver: `Cmd+.` on macOS and `Ctrl+.` on other platforms. See the
# Debugging Guide for more information:
# * http://flight-manual.atom.io/hacking-atom/sections/debugging/#check-the-keybindings
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it in the
# Atom Flight Manual:
# http://flight-manual.atom.io/using-atom/sections/basic-customization/#configuring-with-cson
'atom-text-editor':
'ctrl-shift-M': 'markdown-preview-enhanced:toggle'
'atom-workspace atom-text-editor:not([mini])':
'ctrl-shift-down': 'editor:duplicate-lines'
{
"about": {
"version": "1.9.1"
},
"aligner": {
"version": "1.3.0"
},
"aligner-javascript": {
"version": "1.3.0"
},
"archive-view": {
"version": "0.66.0"
},
"atom-beautify": {
"version": "0.33.4"
},
"atom-dark-syntax": {
"version": "0.29.1",
"theme": "syntax"
},
"atom-dark-ui": {
"version": "0.53.3",
"theme": "ui"
},
"atom-file-icons": {
"version": "0.7.1"
},
"atom-html-preview": {
"version": "0.2.6"
},
"atom-light-syntax": {
"version": "0.29.1",
"theme": "syntax"
},
"atom-light-ui": {
"version": "0.46.3",
"theme": "ui"
},
"atom-live-server": {
"version": "2.3.0"
},
"atom-material-syntax": {
"version": "1.0.8",
"theme": "syntax"
},
"atom-material-syntax-dark": {
"version": "1.0.0",
"theme": "syntax"
},
"atom-material-ui": {
"version": "2.1.3",
"theme": "ui"
},
"atom-ternjs": {
"version": "0.20.0"
},
"auto-detect-indentation": {
"version": "1.3.0"
},
"autocomplete-atom-api": {
"version": "0.10.7"
},
"autocomplete-css": {
"version": "0.17.5"
},
"autocomplete-html": {
"version": "0.8.8"
},
"autocomplete-plus": {
"version": "2.42.4"
},
"autocomplete-python": {
"version": "1.16.0"
},
"autocomplete-snippets": {
"version": "1.12.1"
},
"autoflow": {
"version": "0.29.4"
},
"autosave": {
"version": "0.24.6"
},
"background-tips": {
"version": "0.28.0"
},
"base16-tomorrow-dark-theme": {
"version": "1.6.0",
"theme": "syntax"
},
"base16-tomorrow-light-theme": {
"version": "1.6.0",
"theme": "syntax"
},
"bookmarks": {
"version": "0.46.0"
},
"bracket-matcher": {
"version": "0.92.0"
},
"busy-signal": {
"version": "2.0.1"
},
"code-peek": {
"version": "1.4.21"
},
"color-picker": {
"version": "2.3.0"
},
"command-palette": {
"version": "0.43.5"
},
"dalek": {
"version": "0.2.2"
},
"deprecation-cop": {
"version": "0.56.9"
},
"dev-live-reload": {
"version": "0.48.1"
},
"dracula-ui": {
"version": "0.6.0",
"theme": "ui"
},
"east-end-syntax": {
"version": "0.2.1",
"theme": "syntax"
},
"east-end-ui": {
"version": "0.3.0",
"theme": "ui"
},
"emmet": {
"version": "2.4.3"
},
"encoding-selector": {
"version": "0.23.9"
},
"exception-reporting": {
"version": "0.43.1"
},
"file-icons": {
"version": "2.1.47"
},
"find-and-replace": {
"version": "0.219.8"
},
"fuzzy-finder": {
"version": "1.14.3"
},
"git-diff": {
"version": "1.3.9"
},
"github": {
"version": "0.36.9"
},
"go-to-line": {
"version": "0.33.0"
},
"goto-definition": {
"version": "1.3.4"
},
"grammar-selector": {
"version": "0.50.1"
},
"highlight-line": {
"version": "0.12.0"
},
"highlight-selected": {
"version": "0.17.0"
},
"html-tag-auto-complete": {
"version": "2.1.0"
},
"hyperclick": {
"version": "0.1.5"
},
"image-view": {
"version": "0.64.0"
},
"incompatible-packages": {
"version": "0.27.3"
},
"indent-guide-improved": {
"version": "1.4.13"
},
"intentions": {
"version": "1.1.5"
},
"keybinding-resolver": {
"version": "0.39.0"
},
"kite": {
"version": "0.206.0"
},
"language-c": {
"version": "0.60.19"
},
"language-clojure": {
"version": "0.22.8"
},
"language-coffee-script": {
"version": "0.50.0"
},
"language-csharp": {
"version": "1.1.0"
},
"language-css": {
"version": "0.44.4"
},
"language-gfm": {
"version": "0.90.8"
},
"language-git": {
"version": "0.19.1"
},
"language-go": {
"version": "0.47.2"
},
"language-html": {
"version": "0.53.1"
},
"language-hyperlink": {
"version": "0.17.1"
},
"language-java": {
"version": "0.32.1"
},
"language-javascript": {
"version": "0.134.1"
},
"language-json": {
"version": "1.0.5"
},
"language-less": {
"version": "0.34.3"
},
"language-make": {
"version": "0.23.0"
},
"language-markdown": {
"version": "0.37.0"
},
"language-mustache": {
"version": "0.14.5"
},
"language-objective-c": {
"version": "0.16.0"
},
"language-perl": {
"version": "0.38.1"
},
"language-php": {
"version": "0.47.0"
},
"language-property-list": {
"version": "0.9.1"
},
"language-python": {
"version": "0.53.6"
},
"language-ruby": {
"version": "0.72.23"
},
"language-ruby-on-rails": {
"version": "0.25.3"
},
"language-rust-bundled": {
"version": "0.1.0"
},
"language-sass": {
"version": "0.62.1"
},
"language-shellscript": {
"version": "0.28.2"
},
"language-source": {
"version": "0.9.0"
},
"language-sql": {
"version": "0.25.10"
},
"language-text": {
"version": "0.7.4"
},
"language-todo": {
"version": "0.29.4"
},
"language-toml": {
"version": "0.20.0"
},
"language-typescript": {
"version": "0.6.3"
},
"language-xml": {
"version": "0.35.3"
},
"language-yaml": {
"version": "0.32.0"
},
"line-ending-selector": {
"version": "0.7.7"
},
"link": {
"version": "0.31.6"
},
"linter": {
"version": "2.3.1"
},
"linter-ui-default": {
"version": "3.4.1"
},
"markdown-image-paste": {
"version": "2.5.2"
},
"markdown-preview": {
"version": "0.160.2"
},
"markdown-preview-enhanced": {
"version": "0.18.8"
},
"markdown-table-editor": {
"version": "1.1.3"
},
"metrics": {
"version": "1.8.1"
},
"notifications": {
"version": "0.71.0"
},
"one-dark-syntax": {
"version": "1.8.4",
"theme": "syntax"
},
"one-dark-ui": {
"version": "1.12.5",
"theme": "ui"
},
"one-light-syntax": {
"version": "1.8.4",
"theme": "syntax"
},
"one-light-ui": {
"version": "1.12.5",
"theme": "ui"
},
"open-in-browsers": {
"version": "0.0.30"
},
"open-on-github": {
"version": "1.3.2"
},
"package-generator": {
"version": "1.3.0"
},
"pigments": {
"version": "0.40.6"
},
"script": {
"version": "3.26.0"
},
"seti-syntax": {
"version": "1.2.0",
"theme": "syntax"
},
"seti-ui": {
"version": "1.11.0",
"theme": "ui"
},
"settings-view": {
"version": "0.261.8"
},
"snippets": {
"version": "1.5.1"
},
"solarized-dark-syntax": {
"version": "1.3.0",
"theme": "syntax"
},
"solarized-light-syntax": {
"version": "1.3.0",
"theme": "syntax"
},
"spell-check": {
"version": "0.77.1"
},
"status-bar": {
"version": "1.8.17"
},
"styleguide": {
"version": "0.49.12"
},
"Sublime-Style-Column-Selection": {
"version": "1.7.5"
},
"symbols-view": {
"version": "0.118.4"
},
"sync-settings": {
"version": "5.2.15"
},
"tabs": {
"version": "0.110.0"
},
"tabs-to-spaces": {
"version": "1.0.5"
},
"timecop": {
"version": "0.36.2"
},
"tree-view": {
"version": "0.228.3"
},
"update-package-dependencies": {
"version": "0.13.1"
},
"welcome": {
"version": "0.36.9"
},
"whitespace": {
"version": "0.37.8"
},
"wrap-guide": {
"version": "0.41.0"
}
}
{
"*": {
"atom-material-ui": {
"colors": {
"accentColor": "#eadea4"
}
},
"core": {
"allowPendingPaneItems": false,
"disabledPackages": [
"wrap-guide",
"markdown-preview",
"spell-check",
"language-gfm",
"language-c",
"language-csharp",
"language-objective-c",
"language-perl",
"welcome"
],
"editor": {
"multiCursorOnClick": true
},
"packagesWithKeymapsDisabled": [],
"telemetryConsent": "no",
"themes": [
"atom-dark-ui",
"atom-dark-syntax"
],
"uriHandlerRegistration": "never",
"useTreeSitterParsers": false
},
"editor": {
"defaultFontSize": 16,
"fontSize": 21,
"scrollPastEnd": true,
"showInvisibles": true,
"softWrap": true,
"tabLength": 4
},
"exception-reporting": {
"userId": "3ed13e70-8e73-411a-8b95-2d221e9e30a1"
},
"file-icons": {},
"kite": {
"showWelcomeNotificationOnStartup": false
},
"linter-ui-default": {},
"markdown-preview-enhanced": {
"openPreviewPaneAutomatically": false
},
"markup": {
"editor": {
"tabLength": 4
}
},
"open-in-browsers": {
"ChromePortable": {
"path": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"
},
"Firefox": false,
"IE": false,
"Opera": false,
"Safari": false
},
"sync-settings": {
"gistDescription": "Atom Settings Backup by https://atom.io/packages/sync-settings7dc5a5222b54ec1bac758d62a97912ca",
"hiddenSettings": {}
},
"tabs-to-spaces": {
"onSave": "untabify"
},
"tree-view": {
"autoReveal": true
},
"welcome": {
"showOnStartup": false
}
},
".md.text": {
"editor": {
"showIndentGuide": true,
"showInvisibles": false
}
}
}
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
# '.source.coffee':
# 'Console log':
# 'prefix': 'log'
# 'body': 'console.log $1'
#
# Each scope (e.g. '.source.coffee' above) can only be declared once.
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it in the
# Atom Flight Manual:
# http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed and saved.
*
* Add your own CSS or Less to fully customize Atom.
* If you are unfamiliar with Less, you can read more about it here:
* http://lesscss.org
*/
/*
* Examples
* https://github.com/alefragnani/atom-settings/blob/master/styles.less
* https://github.com/operando/My-Atom/blob/master/styles.less
*/
/* 트리뷰 */
@ui-font-size: 15px;
.tree-view {
color: whitesmoke;
font-size: @ui-font-size;
}
.tree-view .directory *{
color: #DDFFBC;
}
.tree-view .file *{
color: #66AA6A;
}
// 트리뷰 선택 파일 강조
.tree-view .selected:before {
background-color: #AEE1E1;
}
/* 상단 탭 */
.tab-bar .tab, .tab-bar {
font-size: @ui-font-size;
height: @ui-font-size * 2;
color: whitesmoke;
}
/* 에디터 */
// style the background and foreground colors on the atom-text-editor-element itself
atom-text-editor {
color: whitesmoke;
// background-color: hsl(180, 24%, 12%);
}
// 에디터 커서
atom-text-editor .cursor {
border-color: #FFE162;
border-width: 3px;
}
// 키워드 색깔
atom-text-editor.editor {
.syntax--source,.syntax--keyword,.syntax--type,.syntax--control{
color : #FFB6C1;
}
.syntax--markup { // >안의 컨텐츠
color: #C9CC3F;
}
}
//도랑. 왼쪽 글번호영역
.gutter {
color: #D8BFD8;
}
// 에디터 현재 줄과 선택 줄 강조
atom-text-editor::shadow .selection .region, :host .selection .region,
atom-text-editor::shadow .line.cursor-line, :host .line.cursor-line {
background-color: #1A5F7A;
}
.line.cursor-line { //현재 라인에서 포커스 나갔을때 현재줄
background-image: linear-gradient( to right,rgba(130,130,130,0) 0%, #FFDB58 100%);
}
/* 스크롤바 */
.vertical-scrollbar {
width : 20px! important;
}
.scrollbars-visible-always {
/deep/ ::-webkit-scrollbar{
width: 20px;
height: 20px;
&-track {
border: 0px;
border-radius: 0px;
background-color: #444 !important;
box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
}
&-thumb {
background-color: rgba(111,200,200,35) !important;
border: 0px;
border-radius: 9px;
box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
}
}
}
// 함수
atom-text-editor .syntax--function{
color : rgb(101, 168, 101);
}
// 링크
atom-text-editor::shadow .markup.underline.link.hyperlink { color: #aad9f0; }
//주석
atom-text-editor::shadow .comment {
color: #F3E5AB;
font-style: normal;
}
atom-text-editor::shadow .punctuation.definition.comment{
color: #F3E5AB;
font-style: normal;
}
// 괄호, 중괄호짝에 표시
atom-text-editor .bracket-matcher .region,
:host .bracket-matcher .region {
border-bottom: none;
background: red;
}
/* 마크다운 */
atom-text-editor::shadow .markup.heading { color: rgb(80, 220, 141); font-size:22px; font-weight: bold}
atom-text-editor::shadow .markup.list { color: rgb(100, 150, 160); font-size:20px; font-weight: bold}
atom-text-editor::shadow .markup.list * { color: #ff7799; font-size:20px; font-weight: bold}
atom-text-editor::shadow .markup.comment { color: yellow; font-size:20px; font-weight: bold}
atom-text-editor::shadow .markup.blockquote { padding: 0 15px; color: yellow; border-left: 4px solid yellow;}
/* 마크다운 프리뷰 */
.markdown-preview.markdown-preview {
background-color: #444;
}
/* 가이드라인 색깔 지정 */
.indent-guide-improved {
background-color: gray;
&.indent-guide-stack {
background-color: #798A1B;
&.indent-guide-active {
background-color: #E2FF40;
}
}
}
임의로 아무거나
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment