Skip to content

Instantly share code, notes, and snippets.

@sidpagariya
Last active October 12, 2018 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sidpagariya/94aa0d663e70bff1b14bac0c0355ac1c to your computer and use it in GitHub Desktop.
Save sidpagariya/94aa0d663e70bff1b14bac0c0355ac1c 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:
# * https://atom.io/docs/latest/using-atom-basic-customization#customizing-key-bindings
# * https://atom.io/docs/latest/behind-atom-keymaps-in-depth
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it in the
# Atom Flight Manual:
# https://atom.io/docs/latest/using-atom-basic-customization#cson
'body':
#'ctrl-\`': 'terminal-fusion:toggle'
#'cmd-shift-x': 'terminal-fusion:close'
#'cmd-shift-j': 'terminal-fusion:prev'
#'cmd-shift-k': 'terminal-fusion:next'
#'ctrl-enter': 'terminal-fusion:insert-selected-text'
#'cmd-shift-t':'terminal-fusion:new'
#'cmd-shift-r':'terminal-fusion:rename'
#'cmd-`':'platformio-ide-terminal:toggle'
'cmd-p':'printer:print'
'atom-text-editor':
'cmd-shift-i': 'auto-indent-file:autoindentfile'
'cmd-alt-n': 'file-templates:new-file'
'cmd-alt-c': 'minimap-titles:convert'
'cmd-shift-h': 'atom-html-preview:toggle'
'cmd-g': 'github:toggle-git-tab'
'cmd-alt-shift-i': 'code-format:format-code'
[
{
"name": "Sids-Syntax-Theme",
"version": "1.0.0",
"theme": "syntax"
},
{
"name": "Sublime-Style-Column-Selection",
"version": "1.7.5"
},
{
"name": "about",
"version": "1.9.1"
},
{
"name": "activate-power-mode",
"version": "2.7.0"
},
{
"name": "advanced-open-file",
"version": "0.16.8"
},
{
"name": "apex-syntax",
"version": "0.2.0",
"theme": "syntax"
},
{
"name": "apex-ui",
"version": "1.2.0",
"theme": "ui"
},
{
"name": "apm-publish",
"version": "0.3.2"
},
{
"name": "archive-view",
"version": "0.65.1"
},
{
"name": "atom-beautify",
"version": "0.33.4"
},
{
"name": "atom-clock",
"version": "0.1.16"
},
{
"name": "atom-dark-syntax",
"version": "0.29.0",
"theme": "syntax"
},
{
"name": "atom-dark-ui",
"version": "0.53.2",
"theme": "ui"
},
{
"name": "atom-html-preview",
"version": "0.2.5"
},
{
"name": "atom-ide-ui",
"version": "0.13.0"
},
{
"name": "atom-light-syntax",
"version": "0.29.0",
"theme": "syntax"
},
{
"name": "atom-light-ui",
"version": "0.46.2",
"theme": "ui"
},
{
"name": "atom-material-syntax-dark",
"version": "1.0.0",
"theme": "syntax"
},
{
"name": "atom-material-ui",
"version": "2.1.3",
"theme": "ui"
},
{
"name": "atom-nodejs-snippets",
"version": "2.1.1"
},
{
"name": "atom-pair",
"version": "2.0.13"
},
{
"name": "atom-webbrowser",
"version": "2.1.4"
},
{
"name": "atomify",
"version": "0.6.0"
},
{
"name": "auto-indent-file",
"version": "0.2.0"
},
{
"name": "autoclose-html",
"version": "0.23.0"
},
{
"name": "autocomplete-atom-api",
"version": "0.10.7"
},
{
"name": "autocomplete-clang",
"version": "0.11.5"
},
{
"name": "autocomplete-css",
"version": "0.17.5"
},
{
"name": "autocomplete-font-awesome",
"version": "1.0.2"
},
{
"name": "autocomplete-html",
"version": "0.8.4"
},
{
"name": "autocomplete-plus",
"version": "2.40.7"
},
{
"name": "autocomplete-python",
"version": "1.10.12"
},
{
"name": "autocomplete-snippets",
"version": "1.12.0"
},
{
"name": "autoflow",
"version": "0.29.4"
},
{
"name": "autosave",
"version": "0.24.6"
},
{
"name": "autoupdate-packages",
"version": "1.3.1"
},
{
"name": "background-tips",
"version": "0.28.0"
},
{
"name": "base16-tomorrow-dark-theme",
"version": "1.5.0",
"theme": "syntax"
},
{
"name": "base16-tomorrow-light-theme",
"version": "1.5.0",
"theme": "syntax"
},
{
"name": "bookmarks",
"version": "0.45.1"
},
{
"name": "bracket-matcher",
"version": "0.89.2"
},
{
"name": "busy-signal",
"version": "1.4.3"
},
{
"name": "clipboard-plus",
"version": "0.5.1"
},
{
"name": "color-picker",
"version": "2.3.0"
},
{
"name": "colorblind-wombat-dark-syntax",
"version": "0.6.0",
"theme": "syntax"
},
{
"name": "command-palette",
"version": "0.43.5"
},
{
"name": "config-import-export",
"version": "0.3.1"
},
{
"name": "dalek",
"version": "0.2.2"
},
{
"name": "deprecation-cop",
"version": "0.56.9"
},
{
"name": "dev-live-reload",
"version": "0.48.1"
},
{
"name": "duotone-dark-syntax",
"version": "2.1.0",
"theme": "syntax"
},
{
"name": "encoding-selector",
"version": "0.23.9"
},
{
"name": "exception-reporting",
"version": "0.43.1"
},
{
"name": "feedback",
"version": "0.38.0"
},
{
"name": "file-icons",
"version": "2.1.25"
},
{
"name": "file-templates",
"version": "0.2.0"
},
{
"name": "find-and-replace",
"version": "0.215.12"
},
{
"name": "flex-tool-bar",
"version": "2.1.2"
},
{
"name": "floobits",
"version": "0.32.12"
},
{
"name": "fuzzy-finder",
"version": "1.8.2"
},
{
"name": "git-diff",
"version": "1.3.9"
},
{
"name": "github",
"version": "0.19.1"
},
{
"name": "go-to-line",
"version": "0.33.0"
},
{
"name": "gpp-compiler",
"version": "3.0.7"
},
{
"name": "grammar-selector",
"version": "0.50.1"
},
{
"name": "hey-pane",
"version": "1.1.2"
},
{
"name": "ide-cpp",
"version": "0.0.3"
},
{
"name": "ide-java",
"version": "0.8.3"
},
{
"name": "image-view",
"version": "0.63.1"
},
{
"name": "incompatible-packages",
"version": "0.27.3"
},
{
"name": "intentions",
"version": "1.1.5"
},
{
"name": "jquery-snippets",
"version": "11.0.0"
},
{
"name": "keybinding-resolver",
"version": "0.38.2"
},
{
"name": "language-c",
"version": "0.60.4"
},
{
"name": "language-clojure",
"version": "0.22.7"
},
{
"name": "language-coffee-script",
"version": "0.49.3"
},
{
"name": "language-csharp",
"version": "1.0.4"
},
{
"name": "language-css",
"version": "0.42.11"
},
{
"name": "language-gfm",
"version": "0.90.5"
},
{
"name": "language-git",
"version": "0.19.1"
},
{
"name": "language-go",
"version": "0.46.2"
},
{
"name": "language-html",
"version": "0.51.5"
},
{
"name": "language-hyperlink",
"version": "0.16.3"
},
{
"name": "language-java",
"version": "0.30.0"
},
{
"name": "language-javascript",
"version": "0.129.9"
},
{
"name": "language-json",
"version": "0.19.2"
},
{
"name": "language-less",
"version": "0.34.2"
},
{
"name": "language-make",
"version": "0.22.3"
},
{
"name": "language-mustache",
"version": "0.14.5"
},
{
"name": "language-objective-c",
"version": "0.15.1"
},
{
"name": "language-perl",
"version": "0.38.1"
},
{
"name": "language-php",
"version": "0.44.0"
},
{
"name": "language-property-list",
"version": "0.9.1"
},
{
"name": "language-python",
"version": "0.51.4"
},
{
"name": "language-ruby",
"version": "0.72.7"
},
{
"name": "language-ruby-on-rails",
"version": "0.25.3"
},
{
"name": "language-sass",
"version": "0.62.0"
},
{
"name": "language-shellscript",
"version": "0.27.4"
},
{
"name": "language-source",
"version": "0.9.0"
},
{
"name": "language-sql",
"version": "0.25.10"
},
{
"name": "language-tex",
"version": "0.4.0"
},
{
"name": "language-text",
"version": "0.7.4"
},
{
"name": "language-todo",
"version": "0.29.4"
},
{
"name": "language-toml",
"version": "0.18.2"
},
{
"name": "language-typescript",
"version": "0.4.6"
},
{
"name": "language-xml",
"version": "0.35.2"
},
{
"name": "language-yaml",
"version": "0.32.0"
},
{
"name": "latex-autocomplete",
"version": "1.1.1"
},
{
"name": "line-ending-selector",
"version": "0.7.7"
},
{
"name": "link",
"version": "0.31.4"
},
{
"name": "linter",
"version": "2.2.0"
},
{
"name": "linter-clang",
"version": "4.1.2"
},
{
"name": "linter-ui-default",
"version": "1.7.1"
},
{
"name": "linter-write-good",
"version": "0.9.0"
},
{
"name": "lipsum",
"version": "0.1.0"
},
{
"name": "markdown-preview",
"version": "0.159.23"
},
{
"name": "metrics",
"version": "1.6.2"
},
{
"name": "minimap",
"version": "4.29.9"
},
{
"name": "minimap-pigments",
"version": "0.2.2"
},
{
"name": "minimap-titles",
"version": "1.15.0"
},
{
"name": "monokai",
"version": "0.24.0",
"theme": "syntax"
},
{
"name": "navigate",
"version": "0.1.20"
},
{
"name": "no-title-bar",
"version": "1.11.4"
},
{
"name": "notifications",
"version": "0.70.5"
},
{
"name": "oceanic-next",
"version": "1.0.0",
"theme": "syntax"
},
{
"name": "one-dark-syntax",
"version": "1.8.4",
"theme": "syntax"
},
{
"name": "one-dark-ui",
"version": "1.12.4",
"theme": "ui"
},
{
"name": "one-light-syntax",
"version": "1.8.4",
"theme": "syntax"
},
{
"name": "one-light-ui",
"version": "1.12.5",
"theme": "ui"
},
{
"name": "open-on-github",
"version": "1.3.1"
},
{
"name": "package-generator",
"version": "1.3.0"
},
{
"name": "package-sync-plus",
"version": "0.1.2"
},
{
"name": "pdf-view",
"version": "0.71.0"
},
{
"name": "pigments",
"version": "0.40.2"
},
{
"name": "platformio-ide-terminal",
"version": "2.8.4"
},
{
"name": "pristine-ui",
"version": "1.1.11",
"theme": "ui"
},
{
"name": "pure-syntax",
"version": "1.0.1",
"theme": "syntax"
},
{
"name": "remote-atom",
"version": "1.3.12"
},
{
"name": "settings-view",
"version": "0.255.0"
},
{
"name": "slack-chat",
"version": "3.4.2"
},
{
"name": "snippets",
"version": "1.3.5"
},
{
"name": "solarized-dark-syntax",
"version": "1.1.5",
"theme": "syntax"
},
{
"name": "solarized-light-syntax",
"version": "1.1.5",
"theme": "syntax"
},
{
"name": "spell-check",
"version": "0.74.0"
},
{
"name": "spell-check-test",
"version": "0.77.5"
},
{
"name": "status-bar",
"version": "1.8.15"
},
{
"name": "styleguide",
"version": "0.49.12"
},
{
"name": "symbols-view",
"version": "0.118.2"
},
{
"name": "sync-settings",
"version": "0.8.6"
},
{
"name": "tabs",
"version": "0.109.2"
},
{
"name": "teletype",
"version": "0.13.3"
},
{
"name": "terminal-fusion",
"version": "2.4.4"
},
{
"name": "terminal-plus",
"version": "0.14.5"
},
{
"name": "timecop",
"version": "0.36.2"
},
{
"name": "tool-bar",
"version": "1.1.10"
},
{
"name": "tree-view",
"version": "0.224.2"
},
{
"name": "update-package-dependencies",
"version": "0.13.1"
},
{
"name": "welcome",
"version": "0.36.7"
},
{
"name": "whitespace",
"version": "0.37.6"
},
{
"name": "wrap-guide",
"version": "0.40.3"
}
]
{
"activate-power-mode": {
"comboMode": {
"opacity": 0.4
},
"particles": {
"colours": {
"type": "random"
},
"size": {
"max": 5,
"min": 1
},
"spawnCount": {
"max": 30,
"min": 10
},
"totalCount": {
"max": 1000
}
},
"playAudio": {
"volume": 0.01
},
"plugins": {
"playAudio": true,
"screenShake": true
},
"screenShake": {
"enabled": false
}
},
"advanced-open-file": {
"fuzzyMatch": true
},
"atom-2048": {
"Enable Power Mode": true
},
"atom-beautify": {
"general": {
"_analyticsUserId": "8ea84ea7-cde2-4115-9c8a-260b0025018a"
}
},
"atom-clock": {
"dateFormat": "ddd, MMM D, Y HH:mm:ss",
"refreshInterval": 1,
"showClockIcon": true
},
"atom-html-preview": {
"triggerOnSave": true
},
"atom-ide-ui": {
"atom-ide-code-format": {
"formatOnSave": true
},
"atom-ide-diagnostics-ui": {
"autoVisibility": true
},
"use": {
"atom-ide-busy-signal": "default",
"atom-ide-code-actions": "default",
"atom-ide-code-format": "default",
"atom-ide-code-highlight": "default",
"atom-ide-console": "default",
"atom-ide-datatip": "default",
"atom-ide-debugger": "default",
"atom-ide-definitions": "default",
"atom-ide-diagnostics": "default",
"atom-ide-diagnostics-ui": "default",
"atom-ide-find-references": "default",
"atom-ide-global": "default",
"atom-ide-outline-view": "default",
"atom-ide-signature-help": "default",
"atom-ide-terminal": "default",
"hyperclick": "default"
}
},
"atom-material-ui": {
"colors": {
"abaseColor": "#ef5350",
"accentColor": "#59fcff",
"genAccent": true,
"paintCursor": true,
"predefinedColor": "Red"
},
"fonts": {
"fontSize": 14
},
"tabs": {},
"treeView": {
"blendTabs": true
},
"ui": {
"panelContrast": true,
"panelShadows": true
}
},
"atom-minimap-titles": {
"font": "ANSI Shadow"
},
"atom-webbrowser": {
"autoReloadCache": true,
"autoReopen": false
},
"autocomplete-clang": {},
"autocomplete-python": {
"showTooltips": true,
"useKite": false,
"useSnippets": "required"
},
"autoupdate-packages": {
"frequency": 1,
"lastUpdateTimestamp": 1539320115929
},
"browser-plus": {},
"busy-signal": {},
"config-import-export": {
"defaultPath": {
"darwin": "/Users/Siddhant/AtomBackups",
"freebsd": "",
"linux": "",
"sunos": "",
"win32": ""
}
},
"core": {
"disabledPackages": [
"gpp-compiler",
"spell-check",
"spell-check-test",
"linter-write-good",
"atom-webbrowser",
"tool-bar",
"flex-tool-bar",
"atom-pair",
"slack-chat",
"lipsum",
"floobits",
"remote-atom",
"package-generator",
"package-sync-plus",
"terminal-plus",
"terminal-fusion",
"linter",
"hey-pane",
"atom-clock",
"ide-java",
"ide-cpp",
"activate-power-mode",
"no-title-bar",
"atomify"
],
"packagesWithKeymapsDisabled": [
"spell-check-project"
],
"telemetryConsent": "limited",
"themes": [
"atom-material-ui",
"monokai"
],
"titleBar": "custom-inset",
"uriHandlerRegistration": "always"
},
"duotone-dark-syntax": {
"color": {
"duo": "#85ebff",
"uno": "#ff5a00"
}
},
"editor": {
"fontFamily": "SF Mono",
"fontSize": 13,
"invisibles": {},
"preferredLineLength": 90,
"scrollPastEnd": true,
"showIndentGuide": true,
"showInvisibles": true,
"softWrap": true,
"tabLength": 4,
"tabType": "soft",
"zoomFontWhenCtrlScrolling": true
},
"exception-reporting": {
"userId": "f1868dc1-f160-1e3f-7b7a-72be639c9499"
},
"file-icons": {
"onChanges": true
},
"floobits": {},
"gpp-compiler": {},
"linter": {},
"linter-clang": {},
"linter-gcc": {},
"linter-ui-default": {
"decorateOnTreeView": "Files and Directories",
"panelHeight": 137,
"showProviderName": true,
"tooltipFollows": "Keyboard"
},
"minimap": {
"absoluteMode": true,
"plugins": {
"pigments": true,
"pigmentsDecorationsZIndex": 0
}
},
"navigate": {
"f1": "http://devdocs.io/#q=&searchterm",
"f10": "https://duckduckgo.com/?q=&searchterm",
"f6": "http://www.bing.com/search?q=&searchterm"
},
"no-title-bar": {
"automaticTrafficLightsPaddingOffset": 200,
"enableLiberalWindowDragging": false
},
"one-dark-ui": {
"fontSize": 12
},
"one-light-ui": {},
"package-sync-plus": {
"gistId": "b07ccf0602fb569e4eeff9f41fd4f857",
"personalAccessToken": "49f1c4a15a2a8e2f42b9320a6724012003b7f8b0"
},
"pdf-view": {},
"pigments": {},
"platformio-ide-terminal": {
"ansiColors": {
"normal": {
"blue": "#0061ff"
},
"zBright": {
"brightBlue": "#00a3e8"
}
},
"core": {
"scrollback": 1000000
},
"iconColors": {
"blue": "#0061ff"
},
"style": {
"animationSpeed": 2,
"fontFamily": "SF Mono"
},
"toggles": {
"autoClose": true
}
},
"remote-atom": {},
"spell-check": {
"grammars": [
"source.asciidoc",
"source.gfm",
"text.git-commit",
"text.plain",
"text.plain.null-grammar",
"source.js",
"text.html.basic"
]
},
"spell-check-test": {
"addKnownWords": true,
"grammars": [
"source.asciidoc",
"source.gfm",
"text.git-commit",
"text.plain",
"text.plain.null-grammar",
"text.html.basic",
"source.js"
],
"knownWords": [
"Zahi",
"Hawass"
]
},
"sync-settings": {},
"terminal-fusion": {
"ansiColors": {
"normal": {
"blue": "#0082e8"
},
"zBright": {
"brightBlue": "#00a3e8"
}
},
"style": {
"fontFamily": "SF Mono"
}
},
"terminal-panel": {},
"terminal-plus": {
"ansiColors": {
"normal": {
"blue": "#0081e8"
},
"zBright": {
"brightBlue": "#00a3e8"
}
},
"core": {
"scrollback": 1000000
},
"style": {
"fontFamily": "SF Mono"
}
},
"tool-bar": {},
"tree-view": {
"alwaysOpenExisting": true,
"focusOnReveal": false,
"hideVcsIgnoredFiles": true,
"squashDirectoryNames": true
},
"ult-terminal": {},
"welcome": {
"showOnStartup": false
},
"whitespace": {
"ensureSingleTrailingNewline": 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:
# https://atom.io/docs/latest/using-atom-basic-customization#cson
'.source.cpp':
'Comment newline':
'prefix': '/'
'body': """
// :\t"""
'description': 'Mr. H\'s Doc '
'rightLabelHTML': '<span style="color:#7000ff">C++</span>'
'Doc Box':
'prefix': 'doc'
'body': """
// NAME : Siddhant Nandkishor Pagariya
// GROUP : DM
// LAST MODIFIED : 31 DEC 2016
// PROBLEM ID : USACO Problem:
// DESCRIPTION :
"""
/*
* 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
* (To see them, uncomment and save)
*/
// style the background color of the tree view
.tree-view {
// background-color: whitesmoke;
}
// style the background and foreground colors on the atom-text-editor-element itself
atom-text-editor {
// color: white;
// background-color: hsl(180, 24%, 12%);
}
// To style other content in the text editor's shadow DOM, use the ::shadow expression
atom-text-editor::shadow .cursor {
// border-color: red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment