Skip to content

Instantly share code, notes, and snippets.

@canxer314
Last active April 26, 2018 07:29
Show Gist options
  • Save canxer314/e842a269da60e38067c6e6006f8cb2bc to your computer and use it in GitHub Desktop.
Save canxer314/e842a269da60e38067c6e6006f8cb2bc to your computer and use it in GitHub Desktop.

Revisions

  1. canxer314 revised this gist Apr 26, 2018. 2 changed files with 95 additions and 45 deletions.
    98 changes: 67 additions & 31 deletions packages.json
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@
    },
    {
    "name": "archive-view",
    "version": "0.64.2"
    "version": "0.64.3"
    },
    {
    "name": "atom-dark-syntax",
    @@ -14,21 +14,29 @@
    },
    {
    "name": "atom-dark-ui",
    "version": "0.53.1",
    "version": "0.53.2",
    "theme": "ui"
    },
    {
    "name": "atom-fuzzy-grep",
    "version": "0.17.2"
    },
    {
    "name": "atom-ide-debugger-python",
    "version": "0.7.1"
    },
    {
    "name": "atom-ide-ui",
    "version": "0.11.1"
    },
    {
    "name": "atom-light-syntax",
    "version": "0.29.0",
    "theme": "syntax"
    },
    {
    "name": "atom-light-ui",
    "version": "0.46.1",
    "version": "0.46.2",
    "theme": "ui"
    },
    {
    @@ -41,6 +49,10 @@
    "version": "2.1.3",
    "theme": "ui"
    },
    {
    "name": "atom-python-run",
    "version": "0.9.6"
    },
    {
    "name": "atom-ternjs",
    "version": "0.18.3"
    @@ -59,11 +71,19 @@
    },
    {
    "name": "autocomplete-modules",
    "version": "1.12.0"
    "version": "2.0.0"
    },
    {
    "name": "autocomplete-paths",
    "version": "2.12.2"
    },
    {
    "name": "autocomplete-plus",
    "version": "2.40.2"
    "version": "2.40.5"
    },
    {
    "name": "autocomplete-python",
    "version": "1.10.5"
    },
    {
    "name": "autocomplete-snippets",
    @@ -79,7 +99,7 @@
    },
    {
    "name": "background-tips",
    "version": "0.27.1"
    "version": "0.28.0"
    },
    {
    "name": "base16-tomorrow-dark-theme",
    @@ -115,7 +135,7 @@
    },
    {
    "name": "color-picker",
    "version": "2.2.5"
    "version": "2.3.0"
    },
    {
    "name": "command-palette",
    @@ -131,7 +151,7 @@
    },
    {
    "name": "dalek",
    "version": "0.2.1"
    "version": "0.2.2"
    },
    {
    "name": "deprecation-cop",
    @@ -181,15 +201,15 @@
    },
    {
    "name": "file-icons",
    "version": "2.1.18"
    "version": "2.1.19"
    },
    {
    "name": "find-and-replace",
    "version": "0.215.5"
    },
    {
    "name": "fuzzy-finder",
    "version": "1.7.5"
    "version": "1.8.1"
    },
    {
    "name": "git-blame",
    @@ -209,7 +229,7 @@
    },
    {
    "name": "github",
    "version": "0.10.3"
    "version": "0.12.0"
    },
    {
    "name": "go-to-line",
    @@ -221,12 +241,16 @@
    },
    {
    "name": "grammar-selector",
    "version": "0.49.9"
    "version": "0.50.0"
    },
    {
    "name": "highlight-selected",
    "version": "0.13.1"
    },
    {
    "name": "ide-python",
    "version": "0.9.2"
    },
    {
    "name": "image-view",
    "version": "0.62.4"
    @@ -257,7 +281,7 @@
    },
    {
    "name": "language-c",
    "version": "0.59.2"
    "version": "0.59.3"
    },
    {
    "name": "language-clojure",
    @@ -285,7 +309,7 @@
    },
    {
    "name": "language-go",
    "version": "0.45.2"
    "version": "0.45.3"
    },
    {
    "name": "language-html",
    @@ -297,11 +321,11 @@
    },
    {
    "name": "language-java",
    "version": "0.28.0"
    "version": "0.29.0"
    },
    {
    "name": "language-javascript",
    "version": "0.128.3"
    "version": "0.128.5"
    },
    {
    "name": "language-json",
    @@ -329,15 +353,15 @@
    },
    {
    "name": "language-php",
    "version": "0.43.1"
    "version": "0.43.2"
    },
    {
    "name": "language-property-list",
    "version": "0.9.1"
    },
    {
    "name": "language-python",
    "version": "0.49.2"
    "version": "0.49.4"
    },
    {
    "name": "language-ruby",
    @@ -353,7 +377,7 @@
    },
    {
    "name": "language-shellscript",
    "version": "0.26.1"
    "version": "0.26.3"
    },
    {
    "name": "language-source",
    @@ -365,7 +389,7 @@
    },
    {
    "name": "language-text",
    "version": "0.7.3"
    "version": "0.7.4"
    },
    {
    "name": "language-todo",
    @@ -377,15 +401,15 @@
    },
    {
    "name": "language-typescript",
    "version": "0.3.2"
    "version": "0.3.3"
    },
    {
    "name": "language-xml",
    "version": "0.35.2"
    },
    {
    "name": "language-yaml",
    "version": "0.31.2"
    "version": "0.32.0"
    },
    {
    "name": "line-ending-selector",
    @@ -421,7 +445,7 @@
    },
    {
    "name": "markdown-preview-enhanced",
    "version": "0.15.5"
    "version": "0.15.6"
    },
    {
    "name": "merge-conflicts",
    @@ -449,7 +473,7 @@
    },
    {
    "name": "notifications",
    "version": "0.70.2"
    "version": "0.70.5"
    },
    {
    "name": "one-dark-syntax",
    @@ -458,7 +482,7 @@
    },
    {
    "name": "one-dark-ui",
    "version": "1.10.10",
    "version": "1.11.0",
    "theme": "ui"
    },
    {
    @@ -468,7 +492,7 @@
    },
    {
    "name": "one-light-ui",
    "version": "1.10.10",
    "version": "1.11.0",
    "theme": "ui"
    },
    {
    @@ -501,6 +525,18 @@
    "version": "0.3.0",
    "theme": "syntax"
    },
    {
    "name": "python-autopep8",
    "version": "0.1.3"
    },
    {
    "name": "python-indent",
    "version": "1.1.5"
    },
    {
    "name": "python-tools",
    "version": "0.6.9"
    },
    {
    "name": "react-snippets",
    "version": "1.1.0"
    @@ -511,11 +547,11 @@
    },
    {
    "name": "settings-view",
    "version": "0.254.1"
    "version": "0.254.2"
    },
    {
    "name": "snippets",
    "version": "1.3.1"
    "version": "1.3.2"
    },
    {
    "name": "solarized-dark-syntax",
    @@ -529,7 +565,7 @@
    },
    {
    "name": "spell-check",
    "version": "0.72.7"
    "version": "0.73.3"
    },
    {
    "name": "status-bar",
    @@ -557,7 +593,7 @@
    },
    {
    "name": "todo-show",
    "version": "2.2.0"
    "version": "2.3.0"
    },
    {
    "name": "tree-view",
    @@ -573,7 +609,7 @@
    },
    {
    "name": "vim-mode-plus",
    "version": "1.31.1"
    "version": "1.32.0"
    },
    {
    "name": "welcome",
    42 changes: 28 additions & 14 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -14,17 +14,21 @@
    "atom-ide-ui": {
    "use": {}
    },
    "autocomplete-modules": {},
    "autocomplete-paths": {
    "ignoreBuiltinScopes": true,
    "ignoreSubmodules": true,
    "maxFileCount": 4500
    },
    "autocomplete-python": {
    "useKite": false
    },
    "bracket-matcher": {
    "highlightMatchingLineNumber": true
    },
    "command-palette": {},
    "core": {
    "disabledPackages": [
    "linter"
    ],
    "ignoredNames": [
    ".git",
    ".hg",
    @@ -41,7 +45,8 @@
    "minimap",
    "goto-definition",
    "es6-javascript",
    "bracket-matcher"
    "bracket-matcher",
    "python-debugger"
    ],
    "projectHome": "D:\\JsDev\\",
    "telemetryConsent": "no",
    @@ -51,12 +56,19 @@
    ],
    "uriHandlerRegistration": "always"
    },
    "css-declaration-sorter": {
    "formatOnSave": true,
    "sortOrder": "smacss"
    },
    "editor": {
    "confirmCheckoutHeadRevision": false,
    "fontFamily": "Source Code Pro",
    "invisibles": {},
    "scrollPastEnd": true,
    "showIndentGuide": true,
    "showInvisibles": true,
    "softWrap": true,
    "tabLength": 4,
    "tabType": "soft",
    "zoomFontWhenCtrlScrolling": false
    },
    @@ -66,25 +78,25 @@
    "git-blame": {
    "columnWidth": 200
    },
    "git-diff": {},
    "git-plus": {
    "general": {}
    "git-diff": {
    "showIconsInEditorGutter": true
    },
    "highlight-selected": {
    "highlightBackground": true
    },
    "keystroke": {},
    "linter": {
    "disabledProviders": [
    "ESLint"
    ]
    "ide-python": {
    "ropeFolder": "null"
    },
    "linter": {},
    "linter-csslint": {},
    "linter-ui-default": {
    "showPanel": true
    "alwaysTakeMinimumSpace": true
    },
    "minimap": {
    "absoluteMode": true,
    "adjustMinimapWidthToSoftWrap": false,
    "charHeight": 1,
    "displayPluginsControls": false,
    "plugins": {
    "find-and-replace": true,
    "find-and-replaceDecorationsZIndex": 0,
    @@ -95,14 +107,16 @@
    }
    },
    "prettier-atom": {
    "formatOnSaveOptions": {},
    "useEslint": true
    },
    "project-manager": {
    "alwaysOpenInSameWindow": true,
    "sortBy": "last modified"
    },
    "regex-railroad-diagram": {},
    "python-debugger": {},
    "regex-railroad-diagram": {
    "enabled": false
    },
    "split-diff": {
    "diffWords": true,
    "ignoreWhitespace": true,
  2. canxer314 revised this gist Mar 30, 2018. 2 changed files with 4 additions and 4 deletions.
    3 changes: 1 addition & 2 deletions keymap.cson
    Original file line number Diff line number Diff line change
    @@ -283,8 +283,7 @@
    # disabled because the semantics are slightly different than emacs
    # 'ctrl-l': 'editor:scroll-to-cursor'
    # 'ctrl-o': 'editor:newline-above'

    '.command-palette, .fuzzy-finder, .symbols-view, .tool-panel, .bookmarks-view ,.git-palette ,.select-list':
    '.command-palette, .fuzzy-finder, .symbols-view, .tool-panel, .bookmarks-view, .git-palette, .select-list':
    'ctrl-n': 'core:move-down'
    'ctrl-p': 'core:move-up'

    5 changes: 3 additions & 2 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -57,7 +57,6 @@
    "showIndentGuide": true,
    "showInvisibles": true,
    "softWrap": true,
    "tabLength": 4,
    "tabType": "soft",
    "zoomFontWhenCtrlScrolling": false
    },
    @@ -80,7 +79,9 @@
    "ESLint"
    ]
    },
    "linter-ui-default": {},
    "linter-ui-default": {
    "showPanel": true
    },
    "minimap": {
    "adjustMinimapWidthToSoftWrap": false,
    "charHeight": 1,
  3. canxer314 revised this gist Mar 29, 2018. No changes.
  4. canxer314 revised this gist Mar 28, 2018. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -11,6 +11,9 @@
    "enabled": false
    }
    },
    "atom-ide-ui": {
    "use": {}
    },
    "autocomplete-modules": {},
    "autocomplete-paths": {
    "ignoreBuiltinScopes": true,
    @@ -20,6 +23,7 @@
    "bracket-matcher": {
    "highlightMatchingLineNumber": true
    },
    "command-palette": {},
    "core": {
    "ignoredNames": [
    ".git",
    @@ -122,9 +126,5 @@
    },
    "welcome": {
    "showOnStartup": false
    },
    "command-palette": {},
    "atom-ide-ui": {
    "use": {}
    }
    }
  5. canxer314 revised this gist Mar 28, 2018. 6 changed files with 162 additions and 46 deletions.
    11 changes: 11 additions & 0 deletions init.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    // # 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()}"
    2 changes: 2 additions & 0 deletions keymap.cson
    Original file line number Diff line number Diff line change
    @@ -211,6 +211,8 @@
    'ctrl-k': 'keystroke 5 k'
    'ctrl-l': 'keystroke 5 l'

    # project-manager
    'space p m': 'project-manager:list-projects'

    # Bindings for 'Narrow' plugin
    'atom-text-editor.vim-mode-plus.normal-mode':
    10 changes: 7 additions & 3 deletions packages.json
    Original file line number Diff line number Diff line change
    @@ -141,6 +141,10 @@
    "name": "dev-live-reload",
    "version": "0.48.1"
    },
    {
    "name": "docblockr",
    "version": "0.13.7"
    },
    {
    "name": "dracula-syntax",
    "version": "2.0.6",
    @@ -481,7 +485,7 @@
    },
    {
    "name": "prettier-atom",
    "version": "0.52.0"
    "version": "0.53.0"
    },
    {
    "name": "pristine-ui",
    @@ -499,7 +503,7 @@
    },
    {
    "name": "react-snippets",
    "version": "1.0.1"
    "version": "1.1.0"
    },
    {
    "name": "regex-railroad-diagram",
    @@ -541,7 +545,7 @@
    },
    {
    "name": "sync-settings",
    "version": "0.8.5"
    "version": "0.8.6"
    },
    {
    "name": "tabs",
    27 changes: 23 additions & 4 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,25 @@
    {
    "activate-power-mode": {
    "particles": {
    "enabled": false
    },
    "plugins": {
    "playAudio": true,
    "screenShake": true
    },
    "screenShake": {
    "enabled": false
    }
    },
    "autocomplete-modules": {},
    "autocomplete-paths": {
    "ignoreBuiltinScopes": true,
    "ignoreSubmodules": true,
    "maxFileCount": 4500
    },
    "bracket-matcher": {
    "highlightMatchingLineNumber": true
    },
    "core": {
    "ignoredNames": [
    ".git",
    @@ -21,7 +36,8 @@
    "git-blame",
    "minimap",
    "goto-definition",
    "es6-javascript"
    "es6-javascript",
    "bracket-matcher"
    ],
    "projectHome": "D:\\JsDev\\",
    "telemetryConsent": "no",
    @@ -60,9 +76,7 @@
    "ESLint"
    ]
    },
    "linter-ui-default": {
    "panelHeight": 139
    },
    "linter-ui-default": {},
    "minimap": {
    "adjustMinimapWidthToSoftWrap": false,
    "charHeight": 1,
    @@ -80,6 +94,7 @@
    "useEslint": true
    },
    "project-manager": {
    "alwaysOpenInSameWindow": true,
    "sortBy": "last modified"
    },
    "regex-railroad-diagram": {},
    @@ -107,5 +122,9 @@
    },
    "welcome": {
    "showOnStartup": false
    },
    "command-palette": {},
    "atom-ide-ui": {
    "use": {}
    }
    }
    155 changes: 116 additions & 39 deletions snippets.cson
    Original file line number Diff line number Diff line change
    @@ -22,42 +22,119 @@

    '.source.js.jsx':
    'mama love me again':
    'prefix': 'mama'
    'body': "/**\n
    * ,s555SB@@&\n
    * :9H####@@@@@Xi\n
    * 1@@@@@@@@@@@@@@8\n
    * ,8@@@@@@@@@B@@@@@@8\n
    * :B@@@@X3hi8Bs;B@@@@@Ah,\n
    * ,8i r@@@B: 1S ,M@@@@@@#8;\n
    * 1AB35.i: X@@8 . SGhr ,A@@@@@@@@S\n
    * 1@h31MX8 18Hhh3i .i3r ,A@@@@@@@@@5\n
    * ;@&i,58r5 rGSS: :B@@@@@@@@@@A\n
    * 1#i . 9i hX. .: .5@@@@@@@@@@@1\n
    * sG1, ,G53s. 9#Xi;hS5 3B@@@@@@@B1\n
    * .h8h.,A@@@MXSs, #@H1: 3ssSSX@1\n
    * s ,@@@@@@@@@@@@Xhi, r#@@X1s9M8 .GA981\n
    * ,. rS8H#@@@@@@@@@@#HG51;. .h31i;9@r .8@@@@BS;i;\n
    * .19AXXXAB@@@@@@@@@@@@@@#MHXG893hrX#XGGXM@@@@@@@@@@MS\n
    * s@@MM@@@hsX#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&,\n
    * :GB@#3G@@Brs ,1GM@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B,\n
    * .hM@@@#@@#MX 51 r;iSGAM@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@8\n
    * :3B@@@@@@@@@@@&9@h :Gs .;sSXH@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@:\n
    * s&HA#@@@@@@@@@@@@@@M89A;.8S. ,r3@@@@@@@@@@@@@@@@@@@@@@@@@@@r\n
    * ,13B@@@@@@@@@@@@@@@@@@@5 5B3 ;. ;@@@@@@@@@@@@@@@@@@@@@@@@@@@i\n
    * 5#@@#&@@@@@@@@@@@@@@@@@@9 .39: ;@@@@@@@@@@@@@@@@@@@@@@@@@@@;\n
    * 9@@@X:MM@@@@@@@@@@@@@@@#; ;31. H@@@@@@@@@@@@@@@@@@@@@@@@@@:\n
    * SH#@B9.rM@@@@@@@@@@@@@B :. 3@@@@@@@@@@@@@@@@@@@@@@@@@@5\n
    * ,:. 9@@@@@@@@@@@#HB5 .M@@@@@@@@@@@@@@@@@@@@@@@@@B\n
    * ,ssirhSM@&1;i19911i,. s@@@@@@@@@@@@@@@@@@@@@@@@@@S\n
    * ,,,rHAri1h1rh&@#353Sh: 8@@@@@@@@@@@@@@@@@@@@@@@@@#:\n
    * .A3hH@#5S553&@@#h i:i9S #@@@@@@@@@@@@@@@@@@@@@@@@@A.\n
    *\n
    *\n
    *\n
    *\n
    *\n
    * 妈妈再爱我一次!\n
    *\n
    *\n
    */"
    'prefix': 'mama'
    'body': """
    /**
    * ,s555SB@@&
    * :9H####@@@@@Xi
    * 1@@@@@@@@@@@@@@8
    * ,8@@@@@@@@@B@@@@@@8
    * :B@@@@X3hi8Bs;B@@@@@Ah,
    * ,8i r@@@B: 1S ,M@@@@@@#8;
    * 1AB35.i: X@@8 . SGhr ,A@@@@@@@@S
    * 1@h31MX8 18Hhh3i .i3r ,A@@@@@@@@@5
    * ;@&i,58r5 rGSS: :B@@@@@@@@@@A
    * 1#i . 9i hX. .: .5@@@@@@@@@@@1
    * sG1, ,G53s. 9#Xi;hS5 3B@@@@@@@B1
    * .h8h.,A@@@MXSs, #@H1: 3ssSSX@1
    * s ,@@@@@@@@@@@@Xhi, r#@@X1s9M8 .GA981
    * ,. rS8H#@@@@@@@@@@#HG51;. .h31i;9@r .8@@@@BS;i;
    * .19AXXXAB@@@@@@@@@@@@@@#MHXG893hrX#XGGXM@@@@@@@@@@MS
    * s@@MM@@@hsX#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&,
    * :GB@#3G@@Brs ,1GM@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B,
    * .hM@@@#@@#MX 51 r;iSGAM@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@8
    * :3B@@@@@@@@@@@&9@h :Gs .;sSXH@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@:
    * s&HA#@@@@@@@@@@@@@@M89A;.8S. ,r3@@@@@@@@@@@@@@@@@@@@@@@@@@@r
    * ,13B@@@@@@@@@@@@@@@@@@@5 5B3 ;. ;@@@@@@@@@@@@@@@@@@@@@@@@@@@i
    * 5#@@#&@@@@@@@@@@@@@@@@@@9 .39: ;@@@@@@@@@@@@@@@@@@@@@@@@@@@;
    * 9@@@X:MM@@@@@@@@@@@@@@@#; ;31. H@@@@@@@@@@@@@@@@@@@@@@@@@@:
    * SH#@B9.rM@@@@@@@@@@@@@B :. 3@@@@@@@@@@@@@@@@@@@@@@@@@@5
    * ,:. 9@@@@@@@@@@@#HB5 .M@@@@@@@@@@@@@@@@@@@@@@@@@B
    * ,ssirhSM@&1;i19911i,. s@@@@@@@@@@@@@@@@@@@@@@@@@@S
    * ,,,rHAri1h1rh&@#353Sh: 8@@@@@@@@@@@@@@@@@@@@@@@@@#:
    * .A3hH@#5S553&@@#h i:i9S #@@@@@@@@@@@@@@@@@@@@@@@@@A.
    *
    *
    * 妈妈再爱我一次!
    */
    """
    'Doge':
    'prefix': 'doge'
    'body': """
    /**
    * .,:,,, .::,,,::.
    * .::::,,;;, .,;;:,,....:i:
    * :i,.::::,;i:. ....,,:::::::::,.... .;i:,. ......;i.
    * :;..:::;::::i;,,:::;:,,,,,,,,,,..,.,,:::iri:. .,:irsr:,.;i.
    * ;;..,::::;;;;ri,,,. ..,,:;s1s1ssrr;,.;r,
    * :;. ,::;ii;:, . ................... .;iirri;;;,,;i,
    * ,i. .;ri:. ... ............................ .,,:;:,,,;i:
    * :s,.;r:... ....................................... .::;::s;
    * ,1r::. .............,,,.,,:,,........................,;iir;
    * ,s;........... ..::.,;:,,. ...............,;1s
    * :i,..,. .,:,,::,. .......... .......;1,
    * ir,....:rrssr;:, ,,.,::. .r5S9989398G95hr;. ....,.:s,
    * ;r,..,s9855513XHAG3i .,,,,,,,. ,S931,.,,.;s;s&BHHA8s.,..,..:r:
    * :r;..rGGh, :SAG;;G@BS:.,,,,,,,,,.r83: hHH1sXMBHHHM3..,,,,.ir.
    * ,si,.1GS, sBMAAX&MBMB5,,,,,,:,,.:&8 3@HXHBMBHBBH#X,.,,,,,,rr
    * ;1:,,SH: .A@&&B#&8H#BS,,,,,,,,,.,5XS, 3@MHABM&59M#As..,,,,:,is,
    * .rr,,,;9&1 hBHHBB&8AMGr,,,,,,,,,,,:h&&9s; r9&BMHBHMB9: . .,,,,;ri.
    * :1:....:5&XSi;r8BMBHHA9r:,......,,,,:ii19GG88899XHHH&GSr. ...,:rs.
    * ;s. .:sS8G8GG889hi. ....,,:;:,.:irssrriii:,. ...,,i1,
    * ;1, ..,....,,isssi;, .,,. ....,.i1,
    * ;h: i9HHBMBBHAX9: . ...,,,rs,
    * ,1i.. :A#MBBBBMHB##s ....,,,;si.
    * .r1,.. ,..;3BMBBBHBB#Bh. .. ....,,,,,i1;
    * :h;.. .,..;,1XBMMMMBXs,.,, .. :: ,. ....,,,,,,ss.
    * ih: .. .;;;, ;;:s58A3i,.. ,. ,.:,,. ...,,,,,:,s1,
    * .s1,.... .,;sh, ,iSAXs;. ,. ,,.i85 ...,,,,,,:i1;
    * .rh: ... rXG9XBBM#M#MHAX3hss13&&HHXr .....,,,,,,,ih;
    * .s5: ..... i598X&&A&AAAAAA&XG851r: ........,,,,:,,sh;
    * . ihr, ... . .. ........,,,,,;11:.
    * ,s1i. ... ..,,,..,,,.,,.,,.,.. ........,,.,,.;s5i.
    * .:s1r,...................... ..............;shs,
    * . .:shr:. .... ..............,ishs.
    * .,issr;,... ...........................,is1s;.
    * .,is1si;:,....................,:;ir1sr;,
    * ..:isssssrrii;::::::;;iirsssssr;:..
    * .,::iiirsssssssssrri;;:.
    */
    """

    'huaji':
    'prefix': 'huaji'
    'body': """
    /**
    * .,, .,:;;iiiiiiiii;;:,,. .,,
    * rGB##HS,.;iirrrrriiiiiiiiiirrrrri;,s&##MAS,
    * r5s;:r3AH5iiiii;;;;;;;;;;;;;;;;iiirXHGSsiih1,
    * .;i;;s91;;;;;;::::::::::::;;;;iS5;;;ii:
    * :rsriii;;r::::::::::::::::::::::;;,;;iiirsi,
    * .,iri;;::::;;;;;;::,,,,,,,,,,,,,..,,;;;;;;;;iiri,,.
    * ,9BM&, .,:;;:,,,,,,,,,,,hXA8: ..,,,.
    * ,;&@@#r:;;;;;::::,,. ,r,,,,,,,,,,iA@@@s,,:::;;;::,,. .;.
    * :ih1iii;;;;;::::;;;;;;;:,,,,,,,,,,;i55r;;;;;;;;;iiirrrr,..
    * .ir;;iiiiiiiiii;;;;::::::,,,,,,,:::::,,:;;;iiiiiiiiiiiiri
    * iriiiiiiiiiiiiiiii;;;::::::::::::::::;;;iiiiiiiiiiiiiiiir;
    * ,riii;;;;;;;;;;;;;:::::::::::::::::::::::;;;;;;;;;;;;;;iiir.
    * iri;;;::::,,,,,,,,,,:::::::::::::::::::::::::,::,,::::;;iir:
    * .rii;;::::,,,,,,,,,,,,:::::::::::::::::,,,,,,,,,,,,,::::;;iri
    * ,rii;;;::,,,,,,,,,,,,,:::::::::::,:::::,,,,,,,,,,,,,:::;;;iir.
    * ,rii;;i::,,,,,,,,,,,,,:::::::::::::::::,,,,,,,,,,,,,,::i;;iir.
    * ,rii;;r::,,,,,,,,,,,,,:,:::::,:,:::::::,,,,,,,,,,,,,::;r;;iir.
    * .rii;;rr,:,,,,,,,,,,,,,,:::::::::::::::,,,,,,,,,,,,,:,si;;iri
    * ;rii;:1i,,,,,,,,,,,,,,,,,,:::::::::,,,,,,,,,,,,,,,:,ss:;iir:
    * .rii;;;5r,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,sh:;;iri
    * ;rii;:;51,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.:hh:;;iir,
    * irii;::hSr,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,sSs:;;iir:
    * irii;;:iSSs:.,,,,,,,,,,,,,,,,,,,,,,,,,,,..:135;:;;iir:
    * ;rii;;:,r535r:...,,,,,,,,,,,,,,,,,,..,;sS35i,;;iirr:
    * :rrii;;:,;1S3Shs;:,............,:is533Ss:,;;;iiri,
    * .;rrii;;;:,;rhS393S55hh11hh5S3393Shr:,:;;;iirr:
    * .;rriii;;;::,:;is1h555555h1si;:,::;;;iirri:.
    * .:irrrii;;;;;:::,,,,,,,,:::;;;;iiirrr;,
    * .:irrrriiiiii;;;;;;;;iiiiiirrrr;,.
    * .,:;iirrrrrrrrrrrrrrrrri;:.
    * ..,:::;;;;:::,,.
    */
    """
    3 changes: 3 additions & 0 deletions styles.less
    Original file line number Diff line number Diff line change
    @@ -24,6 +24,9 @@
    atom-text-editor {
    // color: white;
    // background-color: hsl(180, 24%, 12%);
    .invisible-character {
    color: rgba(102, 102, 102, 0.4);
    }
    }

    // style UI elements inside atom-text-editor
  6. canxer314 revised this gist Mar 23, 2018. 3 changed files with 15 additions and 6 deletions.
    9 changes: 8 additions & 1 deletion keymap.cson
    Original file line number Diff line number Diff line change
    @@ -125,6 +125,9 @@
    'space r f' : 'recent-finder:toggle'
    'space f y' : 'editor:copy-project-path'

    # prettier format
    'space c f': 'prettier:format'

    # windows/panes
    'space 1' : 'window:focus-pane-on-left'
    'space 2' : 'window:focus-pane-on-right'
    @@ -187,11 +190,15 @@
    'space t v': 'window:toggle-invisibles'

    # bookmarks
    'space j l': 'bookmarks:view-all'
    'space j m': 'bookmarks:toggle-bookmark'
    'space j c': 'bookmarks:clear-bookmarks'
    'space j n': 'bookmarks:jump-to-next-bookmark'
    'space j p': 'bookmarks:jump-to-previous-bookmark'

    # markdown-preview-enhanced
    'space m p': 'markdown-preview-enhanced:toggle'

    # comments
    # 'g c': 'editor:toggle-line-comments'

    @@ -275,7 +282,7 @@
    # 'ctrl-l': 'editor:scroll-to-cursor'
    # 'ctrl-o': 'editor:newline-above'

    '.command-palette, .fuzzy-finder, .symbols-view, .tool-panel':
    '.command-palette, .fuzzy-finder, .symbols-view, .tool-panel, .bookmarks-view ,.git-palette ,.select-list':
    'ctrl-n': 'core:move-down'
    'ctrl-p': 'core:move-up'

    4 changes: 2 additions & 2 deletions packages.json
    Original file line number Diff line number Diff line change
    @@ -177,7 +177,7 @@
    },
    {
    "name": "file-icons",
    "version": "2.1.17"
    "version": "2.1.18"
    },
    {
    "name": "find-and-replace",
    @@ -569,7 +569,7 @@
    },
    {
    "name": "vim-mode-plus",
    "version": "1.31.0"
    "version": "1.31.1"
    },
    {
    "name": "welcome",
    8 changes: 5 additions & 3 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -54,12 +54,15 @@
    "highlight-selected": {
    "highlightBackground": true
    },
    "keystroke": {},
    "linter": {
    "disabledProviders": [
    "ESLint"
    ]
    },
    "linter-ui-default": {},
    "linter-ui-default": {
    "panelHeight": 139
    },
    "minimap": {
    "adjustMinimapWidthToSoftWrap": false,
    "charHeight": 1,
    @@ -104,6 +107,5 @@
    },
    "welcome": {
    "showOnStartup": false
    },
    "keystroke": {}
    }
    }
  7. canxer314 revised this gist Mar 21, 2018. 4 changed files with 43 additions and 9 deletions.
    18 changes: 16 additions & 2 deletions keymap.cson
    Original file line number Diff line number Diff line change
    @@ -37,6 +37,9 @@
    # recreate emacs bindings
    'ctrl-g': 'core:cancel'

    # regex-railroad-diagram
    # 'ctrl-r ctrl-r': 'regex-railroad-diagram:show'
    'ctrl-r ctrl-r': 'unset!'

    '.platform-win32 atom-text-editor, .platform-linux atom-text-editor':
    # disable default ctrl-k keybindings
    @@ -190,11 +193,18 @@
    'space j p': 'bookmarks:jump-to-previous-bookmark'

    # comments
    'g c': 'editor:toggle-line-comments'
    # 'g c': 'editor:toggle-line-comments'

    # jumpy
    'space j w': 'jumpy:toggle'

    # movement
    'ctrl-h': 'keystroke 5 h'
    'ctrl-j': 'keystroke 5 j'
    'ctrl-k': 'keystroke 5 k'
    'ctrl-l': 'keystroke 5 l'


    # Bindings for 'Narrow' plugin
    'atom-text-editor.vim-mode-plus.normal-mode':
    'space n l': 'narrow:lines'
    @@ -204,6 +214,10 @@
    'space n s s': 'narrow:search'
    'space n c': 'narrow:focus'

    # 'ctrl-h': 'vim-mode-plus:set-count-5 && vim-mode-plus:move-left'
    # 'ctrl-j': 'vim-mode-plus:set-count-5 && vim-mode-plus:move-down'
    # 'ctrl-k': 'vim-mode-plus:set-count-5 && vim-mode-plus:move-up'
    # 'ctrl-l': 'vim-mode-plus:set-count-5 && vim-mode-plus:move-right'
    # 'ctrl-r ctrl-r': 'core:redo'

    # 'atom-text-editor.vim-mode-plus.insert-mode.autocomplete-active':
    @@ -251,7 +265,7 @@

    'ctrl-_': 'core:undo'

    'ctrl-r': 'find-and-replace:show'
    # 'ctrl-r': 'find-and-replace:show'
    'ctrl-s': 'find-and-replace:show'

    # emmet
    12 changes: 10 additions & 2 deletions packages.json
    Original file line number Diff line number Diff line change
    @@ -243,6 +243,10 @@
    "name": "keybinding-resolver",
    "version": "0.38.1"
    },
    {
    "name": "keystroke",
    "version": "0.3.0"
    },
    {
    "name": "language-babel",
    "version": "2.84.0"
    @@ -413,7 +417,7 @@
    },
    {
    "name": "markdown-preview-enhanced",
    "version": "0.15.3"
    "version": "0.15.5"
    },
    {
    "name": "merge-conflicts",
    @@ -497,6 +501,10 @@
    "name": "react-snippets",
    "version": "1.0.1"
    },
    {
    "name": "regex-railroad-diagram",
    "version": "0.19.4"
    },
    {
    "name": "settings-view",
    "version": "0.254.1"
    @@ -561,7 +569,7 @@
    },
    {
    "name": "vim-mode-plus",
    "version": "1.30.1"
    "version": "1.31.0"
    },
    {
    "name": "welcome",
    16 changes: 14 additions & 2 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -88,10 +88,22 @@
    "scrollSyncType": "Vertical + Horizontal"
    },
    "sync-settings": {},
    "todo-show": {
    "ignoreThesePaths": [
    "node_modules",
    "vendor",
    "bower_components",
    "*.pdf static"
    ],
    "sortBy": "Path"
    },
    "vim-mode-plus": {
    "autoDisableInputMethodWhenLeavingInsertMode": true
    "autoDisableInputMethodWhenLeavingInsertMode": true,
    "automaticallyEscapeInsertModeOnActivePaneItemChange": true,
    "statusBarModeStringStyle": "long"
    },
    "welcome": {
    "showOnStartup": false
    }
    },
    "keystroke": {}
    }
    6 changes: 3 additions & 3 deletions snippets.cson
    Original file line number Diff line number Diff line change
    @@ -21,8 +21,8 @@
    # http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson

    '.source.js.jsx':
    'God Bless You!':
    'prefix': 'god'
    'mama love me again':
    'prefix': 'mama'
    'body': "/**\n
    * ,s555SB@@&\n
    * :9H####@@@@@Xi\n
    @@ -57,7 +57,7 @@
    *\n
    *\n
    *\n
    * 又看源码,看你妹啊\n
    * 妈妈再爱我一次\n
    *\n
    *\n
    */"
  8. canxer314 revised this gist Mar 18, 2018. 3 changed files with 131 additions and 60 deletions.
    116 changes: 60 additions & 56 deletions packages.json
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,11 @@
    [
    {
    "name": "about",
    "version": "1.7.8"
    "version": "1.8.0"
    },
    {
    "name": "archive-view",
    "version": "0.64.1"
    "version": "0.64.2"
    },
    {
    "name": "atom-dark-syntax",
    @@ -47,7 +47,7 @@
    },
    {
    "name": "autocomplete-atom-api",
    "version": "0.10.6"
    "version": "0.10.7"
    },
    {
    "name": "autocomplete-css",
    @@ -58,20 +58,20 @@
    "version": "0.8.4"
    },
    {
    "name": "autocomplete-paths",
    "version": "2.12.2"
    "name": "autocomplete-modules",
    "version": "1.12.0"
    },
    {
    "name": "autocomplete-plus",
    "version": "2.40.0"
    "version": "2.40.2"
    },
    {
    "name": "autocomplete-snippets",
    "version": "1.11.2"
    "version": "1.12.0"
    },
    {
    "name": "autoflow",
    "version": "0.29.0"
    "version": "0.29.3"
    },
    {
    "name": "autosave",
    @@ -93,11 +93,11 @@
    },
    {
    "name": "bookmarks",
    "version": "0.45.0"
    "version": "0.45.1"
    },
    {
    "name": "bracket-matcher",
    "version": "0.88.1"
    "version": "0.89.1"
    },
    {
    "name": "busy-signal",
    @@ -119,7 +119,11 @@
    },
    {
    "name": "command-palette",
    "version": "0.43.3"
    "version": "0.43.5"
    },
    {
    "name": "css-declaration-sorter",
    "version": "1.2.0"
    },
    {
    "name": "css-snippets",
    @@ -157,7 +161,7 @@
    },
    {
    "name": "encoding-selector",
    "version": "0.23.7"
    "version": "0.23.8"
    },
    {
    "name": "es6-javascript",
    @@ -169,51 +173,51 @@
    },
    {
    "name": "exception-reporting",
    "version": "0.42.0"
    "version": "0.43.1"
    },
    {
    "name": "file-icons",
    "version": "2.1.17"
    },
    {
    "name": "find-and-replace",
    "version": "0.215.0"
    "version": "0.215.5"
    },
    {
    "name": "fuzzy-finder",
    "version": "1.7.3"
    "version": "1.7.5"
    },
    {
    "name": "git-blame",
    "version": "1.6.0"
    },
    {
    "name": "git-diff",
    "version": "1.3.6"
    "version": "1.3.9"
    },
    {
    "name": "git-plus",
    "version": "7.10.0"
    "version": "7.10.2"
    },
    {
    "name": "git-time-machine",
    "version": "1.5.9"
    },
    {
    "name": "github",
    "version": "0.8.3"
    "version": "0.10.3"
    },
    {
    "name": "go-to-line",
    "version": "0.32.1"
    "version": "0.33.0"
    },
    {
    "name": "goto-definition",
    "version": "1.3.4"
    },
    {
    "name": "grammar-selector",
    "version": "0.49.8"
    "version": "0.49.9"
    },
    {
    "name": "highlight-selected",
    @@ -245,23 +249,23 @@
    },
    {
    "name": "language-c",
    "version": "0.58.1"
    "version": "0.59.2"
    },
    {
    "name": "language-clojure",
    "version": "0.22.5"
    "version": "0.22.7"
    },
    {
    "name": "language-coffee-script",
    "version": "0.49.3"
    },
    {
    "name": "language-csharp",
    "version": "0.14.3"
    "version": "1.0.1"
    },
    {
    "name": "language-css",
    "version": "0.42.8"
    "version": "0.42.10"
    },
    {
    "name": "language-gfm",
    @@ -273,39 +277,39 @@
    },
    {
    "name": "language-go",
    "version": "0.44.4"
    "version": "0.45.2"
    },
    {
    "name": "language-html",
    "version": "0.48.5"
    "version": "0.49.0"
    },
    {
    "name": "language-hyperlink",
    "version": "0.16.3"
    },
    {
    "name": "language-java",
    "version": "0.27.6"
    "version": "0.28.0"
    },
    {
    "name": "language-javascript",
    "version": "0.127.7"
    "version": "0.128.3"
    },
    {
    "name": "language-json",
    "version": "0.19.1"
    },
    {
    "name": "language-less",
    "version": "0.34.1"
    "version": "0.34.2"
    },
    {
    "name": "language-make",
    "version": "0.22.3"
    },
    {
    "name": "language-mustache",
    "version": "0.14.4"
    "version": "0.14.5"
    },
    {
    "name": "language-objective-c",
    @@ -317,15 +321,15 @@
    },
    {
    "name": "language-php",
    "version": "0.43.0"
    "version": "0.43.1"
    },
    {
    "name": "language-property-list",
    "version": "0.9.1"
    },
    {
    "name": "language-python",
    "version": "0.45.6"
    "version": "0.49.2"
    },
    {
    "name": "language-ruby",
    @@ -337,47 +341,47 @@
    },
    {
    "name": "language-sass",
    "version": "0.61.3"
    "version": "0.61.4"
    },
    {
    "name": "language-shellscript",
    "version": "0.25.4"
    "version": "0.26.1"
    },
    {
    "name": "language-source",
    "version": "0.9.0"
    },
    {
    "name": "language-sql",
    "version": "0.25.9"
    "version": "0.25.10"
    },
    {
    "name": "language-text",
    "version": "0.7.3"
    },
    {
    "name": "language-todo",
    "version": "0.29.3"
    "version": "0.29.4"
    },
    {
    "name": "language-toml",
    "version": "0.18.1"
    "version": "0.18.2"
    },
    {
    "name": "language-typescript",
    "version": "0.2.3"
    "version": "0.3.2"
    },
    {
    "name": "language-xml",
    "version": "0.35.2"
    },
    {
    "name": "language-yaml",
    "version": "0.31.1"
    "version": "0.31.2"
    },
    {
    "name": "line-ending-selector",
    "version": "0.7.4"
    "version": "0.7.5"
    },
    {
    "name": "link",
    @@ -409,7 +413,7 @@
    },
    {
    "name": "markdown-preview-enhanced",
    "version": "0.15.2"
    "version": "0.15.3"
    },
    {
    "name": "merge-conflicts",
    @@ -433,30 +437,30 @@
    },
    {
    "name": "narrow",
    "version": "0.64.0"
    "version": "0.65.0"
    },
    {
    "name": "notifications",
    "version": "0.70.2"
    },
    {
    "name": "one-dark-syntax",
    "version": "1.8.1",
    "version": "1.8.2",
    "theme": "syntax"
    },
    {
    "name": "one-dark-ui",
    "version": "1.10.9",
    "version": "1.10.10",
    "theme": "ui"
    },
    {
    "name": "one-light-syntax",
    "version": "1.8.1",
    "version": "1.8.2",
    "theme": "syntax"
    },
    {
    "name": "one-light-ui",
    "version": "1.10.9",
    "version": "1.10.10",
    "theme": "ui"
    },
    {
    @@ -473,7 +477,7 @@
    },
    {
    "name": "prettier-atom",
    "version": "0.51.0"
    "version": "0.52.0"
    },
    {
    "name": "pristine-ui",
    @@ -495,37 +499,37 @@
    },
    {
    "name": "settings-view",
    "version": "0.253.1-0"
    "version": "0.254.1"
    },
    {
    "name": "snippets",
    "version": "1.1.9"
    "version": "1.3.1"
    },
    {
    "name": "solarized-dark-syntax",
    "version": "1.1.3",
    "version": "1.1.4",
    "theme": "syntax"
    },
    {
    "name": "solarized-light-syntax",
    "version": "1.1.3",
    "version": "1.1.4",
    "theme": "syntax"
    },
    {
    "name": "spell-check",
    "version": "0.72.5"
    "version": "0.72.7"
    },
    {
    "name": "status-bar",
    "version": "1.8.15"
    },
    {
    "name": "styleguide",
    "version": "0.49.9"
    "version": "0.49.10"
    },
    {
    "name": "symbols-view",
    "version": "0.118.1"
    "version": "0.118.2"
    },
    {
    "name": "sync-settings",
    @@ -553,11 +557,11 @@
    },
    {
    "name": "update-package-dependencies",
    "version": "0.13.0"
    "version": "0.13.1"
    },
    {
    "name": "vim-mode-plus",
    "version": "1.30.0"
    "version": "1.30.1"
    },
    {
    "name": "welcome",
    33 changes: 29 additions & 4 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,9 @@
    {
    "autocomplete-modules": {},
    "autocomplete-paths": {
    "maxFileCount": 3000
    "ignoreBuiltinScopes": true,
    "ignoreSubmodules": true,
    "maxFileCount": 4500
    },
    "core": {
    "ignoredNames": [
    @@ -25,7 +28,8 @@
    "themes": [
    "pristine-ui",
    "dracula-syntax"
    ]
    ],
    "uriHandlerRegistration": "always"
    },
    "editor": {
    "fontFamily": "Source Code Pro",
    @@ -40,18 +44,25 @@
    "exception-reporting": {
    "userId": "a5c273b4-3d22-4e6c-b829-df406b55a02f"
    },
    "git-blame": {
    "columnWidth": 200
    },
    "git-diff": {},
    "git-plus": {
    "general": {}
    },
    "highlight-selected": {
    "highlightBackground": true
    },
    "linter": {
    "disabledProviders": [
    "ESLint"
    ]
    },
    "linter-ui-default": {},
    "minimap": {
    "absoluteMode": true,
    "adjustMinimapWidthToSoftWrap": false,
    "charHeight": 1,
    "displayPluginsControls": false,
    "plugins": {
    "find-and-replace": true,
    "find-and-replaceDecorationsZIndex": 0,
    @@ -61,7 +72,21 @@
    "highlight-selectedDecorationsZIndex": 0
    }
    },
    "prettier-atom": {
    "formatOnSaveOptions": {},
    "useEslint": true
    },
    "project-manager": {
    "sortBy": "last modified"
    },
    "regex-railroad-diagram": {},
    "split-diff": {
    "diffWords": true,
    "ignoreWhitespace": true,
    "leftEditorColor": "red",
    "rightEditorColor": "green",
    "scrollSyncType": "Vertical + Horizontal"
    },
    "sync-settings": {},
    "vim-mode-plus": {
    "autoDisableInputMethodWhenLeavingInsertMode": true
    42 changes: 42 additions & 0 deletions snippets.cson
    Original file line number Diff line number Diff line change
    @@ -19,3 +19,45 @@
    # 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

    '.source.js.jsx':
    'God Bless You!':
    'prefix': 'god'
    'body': "/**\n
    * ,s555SB@@&\n
    * :9H####@@@@@Xi\n
    * 1@@@@@@@@@@@@@@8\n
    * ,8@@@@@@@@@B@@@@@@8\n
    * :B@@@@X3hi8Bs;B@@@@@Ah,\n
    * ,8i r@@@B: 1S ,M@@@@@@#8;\n
    * 1AB35.i: X@@8 . SGhr ,A@@@@@@@@S\n
    * 1@h31MX8 18Hhh3i .i3r ,A@@@@@@@@@5\n
    * ;@&i,58r5 rGSS: :B@@@@@@@@@@A\n
    * 1#i . 9i hX. .: .5@@@@@@@@@@@1\n
    * sG1, ,G53s. 9#Xi;hS5 3B@@@@@@@B1\n
    * .h8h.,A@@@MXSs, #@H1: 3ssSSX@1\n
    * s ,@@@@@@@@@@@@Xhi, r#@@X1s9M8 .GA981\n
    * ,. rS8H#@@@@@@@@@@#HG51;. .h31i;9@r .8@@@@BS;i;\n
    * .19AXXXAB@@@@@@@@@@@@@@#MHXG893hrX#XGGXM@@@@@@@@@@MS\n
    * s@@MM@@@hsX#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&,\n
    * :GB@#3G@@Brs ,1GM@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B,\n
    * .hM@@@#@@#MX 51 r;iSGAM@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@8\n
    * :3B@@@@@@@@@@@&9@h :Gs .;sSXH@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@:\n
    * s&HA#@@@@@@@@@@@@@@M89A;.8S. ,r3@@@@@@@@@@@@@@@@@@@@@@@@@@@r\n
    * ,13B@@@@@@@@@@@@@@@@@@@5 5B3 ;. ;@@@@@@@@@@@@@@@@@@@@@@@@@@@i\n
    * 5#@@#&@@@@@@@@@@@@@@@@@@9 .39: ;@@@@@@@@@@@@@@@@@@@@@@@@@@@;\n
    * 9@@@X:MM@@@@@@@@@@@@@@@#; ;31. H@@@@@@@@@@@@@@@@@@@@@@@@@@:\n
    * SH#@B9.rM@@@@@@@@@@@@@B :. 3@@@@@@@@@@@@@@@@@@@@@@@@@@5\n
    * ,:. 9@@@@@@@@@@@#HB5 .M@@@@@@@@@@@@@@@@@@@@@@@@@B\n
    * ,ssirhSM@&1;i19911i,. s@@@@@@@@@@@@@@@@@@@@@@@@@@S\n
    * ,,,rHAri1h1rh&@#353Sh: 8@@@@@@@@@@@@@@@@@@@@@@@@@#:\n
    * .A3hH@#5S553&@@#h i:i9S #@@@@@@@@@@@@@@@@@@@@@@@@@A.\n
    *\n
    *\n
    *\n
    *\n
    *\n
    * 又看源码,看你妹啊!\n
    *\n
    *\n
    */"
  9. canxer314 revised this gist Mar 3, 2018. 2 changed files with 10 additions and 13 deletions.
    10 changes: 3 additions & 7 deletions packages.json
    Original file line number Diff line number Diff line change
    @@ -401,7 +401,7 @@
    },
    {
    "name": "linter-ui-default",
    "version": "1.6.10"
    "version": "1.7.1"
    },
    {
    "name": "markdown-preview",
    @@ -433,7 +433,7 @@
    },
    {
    "name": "narrow",
    "version": "0.63.0"
    "version": "0.64.0"
    },
    {
    "name": "notifications",
    @@ -493,10 +493,6 @@
    "name": "react-snippets",
    "version": "1.0.1"
    },
    {
    "name": "regex-railroad-diagram",
    "version": "0.19.4"
    },
    {
    "name": "settings-view",
    "version": "0.253.1-0"
    @@ -561,7 +557,7 @@
    },
    {
    "name": "vim-mode-plus",
    "version": "1.29.0"
    "version": "1.30.0"
    },
    {
    "name": "welcome",
    13 changes: 7 additions & 6 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -29,7 +29,6 @@
    },
    "editor": {
    "fontFamily": "Source Code Pro",
    "invisibles": {},
    "scrollPastEnd": true,
    "showIndentGuide": true,
    "showInvisibles": true,
    @@ -41,8 +40,9 @@
    "exception-reporting": {
    "userId": "a5c273b4-3d22-4e6c-b829-df406b55a02f"
    },
    "git-diff": {
    "showIconsInEditorGutter": true
    "git-diff": {},
    "git-plus": {
    "general": {}
    },
    "highlight-selected": {
    "highlightBackground": true
    @@ -61,10 +61,11 @@
    "highlight-selectedDecorationsZIndex": 0
    }
    },
    "regex-railroad-diagram": {
    "enabled": false
    },
    "regex-railroad-diagram": {},
    "sync-settings": {},
    "vim-mode-plus": {
    "autoDisableInputMethodWhenLeavingInsertMode": true
    },
    "welcome": {
    "showOnStartup": false
    }
  10. canxer314 revised this gist Mar 1, 2018. No changes.
  11. canxer314 revised this gist Mar 1, 2018. 2 changed files with 9 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions packages.json
    Original file line number Diff line number Diff line change
    @@ -391,6 +391,10 @@
    "name": "linter-csslint",
    "version": "2.0.0"
    },
    {
    "name": "linter-eslint",
    "version": "8.4.1"
    },
    {
    "name": "linter-less",
    "version": "2.6.0"
    @@ -467,6 +471,10 @@
    "name": "pigments",
    "version": "0.40.2"
    },
    {
    "name": "prettier-atom",
    "version": "0.51.0"
    },
    {
    "name": "pristine-ui",
    "version": "1.1.11",
    1 change: 1 addition & 0 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -29,6 +29,7 @@
    },
    "editor": {
    "fontFamily": "Source Code Pro",
    "invisibles": {},
    "scrollPastEnd": true,
    "showIndentGuide": true,
    "showInvisibles": true,
  12. canxer314 revised this gist Mar 1, 2018. 2 changed files with 0 additions and 9 deletions.
    8 changes: 0 additions & 8 deletions packages.json
    Original file line number Diff line number Diff line change
    @@ -391,10 +391,6 @@
    "name": "linter-csslint",
    "version": "2.0.0"
    },
    {
    "name": "linter-eslint",
    "version": "8.4.1"
    },
    {
    "name": "linter-less",
    "version": "2.6.0"
    @@ -471,10 +467,6 @@
    "name": "pigments",
    "version": "0.40.2"
    },
    {
    "name": "prettier-atom",
    "version": "0.51.0"
    },
    {
    "name": "pristine-ui",
    "version": "1.1.11",
    1 change: 0 additions & 1 deletion settings.json
    Original file line number Diff line number Diff line change
    @@ -29,7 +29,6 @@
    },
    "editor": {
    "fontFamily": "Source Code Pro",
    "invisibles": {},
    "scrollPastEnd": true,
    "showIndentGuide": true,
    "showInvisibles": true,
  13. canxer314 revised this gist Feb 28, 2018. 3 changed files with 41 additions and 10 deletions.
    6 changes: 3 additions & 3 deletions keymap.cson
    Original file line number Diff line number Diff line change
    @@ -192,6 +192,8 @@
    # comments
    'g c': 'editor:toggle-line-comments'

    # jumpy
    'space j w': 'jumpy:toggle'

    # Bindings for 'Narrow' plugin
    'atom-text-editor.vim-mode-plus.normal-mode':
    @@ -281,6 +283,4 @@
    # TODO merge keybinding below to initScript
    # 'ctrl-a': 'editor:move-to-beginning-of-line'
    # 'ctrl-e': 'editor:move-to-end-of-screen-line'

    'atom-text-editor:not(.mini).vim-mode-plus:not(.insert-mode):not(.jumpy-jump-mode), .tree-view':
    'f': 'jumpy:toggle' # 'ctrl-d': 'core:delete'
    # 'ctrl-d': 'core:delete'
    34 changes: 34 additions & 0 deletions packages.json
    Original file line number Diff line number Diff line change
    @@ -31,6 +31,16 @@
    "version": "0.46.1",
    "theme": "ui"
    },
    {
    "name": "atom-material-syntax",
    "version": "1.0.8",
    "theme": "syntax"
    },
    {
    "name": "atom-material-ui",
    "version": "2.1.3",
    "theme": "ui"
    },
    {
    "name": "atom-ternjs",
    "version": "0.18.3"
    @@ -93,6 +103,16 @@
    "name": "busy-signal",
    "version": "1.4.3"
    },
    {
    "name": "city-lights-syntax",
    "version": "1.1.8",
    "theme": "syntax"
    },
    {
    "name": "city-lights-ui",
    "version": "1.3.3",
    "theme": "ui"
    },
    {
    "name": "color-picker",
    "version": "2.2.5"
    @@ -122,6 +142,11 @@
    "version": "2.0.6",
    "theme": "syntax"
    },
    {
    "name": "dracula-ui",
    "version": "0.6.0",
    "theme": "ui"
    },
    {
    "name": "emmet",
    "version": "2.4.3"
    @@ -459,10 +484,19 @@
    "name": "project-manager",
    "version": "3.3.5"
    },
    {
    "name": "pure-syntax",
    "version": "0.3.0",
    "theme": "syntax"
    },
    {
    "name": "react-snippets",
    "version": "1.0.1"
    },
    {
    "name": "regex-railroad-diagram",
    "version": "0.19.4"
    },
    {
    "name": "settings-view",
    "version": "0.253.1-0"
    11 changes: 4 additions & 7 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,6 @@
    "autocomplete-paths": {
    "maxFileCount": 3000
    },
    "autocomplete-plus": {},
    "core": {
    "ignoredNames": [
    ".git",
    @@ -31,6 +30,7 @@
    "editor": {
    "fontFamily": "Source Code Pro",
    "invisibles": {},
    "scrollPastEnd": true,
    "showIndentGuide": true,
    "showInvisibles": true,
    "softWrap": true,
    @@ -41,16 +41,14 @@
    "exception-reporting": {
    "userId": "a5c273b4-3d22-4e6c-b829-df406b55a02f"
    },
    "git-diff": {},
    "git-plus": {
    "general": {}
    "git-diff": {
    "showIconsInEditorGutter": true
    },
    "goto-definition": {},
    "highlight-selected": {
    "highlightBackground": true
    },
    "linter-ui-default": {},
    "minimap": {
    "absoluteMode": true,
    "adjustMinimapWidthToSoftWrap": false,
    "charHeight": 1,
    "displayPluginsControls": false,
    @@ -67,7 +65,6 @@
    "enabled": false
    },
    "sync-settings": {},
    "tabs": {},
    "welcome": {
    "showOnStartup": false
    }
  14. canxer314 revised this gist Feb 28, 2018. 3 changed files with 8 additions and 4 deletions.
    4 changes: 3 additions & 1 deletion keymap.cson
    Original file line number Diff line number Diff line change
    @@ -281,4 +281,6 @@
    # TODO merge keybinding below to initScript
    # 'ctrl-a': 'editor:move-to-beginning-of-line'
    # 'ctrl-e': 'editor:move-to-end-of-screen-line'
    # 'ctrl-d': 'core:delete'

    'atom-text-editor:not(.mini).vim-mode-plus:not(.insert-mode):not(.jumpy-jump-mode), .tree-view':
    'f': 'jumpy:toggle' # 'ctrl-d': 'core:delete'
    4 changes: 4 additions & 0 deletions packages.json
    Original file line number Diff line number Diff line change
    @@ -206,6 +206,10 @@
    "name": "intentions",
    "version": "1.1.5"
    },
    {
    "name": "jumpy",
    "version": "4.2.0"
    },
    {
    "name": "keybinding-resolver",
    "version": "0.38.1"
    4 changes: 1 addition & 3 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -45,9 +45,7 @@
    "git-plus": {
    "general": {}
    },
    "goto-definition": {
    "performanceMode": true
    },
    "goto-definition": {},
    "highlight-selected": {
    "highlightBackground": true
    },
  15. canxer314 revised this gist Feb 28, 2018. No changes.
  16. canxer314 revised this gist Feb 28, 2018. 2 changed files with 49 additions and 18 deletions.
    60 changes: 43 additions & 17 deletions keymap.cson
    Original file line number Diff line number Diff line change
    @@ -44,18 +44,18 @@

    'body':
    # disable default ctrl-k keybindings
    "ctrl-k up": "unset!"
    "ctrl-k down": "unset!"
    "ctrl-k left": "unset!"
    "ctrl-k right": "unset!"
    "ctrl-k ctrl-w": "unset!"
    "ctrl-k alt-ctrl-w": "unset!"
    "ctrl-k ctrl-p": "unset!"
    "ctrl-k ctrl-n": "unset!"
    "ctrl-k ctrl-up": "unset!"
    "ctrl-k ctrl-down": "unset!"
    "ctrl-k ctrl-left": "unset!"
    "ctrl-k ctrl-right": "unset!"
    'ctrl-k up': 'unset!'
    'ctrl-k down': 'unset!'
    'ctrl-k left': 'unset!'
    'ctrl-k right': 'unset!'
    'ctrl-k ctrl-w': 'unset!'
    'ctrl-k alt-ctrl-w': 'unset!'
    'ctrl-k ctrl-p': 'unset!'
    'ctrl-k ctrl-n': 'unset!'
    'ctrl-k ctrl-up': 'unset!'
    'ctrl-k ctrl-down': 'unset!'
    'ctrl-k ctrl-left': 'unset!'
    'ctrl-k ctrl-right': 'unset!'

    # recreate emacs bindings
    'ctrl-x ctrl-l': 'editor:lower-case'
    @@ -77,6 +77,9 @@
    'ctrl-x ctrl-f': 'fuzzy-finder:toggle-file-finder'
    'ctrl-x o': 'window:focus-next-pane'

    # file and command palette
    'ctrl-q': 'find-and-replace:select-next'


    'atom-workspace atom-text-editor':
    # disable default ctrl-k keybindings
    @@ -118,7 +121,6 @@
    # 'space f r' : 'find-and-replace:show'
    'space r f' : 'recent-finder:toggle'
    'space f y' : 'editor:copy-project-path'
    'ctrl-q': 'find-and-replace:select-next'

    # windows/panes
    'space 1' : 'window:focus-pane-on-left'
    @@ -217,7 +219,11 @@
    'alt-m': 'editor:move-to-first-character-of-line'
    'ctrl-d': 'core:delete'
    'alt-d': 'editor:delete-to-end-of-word'
    'alt-backspace': 'editor:delete-to-beginning-of-word'
    'ctrl-k': 'editor:delete-to-end-of-line'
    'ctrl-/': 'core:undo'
    'alt-/': 'core:redo'

    'alt-g alt-g': 'go-to-line:toggle'

    'alt-w': 'core:copy'
    @@ -232,7 +238,6 @@

    'alt-<': 'core:move-to-top'
    'alt->': 'core:move-to-bottom'
    'alt-backspace': 'editor:delete-to-beginning-of-word'
    'ctrl-shift-backspace': 'editor:delete-line'
    'ctrl-j': 'editor:newline'
    'ctrl-t': 'editor:transpose'
    @@ -243,16 +248,37 @@
    'ctrl-v': 'core:page-down'

    'ctrl-_': 'core:undo'
    'ctrl-/': 'core:undo'
    'alt-/': 'core:redo'

    'ctrl-r': 'find-and-replace:show'
    'ctrl-s': 'find-and-replace:show'

    # emmet
    'ctrl-m': 'emmet:expand-abbreviation'

    # disabled because the semantics are slightly different than emacs
    # 'ctrl-l': 'editor:scroll-to-cursor'
    # 'ctrl-o': 'editor:newline-above'

    '.command-palette, .fuzzy-finder, .symbols-view':
    '.command-palette, .fuzzy-finder, .symbols-view, .tool-panel':
    'ctrl-n': 'core:move-down'
    'ctrl-p': 'core:move-up'

    'ctrl-b': 'core:move-left'
    'ctrl-f': 'core:move-right'
    'alt-b': 'editor:move-to-beginning-of-word'
    'alt-f': 'editor:move-to-end-of-word'
    'alt-e': 'editor:move-to-end-of-word'
    'alt-m': 'editor:move-to-first-character-of-line'
    'alt-d': 'editor:delete-to-end-of-word'
    'alt-backspace': 'editor:delete-to-beginning-of-word'
    'ctrl-k': 'editor:delete-to-end-of-line'
    'ctrl-/': 'core:undo'
    'alt-/': 'core:redo'
    'alt-w': 'core:copy'
    'ctrl-w': 'core:cut'
    'ctrl-y': 'core:paste'

    # TODO merge keybinding below to initScript
    # 'ctrl-a': 'editor:move-to-beginning-of-line'
    # 'ctrl-e': 'editor:move-to-end-of-screen-line'
    # 'ctrl-d': 'core:delete'
    7 changes: 6 additions & 1 deletion settings.json
    Original file line number Diff line number Diff line change
    @@ -17,7 +17,9 @@
    "packagesWithKeymapsDisabled": [
    "fuzzy-finder",
    "git-blame",
    "minimap"
    "minimap",
    "goto-definition",
    "es6-javascript"
    ],
    "projectHome": "D:\\JsDev\\",
    "telemetryConsent": "no",
    @@ -43,6 +45,9 @@
    "git-plus": {
    "general": {}
    },
    "goto-definition": {
    "performanceMode": true
    },
    "highlight-selected": {
    "highlightBackground": true
    },
  17. canxer314 revised this gist Feb 28, 2018. 1 changed file with 9 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions styles.less
    Original file line number Diff line number Diff line change
    @@ -41,3 +41,12 @@ atom-text-editor .cursor {
    atom-text-editor.vim-mode-plus.visual-mode.is-focused .region {
    background: rgba(255, 0, 0, 0.65);
    }

    .tree-view:not(.nuclide-file-tree) .selected:before {
    position: absolute;
    background: rgba(69, 95, 251, 0.8);
    // border: 2px dotted #455ffb;
    margin-left: -100%;
    margin-right: -10px;
    z-index: -1;
    }
  18. canxer314 revised this gist Feb 27, 2018. 2 changed files with 23 additions and 19 deletions.
    41 changes: 22 additions & 19 deletions keymap.cson
    Original file line number Diff line number Diff line change
    @@ -57,6 +57,27 @@
    "ctrl-k ctrl-left": "unset!"
    "ctrl-k ctrl-right": "unset!"

    # recreate emacs bindings
    'ctrl-x ctrl-l': 'editor:lower-case'
    'ctrl-x ctrl-u': 'editor:upper-case'
    'ctrl-x h': 'core:select-all'

    'alt-x': 'command-palette:toggle'
    'ctrl-g': 'core:cancel'
    'ctrl-x s': 'window:save-all'
    'ctrl-x k': 'core:close'
    'ctrl-x ctrl-c': 'core:close'
    'ctrl-x ctrl-s': 'core:save'

    'ctrl-x 0': 'pane:close'
    'ctrl-x 1': 'pane:close-other-items'
    'ctrl-x 2': 'pane:split-down'
    'ctrl-x 3': 'pane:split-right'
    'ctrl-x b': 'fuzzy-finder:toggle-buffer-finder'
    'ctrl-x ctrl-f': 'fuzzy-finder:toggle-file-finder'
    'ctrl-x o': 'window:focus-next-pane'


    'atom-workspace atom-text-editor':
    # disable default ctrl-k keybindings
    "ctrl-k ctrl-u": "unset!"
    @@ -190,6 +211,7 @@
    'ctrl-p': 'core:move-up'
    'alt-b': 'editor:move-to-beginning-of-word'
    'alt-f': 'editor:move-to-end-of-word'
    'alt-e': 'editor:move-to-end-of-word'
    'ctrl-a': 'editor:move-to-beginning-of-line'
    'ctrl-e': 'editor:move-to-end-of-screen-line'
    'alt-m': 'editor:move-to-first-character-of-line'
    @@ -227,25 +249,6 @@
    'ctrl-r': 'find-and-replace:show'
    'ctrl-s': 'find-and-replace:show'

    'ctrl-x ctrl-l': 'editor:lower-case'
    'ctrl-x ctrl-u': 'editor:upper-case'
    'ctrl-x h': 'core:select-all'

    'alt-x': 'command-palette:toggle'
    'ctrl-g': 'core:cancel'
    'ctrl-x s': 'window:save-all'
    'ctrl-x k': 'core:close'
    'ctrl-x ctrl-c': 'core:close'
    'ctrl-x ctrl-s': 'core:save'

    'ctrl-x 0': 'pane:close'
    'ctrl-x 1': 'pane:close-other-items'
    'ctrl-x 2': 'pane:split-down'
    'ctrl-x 3': 'pane:split-right'
    'ctrl-x b': 'fuzzy-finder:toggle-buffer-finder'
    'ctrl-x ctrl-f': 'fuzzy-finder:toggle-file-finder'
    'ctrl-x o': 'window:focus-next-pane'

    # disabled because the semantics are slightly different than emacs
    # 'ctrl-l': 'editor:scroll-to-cursor'
    # 'ctrl-o': 'editor:newline-above'
    1 change: 1 addition & 0 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -64,6 +64,7 @@
    "enabled": false
    },
    "sync-settings": {},
    "tabs": {},
    "welcome": {
    "showOnStartup": false
    }
  19. canxer314 revised this gist Feb 27, 2018. 2 changed files with 125 additions and 13 deletions.
    127 changes: 114 additions & 13 deletions keymap.cson
    Original file line number Diff line number Diff line change
    @@ -31,6 +31,50 @@
    # 'body':
    # http://flight-manual.atom.io/using-atom/sections/basic-customization/#configuring-with-cson

    'body.platform-darwin, body.platform-win32, body.platform-linux':
    # disable default ctrl-k keybindings
    'ctrl-k ctrl-b': 'unset!'
    # recreate emacs bindings
    'ctrl-g': 'core:cancel'


    '.platform-win32 atom-text-editor, .platform-linux atom-text-editor':
    # disable default ctrl-k keybindings
    'ctrl-k ctrl-d': 'unset!'

    'body':
    # disable default ctrl-k keybindings
    "ctrl-k up": "unset!"
    "ctrl-k down": "unset!"
    "ctrl-k left": "unset!"
    "ctrl-k right": "unset!"
    "ctrl-k ctrl-w": "unset!"
    "ctrl-k alt-ctrl-w": "unset!"
    "ctrl-k ctrl-p": "unset!"
    "ctrl-k ctrl-n": "unset!"
    "ctrl-k ctrl-up": "unset!"
    "ctrl-k ctrl-down": "unset!"
    "ctrl-k ctrl-left": "unset!"
    "ctrl-k ctrl-right": "unset!"

    'atom-workspace atom-text-editor':
    # disable default ctrl-k keybindings
    "ctrl-k ctrl-u": "unset!"
    "ctrl-k ctrl-l": "unset!"

    "atom-workspace atom-text-editor:not([mini])":
    # disable default ctrl-k keybindings
    "ctrl-k ctrl-0": "unset!"
    "ctrl-k ctrl-1": "unset!"
    "ctrl-k ctrl-2": "unset!"
    "ctrl-k ctrl-3": "unset!"
    "ctrl-k ctrl-4": "unset!"
    "ctrl-k ctrl-5": "unset!"
    "ctrl-k ctrl-6": "unset!"
    "ctrl-k ctrl-7": "unset!"
    "ctrl-k ctrl-8": "unset!"
    "ctrl-k ctrl-9": "unset!"

    'background-tips, .tree-view, atom-text-editor.vim-mode-plus:not(.insert-mode)':
    # core app stuff
    'space f s': 'core:save'
    @@ -45,14 +89,15 @@
    # 'space space': 'easy-motion-redux:words_starting'
    'space space' : 'command-palette:toggle'
    'space b b' : 'fuzzy-finder:toggle-buffer-finder'
    # 'space b f' : 'fuzzy-finder:toggle-buffer-finder'
    'space b f' : 'find-and-replace:show'
    'space g f' : 'fuzzy-finder:toggle-git-status-finder'
    'space s a p': 'fuzzy-grep:toggle'
    'space s s' : 'fuzzy-grep:toggleLastSearch'
    'space f f' : 'fuzzy-finder:toggle-file-finder'
    'space p f' : 'fuzzy-finder:toggle-file-finder'
    'space f r' : 'recent-finder:toggle'
    # 'space f r' : 'find-and-replace:show'
    'space r f' : 'recent-finder:toggle'
    'space f y' : 'editor:copy-project-path'
    'ctrl-q': 'find-and-replace:select-next'

    # windows/panes
    'space 1' : 'window:focus-pane-on-left'
    @@ -93,7 +138,6 @@
    'space g b' : 'git-blame:toggle'
    'space g c' : 'git-plus:commit'
    'space g e' : 'find-and-replace:select-all'
    'ctrl-q': 'find-and-replace:select-next'
    'space g h n': 'git-diff:move-to-next-diff'
    'space g h p': 'git-diff:move-to-previous-diff'
    'space g h l': 'git-diff:toggle-diff-list'
    @@ -122,8 +166,9 @@
    'space j n': 'bookmarks:jump-to-next-bookmark'
    'space j p': 'bookmarks:jump-to-previous-bookmark'

    # misc actions
    # 'space g q' : 'autoflow:reflow-selection''.platform-win32 atom-text-editor':
    # comments
    'g c': 'editor:toggle-line-comments'


    # Bindings for 'Narrow' plugin
    'atom-text-editor.vim-mode-plus.normal-mode':
    @@ -134,20 +179,76 @@
    'space n s s': 'narrow:search'
    'space n c': 'narrow:focus'

    # 'ctrl-r ctrl-r': 'vim-mode-plus:redo'
    # 'ctrl-r ctrl-r': 'core:redo'

    # 'atom-text-editor.vim-mode-plus.insert-mode.autocomplete-active':
    'atom-text-editor.vim-mode-plus.insert-mode':
    # recreate emacs bindings
    'ctrl-b': 'core:move-left'
    'ctrl-f': 'core:move-right'
    'ctrl-n': 'core:move-down'
    'ctrl-p': 'core:move-up'
    'alt-f': 'vim-mode-plus:move-to-next-word'
    'alt-b': 'vim-mode-plus:move-to-previous-word'
    'alt-d': 'editor:delete-to-end-of-subword'
    'ctrl-d': 'vim-mode-plus:delete-right'
    'ctrl-a': 'vim-mode-plus:move-to-beginning-of-line'
    'ctrl-k': 'vim-mode-plus:delete-to-last-character-of-line'
    'alt-b': 'editor:move-to-beginning-of-word'
    'alt-f': 'editor:move-to-end-of-word'
    'ctrl-a': 'editor:move-to-beginning-of-line'
    'ctrl-e': 'editor:move-to-end-of-screen-line'
    'alt-m': 'editor:move-to-first-character-of-line'
    'ctrl-d': 'core:delete'
    'alt-d': 'editor:delete-to-end-of-word'
    'ctrl-k': 'editor:delete-to-end-of-line'
    'alt-g alt-g': 'go-to-line:toggle'

    'alt-w': 'core:copy'
    'ctrl-w': 'core:cut'
    'ctrl-y': 'core:paste'

    'alt-;': 'editor:toggle-line-comments'
    'alt-.': 'symbols-view:toggle-file-symbols'
    'alt-{': 'editor:move-to-beginning-of-previous-paragraph'
    'alt-}': 'editor:move-to-beginning-of-next-paragraph'
    # 'alt-/': 'autocomplete:toggle'

    'alt-<': 'core:move-to-top'
    'alt->': 'core:move-to-bottom'
    'alt-backspace': 'editor:delete-to-beginning-of-word'
    'ctrl-shift-backspace': 'editor:delete-line'
    'ctrl-j': 'editor:newline'
    'ctrl-t': 'editor:transpose'

    'alt-q': 'autoflow:reflow-selection'

    'alt-v': 'core:page-up'
    'ctrl-v': 'core:page-down'

    'ctrl-_': 'core:undo'
    'ctrl-/': 'core:undo'
    'alt-/': 'core:redo'

    'ctrl-r': 'find-and-replace:show'
    'ctrl-s': 'find-and-replace:show'

    'ctrl-x ctrl-l': 'editor:lower-case'
    'ctrl-x ctrl-u': 'editor:upper-case'
    'ctrl-x h': 'core:select-all'

    'alt-x': 'command-palette:toggle'
    'ctrl-g': 'core:cancel'
    'ctrl-x s': 'window:save-all'
    'ctrl-x k': 'core:close'
    'ctrl-x ctrl-c': 'core:close'
    'ctrl-x ctrl-s': 'core:save'

    'ctrl-x 0': 'pane:close'
    'ctrl-x 1': 'pane:close-other-items'
    'ctrl-x 2': 'pane:split-down'
    'ctrl-x 3': 'pane:split-right'
    'ctrl-x b': 'fuzzy-finder:toggle-buffer-finder'
    'ctrl-x ctrl-f': 'fuzzy-finder:toggle-file-finder'
    'ctrl-x o': 'window:focus-next-pane'

    # disabled because the semantics are slightly different than emacs
    # 'ctrl-l': 'editor:scroll-to-cursor'
    # 'ctrl-o': 'editor:newline-above'

    '.command-palette, .fuzzy-finder, .symbols-view':
    'ctrl-n': 'core:move-down'
    11 changes: 11 additions & 0 deletions styles.less
    Original file line number Diff line number Diff line change
    @@ -30,3 +30,14 @@ atom-text-editor {
    atom-text-editor .cursor {
    // border-color: red;
    }

    .bracket-matcher .region {
    border-bottom: 2px solid red !important;
    // border: 1px dotted lime;
    position: absolute;
    // background-color: rgba(255, 0, 0, 0.65);
    }

    atom-text-editor.vim-mode-plus.visual-mode.is-focused .region {
    background: rgba(255, 0, 0, 0.65);
    }
  20. canxer314 revised this gist Feb 26, 2018. 2 changed files with 8 additions and 4 deletions.
    9 changes: 6 additions & 3 deletions keymap.cson
    Original file line number Diff line number Diff line change
    @@ -90,14 +90,17 @@
    # git commands
    'space g s' : 'git-plus:status'
    'space g a' : 'git-plus:add'
    'space g c' : 'git-plus:commit'
    'space g b' : 'git-blame:toggle'
    'space g c' : 'git-plus:commit'
    'space g e' : 'find-and-replace:select-all'
    'ctrl-q': 'find-and-replace:select-next'
    'space g h n': 'git-diff:move-to-next-diff'
    'space g h p': 'git-diff:move-to-previous-diff'
    'space g h l': 'git-diff:toggle-diff-list'
    'space g g' : 'git-plus:menu'
    'space g d' : 'git-plus:diff'
    'space g t' : 'git-time-machine:toggle'
    'space g q' : 'goto-definition:go'

    # lint / annotations
    'space e n' : 'linter:next-error'
    @@ -120,7 +123,7 @@
    'space j p': 'bookmarks:jump-to-previous-bookmark'

    # misc actions
    # 'space g q' : 'autoflow:reflow-selection'
    # 'space g q' : 'autoflow:reflow-selection''.platform-win32 atom-text-editor':

    # Bindings for 'Narrow' plugin
    'atom-text-editor.vim-mode-plus.normal-mode':
    @@ -146,6 +149,6 @@
    'ctrl-a': 'vim-mode-plus:move-to-beginning-of-line'
    'ctrl-k': 'vim-mode-plus:delete-to-last-character-of-line'

    '.command-palette, .fuzzy-finder':
    '.command-palette, .fuzzy-finder, .symbols-view':
    'ctrl-n': 'core:move-down'
    'ctrl-p': 'core:move-up'
    3 changes: 2 additions & 1 deletion settings.json
    Original file line number Diff line number Diff line change
    @@ -48,8 +48,9 @@
    },
    "linter-ui-default": {},
    "minimap": {
    "absoluteMode": true,
    "adjustMinimapWidthToSoftWrap": false,
    "charHeight": 1,
    "displayPluginsControls": false,
    "plugins": {
    "find-and-replace": true,
    "find-and-replaceDecorationsZIndex": 0,
  21. canxer314 revised this gist Feb 26, 2018. No changes.
  22. canxer314 revised this gist Feb 26, 2018. 3 changed files with 3 additions and 4 deletions.
    2 changes: 2 additions & 0 deletions keymap.cson
    Original file line number Diff line number Diff line change
    @@ -131,6 +131,8 @@
    'space n s s': 'narrow:search'
    'space n c': 'narrow:focus'

    # 'ctrl-r ctrl-r': 'vim-mode-plus:redo'

    # 'atom-text-editor.vim-mode-plus.insert-mode.autocomplete-active':
    'atom-text-editor.vim-mode-plus.insert-mode':
    'ctrl-b': 'core:move-left'
    4 changes: 0 additions & 4 deletions packages.json
    Original file line number Diff line number Diff line change
    @@ -459,10 +459,6 @@
    "name": "react-snippets",
    "version": "1.0.1"
    },
    {
    "name": "regex-railroad-diagram",
    "version": "0.19.4"
    },
    {
    "name": "settings-view",
    "version": "0.253.1-0"
    1 change: 1 addition & 0 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -46,6 +46,7 @@
    "highlight-selected": {
    "highlightBackground": true
    },
    "linter-ui-default": {},
    "minimap": {
    "absoluteMode": true,
    "charHeight": 1,
  23. canxer314 revised this gist Feb 26, 2018. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -39,8 +39,9 @@
    "exception-reporting": {
    "userId": "a5c273b4-3d22-4e6c-b829-df406b55a02f"
    },
    "git-diff": {
    "showIconsInEditorGutter": true
    "git-diff": {},
    "git-plus": {
    "general": {}
    },
    "highlight-selected": {
    "highlightBackground": true
  24. canxer314 revised this gist Feb 26, 2018. 3 changed files with 61 additions and 21 deletions.
    51 changes: 33 additions & 18 deletions keymap.cson
    Original file line number Diff line number Diff line change
    @@ -28,7 +28,7 @@
    #
    # This file uses CoffeeScript Object Notation (CSON).
    # If you are unfamiliar with CSON, you can read more about it in the
    # Atom Flight Manual:
    # 'body':
    # http://flight-manual.atom.io/using-atom/sections/basic-customization/#configuring-with-cson

    'background-tips, .tree-view, atom-text-editor.vim-mode-plus:not(.insert-mode)':
    @@ -42,9 +42,10 @@
    'space a s': 'application:show-settings'

    # file and command palette
    'space :' : 'command-palette:toggle'
    # 'space space': 'easy-motion-redux:words_starting'
    'space space' : 'command-palette:toggle'
    'space b b' : 'fuzzy-finder:toggle-buffer-finder'
    'space b f' : 'fuzzy-finder:toggle-buffer-finder'
    # 'space b f' : 'fuzzy-finder:toggle-buffer-finder'
    'space g f' : 'fuzzy-finder:toggle-git-status-finder'
    'space s a p': 'fuzzy-grep:toggle'
    'space s s' : 'fuzzy-grep:toggleLastSearch'
    @@ -60,18 +61,16 @@
    'space b p': 'pane:show-previous-item' # 'butter preview'

    'space w w': 'window:focus-next-pane'
    'space w H': 'paner:split-left'
    'space w J': 'paner:split-down'
    'space w K': 'paner:split-up'
    'space w L': 'paner:split-right'
    'space w v': 'paner:split-right'
    'space w H': 'pane:split-left-and-copy-active-item'
    'space w J': 'pane:split-down-and-copy-active-item'
    'space w K': 'pane:split-up-and-copy-active-item'
    'space w L': 'pane:split-right-and-copy-active-item'
    'space w v': 'pane:split-right-and-copy-active-item'
    'space w c': 'pane:close' # 'window close' ('vim' window)
    'space w x': 'paner:swap-item'
    'space w X': 'paner:send-item'
    'space w k': 'paner:very-top'
    'space w j': 'paner:very-bottom'
    'space w h': 'paner:very-left'
    'space w l': 'paner:very-right'
    'space w k': 'window:focus-pane-above'
    'space w j': 'window:focus-pane-below'
    'space w h': 'window:focus-pane-on-left'
    'space w l': 'window:focus-pane-on-right'
    'space w enter': 'vim-mode-plus:maximize-pane'

    'space s c': 'window:close' # 'screen close'
    @@ -92,7 +91,7 @@
    'space g s' : 'git-plus:status'
    'space g a' : 'git-plus:add'
    'space g c' : 'git-plus:commit'
    'space g b' : 'blame:toggle'
    'space g b' : 'git-blame:toggle'
    'space g h n': 'git-diff:move-to-next-diff'
    'space g h p': 'git-diff:move-to-previous-diff'
    'space g h l': 'git-diff:toggle-diff-list'
    @@ -105,7 +104,7 @@
    'space e p' : 'linter:previous-error'
    'space e N' : 'linter:previous-error'
    'space e e' : 'linter:lint'
    'space t m f': 'linter:toggle'
    # 'space t m f': 'linter:toggle'
    'space e t' : 'linter:toggle'

    # editor view options
    @@ -121,8 +120,7 @@
    'space j p': 'bookmarks:jump-to-previous-bookmark'

    # misc actions
    'space g q' : 'autoflow:reflow-selection'
    'space space': 'easy-motion-redux:words_starting'
    # 'space g q' : 'autoflow:reflow-selection'

    # Bindings for 'Narrow' plugin
    'atom-text-editor.vim-mode-plus.normal-mode':
    @@ -132,3 +130,20 @@
    'space n s c': 'narrow:search-current-project'
    'space n s s': 'narrow:search'
    'space n c': 'narrow:focus'

    # 'atom-text-editor.vim-mode-plus.insert-mode.autocomplete-active':
    'atom-text-editor.vim-mode-plus.insert-mode':
    'ctrl-b': 'core:move-left'
    'ctrl-f': 'core:move-right'
    'ctrl-n': 'core:move-down'
    'ctrl-p': 'core:move-up'
    'alt-f': 'vim-mode-plus:move-to-next-word'
    'alt-b': 'vim-mode-plus:move-to-previous-word'
    'alt-d': 'editor:delete-to-end-of-subword'
    'ctrl-d': 'vim-mode-plus:delete-right'
    'ctrl-a': 'vim-mode-plus:move-to-beginning-of-line'
    'ctrl-k': 'vim-mode-plus:delete-to-last-character-of-line'

    '.command-palette, .fuzzy-finder':
    'ctrl-n': 'core:move-down'
    'ctrl-p': 'core:move-up'
    12 changes: 10 additions & 2 deletions packages.json
    Original file line number Diff line number Diff line change
    @@ -17,6 +17,10 @@
    "version": "0.53.1",
    "theme": "ui"
    },
    {
    "name": "atom-fuzzy-grep",
    "version": "0.17.2"
    },
    {
    "name": "atom-light-syntax",
    "version": "0.29.0",
    @@ -154,6 +158,10 @@
    "name": "fuzzy-finder",
    "version": "1.7.3"
    },
    {
    "name": "git-blame",
    "version": "1.6.0"
    },
    {
    "name": "git-diff",
    "version": "1.3.6"
    @@ -396,7 +404,7 @@
    },
    {
    "name": "narrow",
    "version": "0.62.1"
    "version": "0.63.0"
    },
    {
    "name": "notifications",
    @@ -519,7 +527,7 @@
    },
    {
    "name": "vim-mode-plus",
    "version": "1.28.1"
    "version": "1.29.0"
    },
    {
    "name": "welcome",
    19 changes: 18 additions & 1 deletion settings.json
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,7 @@
    "autocomplete-paths": {
    "maxFileCount": 3000
    },
    "autocomplete-plus": {},
    "core": {
    "ignoredNames": [
    ".git",
    @@ -13,6 +14,11 @@
    "desktop.ini",
    "node_modules"
    ],
    "packagesWithKeymapsDisabled": [
    "fuzzy-finder",
    "git-blame",
    "minimap"
    ],
    "projectHome": "D:\\JsDev\\",
    "telemetryConsent": "no",
    "themes": [
    @@ -36,7 +42,12 @@
    "git-diff": {
    "showIconsInEditorGutter": true
    },
    "highlight-selected": {
    "highlightBackground": true
    },
    "minimap": {
    "absoluteMode": true,
    "charHeight": 1,
    "plugins": {
    "find-and-replace": true,
    "find-and-replaceDecorationsZIndex": 0,
    @@ -46,5 +57,11 @@
    "highlight-selectedDecorationsZIndex": 0
    }
    },
    "sync-settings": {}
    "regex-railroad-diagram": {
    "enabled": false
    },
    "sync-settings": {},
    "welcome": {
    "showOnStartup": false
    }
    }
  25. canxer314 revised this gist Feb 26, 2018. 3 changed files with 126 additions and 34 deletions.
    102 changes: 102 additions & 0 deletions keymap.cson
    Original file line number Diff line number Diff line change
    @@ -30,3 +30,105 @@
    # 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

    'background-tips, .tree-view, atom-text-editor.vim-mode-plus:not(.insert-mode)':
    # core app stuff
    'space f s': 'core:save'
    'space b d': 'core:close' # buffer delete
    'space b c': 'core:close' # buffer close
    'space q q': 'application:quit'
    'space a k': 'application:open-your-keymap'
    'space a r': 'window:reload'
    'space a s': 'application:show-settings'

    # file and command palette
    'space :' : 'command-palette:toggle'
    'space b b' : 'fuzzy-finder:toggle-buffer-finder'
    'space b f' : 'fuzzy-finder:toggle-buffer-finder'
    'space g f' : 'fuzzy-finder:toggle-git-status-finder'
    'space s a p': 'fuzzy-grep:toggle'
    'space s s' : 'fuzzy-grep:toggleLastSearch'
    'space f f' : 'fuzzy-finder:toggle-file-finder'
    'space p f' : 'fuzzy-finder:toggle-file-finder'
    'space f r' : 'recent-finder:toggle'
    'space f y' : 'editor:copy-project-path'

    # windows/panes
    'space 1' : 'window:focus-pane-on-left'
    'space 2' : 'window:focus-pane-on-right'
    'space b n': 'pane:show-next-item' # 'buffer next'
    'space b p': 'pane:show-previous-item' # 'butter preview'

    'space w w': 'window:focus-next-pane'
    'space w H': 'paner:split-left'
    'space w J': 'paner:split-down'
    'space w K': 'paner:split-up'
    'space w L': 'paner:split-right'
    'space w v': 'paner:split-right'
    'space w c': 'pane:close' # 'window close' ('vim' window)
    'space w x': 'paner:swap-item'
    'space w X': 'paner:send-item'
    'space w k': 'paner:very-top'
    'space w j': 'paner:very-bottom'
    'space w h': 'paner:very-left'
    'space w l': 'paner:very-right'
    'space w enter': 'vim-mode-plus:maximize-pane'

    'space s c': 'window:close' # 'screen close'
    'space t t': 'tree-view:toggle' # 'files toggle'
    'space p t': 'tree-view:toggle' # 'project toggle'
    'space f t': 'tree-view:reveal-active-file' # 'file reveal'

    # Surround family
    'space y s' : 'vim-mode-plus:surround'
    'space y s w': 'vim-mode-plus:surround-word'
    'space y m s': 'vim-mode-plus:map-surround'
    'space d S' : 'vim-mode-plus:delete-surround'
    'space d s' : 'vim-mode-plus:delete-surround-any-pair'
    'space c S' : 'vim-mode-plus:change-surround'
    'space c s' : 'vim-mode-plus:change-surround-any-pair'

    # git commands
    'space g s' : 'git-plus:status'
    'space g a' : 'git-plus:add'
    'space g c' : 'git-plus:commit'
    'space g b' : 'blame:toggle'
    'space g h n': 'git-diff:move-to-next-diff'
    'space g h p': 'git-diff:move-to-previous-diff'
    'space g h l': 'git-diff:toggle-diff-list'
    'space g g' : 'git-plus:menu'
    'space g d' : 'git-plus:diff'
    'space g t' : 'git-time-machine:toggle'

    # lint / annotations
    'space e n' : 'linter:next-error'
    'space e p' : 'linter:previous-error'
    'space e N' : 'linter:previous-error'
    'space e e' : 'linter:lint'
    'space t m f': 'linter:toggle'
    'space e t' : 'linter:toggle'

    # editor view options
    'space t n': 'editor:toggle-line-numbers'
    'space t i': 'editor:toggle-indent-guide'
    'space t w': 'editor:toggle-soft-wrap'
    'space t v': 'window:toggle-invisibles'

    # bookmarks
    'space j m': 'bookmarks:toggle-bookmark'
    'space j c': 'bookmarks:clear-bookmarks'
    'space j n': 'bookmarks:jump-to-next-bookmark'
    'space j p': 'bookmarks:jump-to-previous-bookmark'

    # misc actions
    'space g q' : 'autoflow:reflow-selection'
    'space space': 'easy-motion-redux:words_starting'

    # Bindings for 'Narrow' plugin
    'atom-text-editor.vim-mode-plus.normal-mode':
    'space n l': 'narrow:lines'
    'space n f': 'narrow:fold'
    'space o': 'narrow:fold'
    'space n s c': 'narrow:search-current-project'
    'space n s s': 'narrow:search'
    'space n c': 'narrow:focus'
    34 changes: 4 additions & 30 deletions packages.json
    Original file line number Diff line number Diff line change
    @@ -27,16 +27,6 @@
    "version": "0.46.1",
    "theme": "ui"
    },
    {
    "name": "atom-material-syntax",
    "version": "1.0.8",
    "theme": "syntax"
    },
    {
    "name": "atom-material-ui",
    "version": "2.1.3",
    "theme": "ui"
    },
    {
    "name": "atom-ternjs",
    "version": "0.18.3"
    @@ -99,16 +89,6 @@
    "name": "busy-signal",
    "version": "1.4.3"
    },
    {
    "name": "city-lights-syntax",
    "version": "1.1.8",
    "theme": "syntax"
    },
    {
    "name": "city-lights-ui",
    "version": "1.3.3",
    "theme": "ui"
    },
    {
    "name": "color-picker",
    "version": "2.2.5"
    @@ -138,11 +118,6 @@
    "version": "2.0.6",
    "theme": "syntax"
    },
    {
    "name": "dracula-ui",
    "version": "0.6.0",
    "theme": "ui"
    },
    {
    "name": "emmet",
    "version": "2.4.3"
    @@ -419,6 +394,10 @@
    "name": "minimap-highlight-selected",
    "version": "4.6.1"
    },
    {
    "name": "narrow",
    "version": "0.62.1"
    },
    {
    "name": "notifications",
    "version": "0.70.2"
    @@ -468,11 +447,6 @@
    "name": "project-manager",
    "version": "3.3.5"
    },
    {
    "name": "pure-syntax",
    "version": "0.3.0",
    "theme": "syntax"
    },
    {
    "name": "react-snippets",
    "version": "1.0.1"
    24 changes: 20 additions & 4 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -3,15 +3,32 @@
    "maxFileCount": 3000
    },
    "core": {
    "ignoredNames": [
    ".git",
    ".hg",
    ".svn",
    ".DS_Store",
    "._*",
    "Thumbs.db",
    "desktop.ini",
    "node_modules"
    ],
    "projectHome": "D:\\JsDev\\",
    "telemetryConsent": "no",
    "themes": [
    "dracula-ui",
    "pristine-ui",
    "dracula-syntax"
    ]
    },
    "editor": {
    "fontFamily": "Source Code Pro",
    "invisibles": {},
    "showIndentGuide": true
    "showIndentGuide": true,
    "showInvisibles": true,
    "softWrap": true,
    "tabLength": 4,
    "tabType": "soft",
    "zoomFontWhenCtrlScrolling": false
    },
    "exception-reporting": {
    "userId": "a5c273b4-3d22-4e6c-b829-df406b55a02f"
    @@ -29,6 +46,5 @@
    "highlight-selectedDecorationsZIndex": 0
    }
    },
    "sync-settings": {},
    "welcome": {}
    "sync-settings": {}
    }
  26. canxer314 revised this gist Feb 25, 2018. No changes.
  27. canxer314 revised this gist Feb 25, 2018. 2 changed files with 14 additions and 6 deletions.
    12 changes: 8 additions & 4 deletions packages.json
    Original file line number Diff line number Diff line change
    @@ -155,6 +155,10 @@
    "name": "encoding-selector",
    "version": "0.23.7"
    },
    {
    "name": "es6-javascript",
    "version": "1.0.0"
    },
    {
    "name": "ex-mode",
    "version": "0.18.0"
    @@ -163,10 +167,6 @@
    "name": "exception-reporting",
    "version": "0.42.0"
    },
    {
    "name": "expose",
    "version": "0.15.0"
    },
    {
    "name": "file-icons",
    "version": "2.1.17"
    @@ -535,6 +535,10 @@
    "name": "tree-view",
    "version": "0.221.3"
    },
    {
    "name": "tree-view-copy-relative-path",
    "version": "1.2.0"
    },
    {
    "name": "update-package-dependencies",
    "version": "0.13.0"
    8 changes: 6 additions & 2 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,10 @@
    "dracula-syntax"
    ]
    },
    "editor": {},
    "editor": {
    "invisibles": {},
    "showIndentGuide": true
    },
    "exception-reporting": {
    "userId": "a5c273b4-3d22-4e6c-b829-df406b55a02f"
    },
    @@ -26,5 +29,6 @@
    "highlight-selectedDecorationsZIndex": 0
    }
    },
    "sync-settings": {}
    "sync-settings": {},
    "welcome": {}
    }
  28. canxer314 revised this gist Feb 25, 2018. 1 changed file with 26 additions and 0 deletions.
    26 changes: 26 additions & 0 deletions packages.json
    Original file line number Diff line number Diff line change
    @@ -147,10 +147,18 @@
    "name": "emmet",
    "version": "2.4.3"
    },
    {
    "name": "emmet-jsx-css-modules",
    "version": "1.0.0"
    },
    {
    "name": "encoding-selector",
    "version": "0.23.7"
    },
    {
    "name": "ex-mode",
    "version": "0.18.0"
    },
    {
    "name": "exception-reporting",
    "version": "0.42.0"
    @@ -387,6 +395,10 @@
    "name": "markdown-preview",
    "version": "0.159.20"
    },
    {
    "name": "markdown-preview-enhanced",
    "version": "0.15.2"
    },
    {
    "name": "merge-conflicts",
    "version": "1.4.5"
    @@ -447,14 +459,28 @@
    "name": "prettier-atom",
    "version": "0.51.0"
    },
    {
    "name": "pristine-ui",
    "version": "1.1.11",
    "theme": "ui"
    },
    {
    "name": "project-manager",
    "version": "3.3.5"
    },
    {
    "name": "pure-syntax",
    "version": "0.3.0",
    "theme": "syntax"
    },
    {
    "name": "react-snippets",
    "version": "1.0.1"
    },
    {
    "name": "regex-railroad-diagram",
    "version": "0.19.4"
    },
    {
    "name": "settings-view",
    "version": "0.253.1-0"
  29. canxer314 revised this gist Feb 25, 2018. 6 changed files with 658 additions and 1 deletion.
    11 changes: 11 additions & 0 deletions init.coffee
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    # 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()}"
    32 changes: 32 additions & 0 deletions keymap.cson
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    # 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
    533 changes: 532 additions & 1 deletion packages.json
    Original file line number Diff line number Diff line change
    @@ -1 +1,532 @@
    //atom sync settings
    [
    {
    "name": "about",
    "version": "1.7.8"
    },
    {
    "name": "archive-view",
    "version": "0.64.1"
    },
    {
    "name": "atom-dark-syntax",
    "version": "0.29.0",
    "theme": "syntax"
    },
    {
    "name": "atom-dark-ui",
    "version": "0.53.1",
    "theme": "ui"
    },
    {
    "name": "atom-light-syntax",
    "version": "0.29.0",
    "theme": "syntax"
    },
    {
    "name": "atom-light-ui",
    "version": "0.46.1",
    "theme": "ui"
    },
    {
    "name": "atom-material-syntax",
    "version": "1.0.8",
    "theme": "syntax"
    },
    {
    "name": "atom-material-ui",
    "version": "2.1.3",
    "theme": "ui"
    },
    {
    "name": "atom-ternjs",
    "version": "0.18.3"
    },
    {
    "name": "autocomplete-atom-api",
    "version": "0.10.6"
    },
    {
    "name": "autocomplete-css",
    "version": "0.17.5"
    },
    {
    "name": "autocomplete-html",
    "version": "0.8.4"
    },
    {
    "name": "autocomplete-paths",
    "version": "2.12.2"
    },
    {
    "name": "autocomplete-plus",
    "version": "2.40.0"
    },
    {
    "name": "autocomplete-snippets",
    "version": "1.11.2"
    },
    {
    "name": "autoflow",
    "version": "0.29.0"
    },
    {
    "name": "autosave",
    "version": "0.24.6"
    },
    {
    "name": "background-tips",
    "version": "0.27.1"
    },
    {
    "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.0"
    },
    {
    "name": "bracket-matcher",
    "version": "0.88.1"
    },
    {
    "name": "busy-signal",
    "version": "1.4.3"
    },
    {
    "name": "city-lights-syntax",
    "version": "1.1.8",
    "theme": "syntax"
    },
    {
    "name": "city-lights-ui",
    "version": "1.3.3",
    "theme": "ui"
    },
    {
    "name": "color-picker",
    "version": "2.2.5"
    },
    {
    "name": "command-palette",
    "version": "0.43.3"
    },
    {
    "name": "css-snippets",
    "version": "1.1.0"
    },
    {
    "name": "dalek",
    "version": "0.2.1"
    },
    {
    "name": "deprecation-cop",
    "version": "0.56.9"
    },
    {
    "name": "dev-live-reload",
    "version": "0.48.1"
    },
    {
    "name": "dracula-syntax",
    "version": "2.0.6",
    "theme": "syntax"
    },
    {
    "name": "dracula-ui",
    "version": "0.6.0",
    "theme": "ui"
    },
    {
    "name": "emmet",
    "version": "2.4.3"
    },
    {
    "name": "encoding-selector",
    "version": "0.23.7"
    },
    {
    "name": "exception-reporting",
    "version": "0.42.0"
    },
    {
    "name": "expose",
    "version": "0.15.0"
    },
    {
    "name": "file-icons",
    "version": "2.1.17"
    },
    {
    "name": "find-and-replace",
    "version": "0.215.0"
    },
    {
    "name": "fuzzy-finder",
    "version": "1.7.3"
    },
    {
    "name": "git-diff",
    "version": "1.3.6"
    },
    {
    "name": "git-plus",
    "version": "7.10.0"
    },
    {
    "name": "git-time-machine",
    "version": "1.5.9"
    },
    {
    "name": "github",
    "version": "0.8.3"
    },
    {
    "name": "go-to-line",
    "version": "0.32.1"
    },
    {
    "name": "goto-definition",
    "version": "1.3.4"
    },
    {
    "name": "grammar-selector",
    "version": "0.49.8"
    },
    {
    "name": "highlight-selected",
    "version": "0.13.1"
    },
    {
    "name": "image-view",
    "version": "0.62.4"
    },
    {
    "name": "incompatible-packages",
    "version": "0.27.3"
    },
    {
    "name": "intentions",
    "version": "1.1.5"
    },
    {
    "name": "keybinding-resolver",
    "version": "0.38.1"
    },
    {
    "name": "language-babel",
    "version": "2.84.0"
    },
    {
    "name": "language-c",
    "version": "0.58.1"
    },
    {
    "name": "language-clojure",
    "version": "0.22.5"
    },
    {
    "name": "language-coffee-script",
    "version": "0.49.3"
    },
    {
    "name": "language-csharp",
    "version": "0.14.3"
    },
    {
    "name": "language-css",
    "version": "0.42.8"
    },
    {
    "name": "language-gfm",
    "version": "0.90.3"
    },
    {
    "name": "language-git",
    "version": "0.19.1"
    },
    {
    "name": "language-go",
    "version": "0.44.4"
    },
    {
    "name": "language-html",
    "version": "0.48.5"
    },
    {
    "name": "language-hyperlink",
    "version": "0.16.3"
    },
    {
    "name": "language-java",
    "version": "0.27.6"
    },
    {
    "name": "language-javascript",
    "version": "0.127.7"
    },
    {
    "name": "language-json",
    "version": "0.19.1"
    },
    {
    "name": "language-less",
    "version": "0.34.1"
    },
    {
    "name": "language-make",
    "version": "0.22.3"
    },
    {
    "name": "language-mustache",
    "version": "0.14.4"
    },
    {
    "name": "language-objective-c",
    "version": "0.15.1"
    },
    {
    "name": "language-perl",
    "version": "0.38.1"
    },
    {
    "name": "language-php",
    "version": "0.43.0"
    },
    {
    "name": "language-property-list",
    "version": "0.9.1"
    },
    {
    "name": "language-python",
    "version": "0.45.6"
    },
    {
    "name": "language-ruby",
    "version": "0.71.4"
    },
    {
    "name": "language-ruby-on-rails",
    "version": "0.25.3"
    },
    {
    "name": "language-sass",
    "version": "0.61.3"
    },
    {
    "name": "language-shellscript",
    "version": "0.25.4"
    },
    {
    "name": "language-source",
    "version": "0.9.0"
    },
    {
    "name": "language-sql",
    "version": "0.25.9"
    },
    {
    "name": "language-text",
    "version": "0.7.3"
    },
    {
    "name": "language-todo",
    "version": "0.29.3"
    },
    {
    "name": "language-toml",
    "version": "0.18.1"
    },
    {
    "name": "language-typescript",
    "version": "0.2.3"
    },
    {
    "name": "language-xml",
    "version": "0.35.2"
    },
    {
    "name": "language-yaml",
    "version": "0.31.1"
    },
    {
    "name": "line-ending-selector",
    "version": "0.7.4"
    },
    {
    "name": "link",
    "version": "0.31.4"
    },
    {
    "name": "linter",
    "version": "2.2.0"
    },
    {
    "name": "linter-csslint",
    "version": "2.0.0"
    },
    {
    "name": "linter-eslint",
    "version": "8.4.1"
    },
    {
    "name": "linter-less",
    "version": "2.6.0"
    },
    {
    "name": "linter-ui-default",
    "version": "1.6.10"
    },
    {
    "name": "markdown-preview",
    "version": "0.159.20"
    },
    {
    "name": "merge-conflicts",
    "version": "1.4.5"
    },
    {
    "name": "metrics",
    "version": "1.2.6"
    },
    {
    "name": "minimap",
    "version": "4.29.8"
    },
    {
    "name": "minimap-find-and-replace",
    "version": "4.5.2"
    },
    {
    "name": "minimap-highlight-selected",
    "version": "4.6.1"
    },
    {
    "name": "notifications",
    "version": "0.70.2"
    },
    {
    "name": "one-dark-syntax",
    "version": "1.8.1",
    "theme": "syntax"
    },
    {
    "name": "one-dark-ui",
    "version": "1.10.9",
    "theme": "ui"
    },
    {
    "name": "one-light-syntax",
    "version": "1.8.1",
    "theme": "syntax"
    },
    {
    "name": "one-light-ui",
    "version": "1.10.9",
    "theme": "ui"
    },
    {
    "name": "open-on-github",
    "version": "1.3.1"
    },
    {
    "name": "package-generator",
    "version": "1.3.0"
    },
    {
    "name": "pigments",
    "version": "0.40.2"
    },
    {
    "name": "prettier-atom",
    "version": "0.51.0"
    },
    {
    "name": "project-manager",
    "version": "3.3.5"
    },
    {
    "name": "react-snippets",
    "version": "1.0.1"
    },
    {
    "name": "settings-view",
    "version": "0.253.1-0"
    },
    {
    "name": "snippets",
    "version": "1.1.9"
    },
    {
    "name": "solarized-dark-syntax",
    "version": "1.1.3",
    "theme": "syntax"
    },
    {
    "name": "solarized-light-syntax",
    "version": "1.1.3",
    "theme": "syntax"
    },
    {
    "name": "spell-check",
    "version": "0.72.5"
    },
    {
    "name": "status-bar",
    "version": "1.8.15"
    },
    {
    "name": "styleguide",
    "version": "0.49.9"
    },
    {
    "name": "symbols-view",
    "version": "0.118.1"
    },
    {
    "name": "sync-settings",
    "version": "0.8.5"
    },
    {
    "name": "tabs",
    "version": "0.109.1"
    },
    {
    "name": "timecop",
    "version": "0.36.2"
    },
    {
    "name": "todo-show",
    "version": "2.2.0"
    },
    {
    "name": "tree-view",
    "version": "0.221.3"
    },
    {
    "name": "update-package-dependencies",
    "version": "0.13.0"
    },
    {
    "name": "vim-mode-plus",
    "version": "1.28.1"
    },
    {
    "name": "welcome",
    "version": "0.36.6"
    },
    {
    "name": "whitespace",
    "version": "0.37.5"
    },
    {
    "name": "wrap-guide",
    "version": "0.40.3"
    }
    ]
    30 changes: 30 additions & 0 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,30 @@
    {
    "autocomplete-paths": {
    "maxFileCount": 3000
    },
    "core": {
    "telemetryConsent": "no",
    "themes": [
    "dracula-ui",
    "dracula-syntax"
    ]
    },
    "editor": {},
    "exception-reporting": {
    "userId": "a5c273b4-3d22-4e6c-b829-df406b55a02f"
    },
    "git-diff": {
    "showIconsInEditorGutter": true
    },
    "minimap": {
    "plugins": {
    "find-and-replace": true,
    "find-and-replaceDecorationsZIndex": 0,
    "git-diff": true,
    "git-diffDecorationsZIndex": 0,
    "highlight-selected": true,
    "highlight-selectedDecorationsZIndex": 0
    }
    },
    "sync-settings": {}
    }
    21 changes: 21 additions & 0 deletions snippets.cson
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    # 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
    32 changes: 32 additions & 0 deletions styles.less
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    /*
    * 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%);
    }

    // style UI elements inside atom-text-editor
    atom-text-editor .cursor {
    // border-color: red;
    }
  30. canxer314 created this gist Feb 25, 2018.
    1 change: 1 addition & 0 deletions packages.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    //atom sync settings