Skip to content

Instantly share code, notes, and snippets.

@mitsuruog
Last active April 2, 2016 16:47
Show Gist options
  • Save mitsuruog/e05ed16b3fca1392402f to your computer and use it in GitHub Desktop.
Save mitsuruog/e05ed16b3fca1392402f 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 make opened Markdown files always be soft wrapped:
#
# path = require 'path'
#
# atom.workspaceView.eachEditorView (editorView) ->
# editor = editorView.getEditor()
# if path.extname(editor.getPath()) is '.md'
# editor.setSoftWrapped(true)
# Your keymap
#
# Atom keymaps work similarly to stylesheets. Just as stylesheets use selectors
# to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts.
#
# 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'
#
# '.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/customizing-atom#customizing-key-bindings
# * https://atom.io/docs/latest/advanced/keymaps
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it here:
# https://github.com/bevry/cson#what-is-cson
[
{
"name": "Sublime-Style-Column-Selection",
"version": "1.5.1"
},
{
"name": "about",
"version": "1.3.0"
},
{
"name": "archive-view",
"version": "0.61.0"
},
{
"name": "atom-beautify",
"version": "0.28.21"
},
{
"name": "atom-color-highlight",
"version": "3.0.9"
},
{
"name": "atom-dark-syntax",
"version": "0.27.0",
"theme": "syntax"
},
{
"name": "atom-dark-ui",
"version": "0.51.0",
"theme": "ui"
},
{
"name": "atom-easy-jsdoc",
"version": "4.2.1"
},
{
"name": "atom-jade",
"version": "0.3.0"
},
{
"name": "atom-light-syntax",
"version": "0.28.0",
"theme": "syntax"
},
{
"name": "atom-light-ui",
"version": "0.43.0",
"theme": "ui"
},
{
"name": "atom-runner",
"version": "2.5.2"
},
{
"name": "autoclose-html",
"version": "0.20.0"
},
{
"name": "autocomplete-atom-api",
"version": "0.9.2"
},
{
"name": "autocomplete-css",
"version": "0.11.0"
},
{
"name": "autocomplete-html",
"version": "0.7.2"
},
{
"name": "autocomplete-paths",
"version": "1.0.2"
},
{
"name": "autocomplete-plus",
"version": "2.25.0"
},
{
"name": "autocomplete-snippets",
"version": "1.9.0"
},
{
"name": "autoflow",
"version": "0.26.0"
},
{
"name": "autosave",
"version": "0.23.0"
},
{
"name": "background-tips",
"version": "0.26.0"
},
{
"name": "base16-tomorrow-dark-theme",
"version": "1.0.0",
"theme": "syntax"
},
{
"name": "base16-tomorrow-light-theme",
"version": "1.0.0",
"theme": "syntax"
},
{
"name": "bookmarks",
"version": "0.38.0"
},
{
"name": "bracket-matcher",
"version": "0.79.0"
},
{
"name": "color-picker",
"version": "2.1.1"
},
{
"name": "command-palette",
"version": "0.38.0"
},
{
"name": "deprecation-cop",
"version": "0.54.0"
},
{
"name": "dev-live-reload",
"version": "0.47.0"
},
{
"name": "emmet",
"version": "2.4.1"
},
{
"name": "encoding-selector",
"version": "0.21.0"
},
{
"name": "exception-reporting",
"version": "0.37.0"
},
{
"name": "find-and-replace",
"version": "0.194.0"
},
{
"name": "fuzzy-finder",
"version": "0.94.0"
},
{
"name": "git-diff",
"version": "0.57.0"
},
{
"name": "git-log",
"version": "0.4.1"
},
{
"name": "go-to-line",
"version": "0.30.0"
},
{
"name": "grammar-selector",
"version": "0.48.0"
},
{
"name": "highlight-line",
"version": "0.11.1"
},
{
"name": "highlight-selected",
"version": "0.11.2"
},
{
"name": "image-view",
"version": "0.56.0"
},
{
"name": "incompatible-packages",
"version": "0.25.0"
},
{
"name": "japanese-dictionary",
"version": "0.2.0"
},
{
"name": "javascript-snippets",
"version": "1.2.0"
},
{
"name": "keybinding-resolver",
"version": "0.33.0"
},
{
"name": "language-c",
"version": "0.51.1"
},
{
"name": "language-clojure",
"version": "0.19.0"
},
{
"name": "language-coffee-script",
"version": "0.46.0"
},
{
"name": "language-csharp",
"version": "0.11.0"
},
{
"name": "language-css",
"version": "0.36.0"
},
{
"name": "language-gfm",
"version": "0.82.0"
},
{
"name": "language-git",
"version": "0.11.0"
},
{
"name": "language-go",
"version": "0.42.0"
},
{
"name": "language-html",
"version": "0.43.1"
},
{
"name": "language-hyperlink",
"version": "0.16.0"
},
{
"name": "language-java",
"version": "0.17.0"
},
{
"name": "language-javascript",
"version": "0.104.0"
},
{
"name": "language-json",
"version": "0.17.2"
},
{
"name": "language-less",
"version": "0.29.0"
},
{
"name": "language-make",
"version": "0.21.0"
},
{
"name": "language-mustache",
"version": "0.13.0"
},
{
"name": "language-objective-c",
"version": "0.15.1"
},
{
"name": "language-perl",
"version": "0.32.0"
},
{
"name": "language-php",
"version": "0.34.0"
},
{
"name": "language-property-list",
"version": "0.8.0"
},
{
"name": "language-python",
"version": "0.42.1"
},
{
"name": "language-ruby",
"version": "0.65.0"
},
{
"name": "language-ruby-on-rails",
"version": "0.24.0"
},
{
"name": "language-sass",
"version": "0.45.0"
},
{
"name": "language-shellscript",
"version": "0.21.0"
},
{
"name": "language-source",
"version": "0.9.0"
},
{
"name": "language-sql",
"version": "0.20.0"
},
{
"name": "language-text",
"version": "0.7.0"
},
{
"name": "language-todo",
"version": "0.27.0"
},
{
"name": "language-toml",
"version": "0.18.0"
},
{
"name": "language-xml",
"version": "0.34.2"
},
{
"name": "language-yaml",
"version": "0.25.0"
},
{
"name": "line-ending-selector",
"version": "0.3.0"
},
{
"name": "link",
"version": "0.31.0"
},
{
"name": "linter",
"version": "1.11.3"
},
{
"name": "linter-eslint",
"version": "6.0.0"
},
{
"name": "linter-htmlhint",
"version": "1.0.2"
},
{
"name": "linter-jscs",
"version": "3.4.1"
},
{
"name": "linter-stylelint",
"version": "1.10.2"
},
{
"name": "local-history",
"version": "3.2.3"
},
{
"name": "markdown-preview",
"version": "0.157.0"
},
{
"name": "metrics",
"version": "0.53.1"
},
{
"name": "minimap",
"version": "4.19.0"
},
{
"name": "minimap-highlight-selected",
"version": "4.3.1"
},
{
"name": "mitsuruog-atom-snippets",
"version": "0.0.1"
},
{
"name": "monokai",
"version": "0.18.0",
"theme": "syntax"
},
{
"name": "monokai-seti",
"version": "0.7.0",
"theme": "syntax"
},
{
"name": "node-debugger",
"version": "1.3.2"
},
{
"name": "notifications",
"version": "0.62.1"
},
{
"name": "one-dark-syntax",
"version": "1.1.1",
"theme": "syntax"
},
{
"name": "one-dark-ui",
"version": "1.1.8",
"theme": "ui"
},
{
"name": "one-light-syntax",
"version": "1.1.1",
"theme": "syntax"
},
{
"name": "one-light-ui",
"version": "1.1.8",
"theme": "ui"
},
{
"name": "open-on-github",
"version": "0.40.0"
},
{
"name": "package-generator",
"version": "0.41.0"
},
{
"name": "project-manager",
"version": "2.7.6"
},
{
"name": "react",
"version": "0.14.1"
},
{
"name": "script",
"version": "3.4.1"
},
{
"name": "seti-monokai",
"version": "0.3.1",
"theme": "syntax"
},
{
"name": "seti-ui",
"version": "0.8.1",
"theme": "ui"
},
{
"name": "settings-view",
"version": "0.232.1"
},
{
"name": "show-ideographic-space",
"version": "1.0.1"
},
{
"name": "snippets",
"version": "1.0.1"
},
{
"name": "solarized-dark-syntax",
"version": "0.39.0",
"theme": "syntax"
},
{
"name": "solarized-light-syntax",
"version": "0.23.0",
"theme": "syntax"
},
{
"name": "spell-check",
"version": "0.63.0"
},
{
"name": "status-bar",
"version": "0.80.0"
},
{
"name": "styleguide",
"version": "0.45.0"
},
{
"name": "symbols-view",
"version": "0.110.1"
},
{
"name": "sync-settings",
"version": "0.7.2"
},
{
"name": "tabs",
"version": "0.88.0"
},
{
"name": "terminal-panel",
"version": "1.14.1"
},
{
"name": "timecop",
"version": "0.33.0"
},
{
"name": "todo-show",
"version": "1.3.0"
},
{
"name": "trailing-spaces",
"version": "0.3.2"
},
{
"name": "tree-view",
"version": "0.198.0"
},
{
"name": "update-package-dependencies",
"version": "0.10.0"
},
{
"name": "welcome",
"version": "0.33.0"
},
{
"name": "whitespace",
"version": "0.32.1"
},
{
"name": "wrap-guide",
"version": "0.38.1"
}
]
{
"atom-beautify": {
"_analyticsUserId": "d0497652-9c7a-41e1-9f33-3d1261e15fc2"
},
"atom-terminal": {},
"autoclose-html": {},
"autocomplete-plus": {
"confirmCompletion": "enter"
},
"core": {
"disabledPackages": [
"regex-railroad-diagram"
],
"themes": [
"seti-ui",
"monokai"
]
},
"editor": {
"fontSize": 11,
"invisibles": {}
},
"exception-reporting": {
"userId": "5f5ccb38-a2ce-0ab7-fdbc-4b384ef78190"
},
"filetype-color": {
"enabled": "false"
},
"highlight-selected": {},
"jsformat": {},
"linter": {
"errorPanelHeight": 81,
"statusBar": "Show all errors",
"subtleLinterErrors": [
"htmlhint"
]
},
"linter-csslint": {},
"linter-eslint": {
"disableWhenNoEslintrcFileInPath": true
},
"linter-htmlhint": {},
"linter-jscs": {
"displayAs": "jscs Warning",
"onlyConfig": true
},
"linter-jshint": {
"disableWhenNoJshintrcFileInPath": true
},
"local-history": {},
"markdown-preview": {},
"metrics": {
"userId": "37eee77d3e151ead785bfe3c3873e5a66904c859"
},
"minimap": {
"absoluteMode": true,
"plugins": {
"highlight-selected": true
}
},
"node-debugger": {},
"sync-settings": {},
"todo-show": {
"ignoreThesePaths": [
"bower_components"
]
},
"tree-view": {
"hideIgnoredNames": true
},
"welcome": {
"showOnStartup": 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'
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it here:
# https://github.com/bevry/cson#what-is-cson
# '.source.js':
# 'angular.directive':
# 'prefix': 'ngDirective'
# 'body': """
# (function() {
# 'use strict';
#
# angular.module('$1')
# .directive('$2', $2);
#
# function $2() {
#
# var directive = {
# restrict: 'EA',
# templateUrl: './$2.html',
# //scope: true,
# //replace: false,
# //transclude: true,
# link: link
# };
#
# return directive;
#
# ////////////
#
# function link(scope, element, attrs) {}
#
# }
#
# })();
# """
# 'angular.controller':
# 'prefix': 'ngController'
# 'body': """
# (function() {
# 'use strict';
#
# angular.module('$1')
# .controller('$2Controller', $2Controller);
#
# function $2Controller() {
#
# var vm = this;
# vm.message = message;
#
# ////////////
#
# function message() {
# return 'Hello';
# }
#
# }
#
# })();
# """
# 'angular.factory':
# 'prefix': 'ngFactory'
# 'body': """
# (function(){
# 'use strict';
#
# angular.module('$1')
# .factory('$2', $2);
#
# function $2() {
#
# // Public API here
# var service = {
# someMethod: someMethod
# };
#
# // Service logic
# // ...
# var meaningOfLife = 42;
#
# return service;
#
# ////////////
# function someMethod(){
# return meaningOfLife;
# }
#
# }
#
# })();
# """
# 'angular.filter':
# 'prefix': 'ngFilter'
# 'body': """
# (function(){
# 'use strict';
#
# angular.module('$1')
# .filter('$2', $2);
#
# function $2() {
#
# return filter;
#
# ////////////
#
# function filter(input) {
# return '$2 filter: ' + input;
# }
#
# }
#
# })();
# """
# 'angular.ui-router.sub':
# 'prefix': 'ngUIRouter sub'
# 'body': """
# (function(){
# 'use strict';
#
# angular.module('$1')
# .config(SubRouter);
#
# function SubRouter($stateProvider) {
# $stateProvider
# .state('$2', {
# url: '$3',
# templateUrl: '$4',
# controller: '$5Controller',
# controllerAs: 'vm'
# });
# }
#
# })();
# """
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed.
*
* If you are unfamiliar with LESS, you can read more about it here:
* http://www.lesscss.org
*/
.tree-view {
}
atom-text-editor {
}
atom-text-editor .cursor {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment