Skip to content

Instantly share code, notes, and snippets.

@cidevant
Last active August 29, 2015 14:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cidevant/a7ab047c2c16174d1eb1 to your computer and use it in GitHub Desktop.
Save cidevant/a7ab047c2c16174d1eb1 to your computer and use it in GitHub Desktop.
WORKING: Installing DVORAK-QWERTY support for Atom.io

Step 1

@cidevant ~/Code/JavaScript/Atom.io $ git clone https://github.com/donmccurdy/atom-keymap

Cloning into 'atom-keymap'...
remote: Counting objects: 1070, done.
remote: Compressing objects: 100% (344/344), done.
remote: Total 1070 (delta 715), reused 1070 (delta 715)
Receiving objects: 100% (1070/1070), 138.53 KiB | 0 bytes/s, done.
Resolving deltas: 100% (715/715), done.
Checking connectivity... done.

Step 2

@cidevant ~/Code/JavaScript/Atom.io $ git checkout patch.dvorak.v3

Branch patch.dvorak.v3 set up to track remote branch patch.dvorak.v3 from origin.
Switched to a new branch 'patch.dvorak.v3'

Step 3

@cidevant ~/Code/JavaScript/Atom.io/atom-keymap [patch.dvorak.v3] $ npm install

npm WARN engine specificity@0.1.3: wanted: {"node":"~0.8.x"} (current: {"node":"0.10.28","npm":"2.0.1"})

> runas@1.0.1 install /Users/cidevant/Code/JavaScript/Atom.io/atom-keymap/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild

  CXX(target) Release/obj.target/runas/src/main.o
  CXX(target) Release/obj.target/runas/src/runas_darwin.o
  CXX(target) Release/obj.target/runas/src/fork.o
  SOLINK_MODULE(target) Release/runas.node
  SOLINK_MODULE(target) Release/runas.node: Finished

> coffeelint@0.5.7 install /Users/cidevant/Code/JavaScript/Atom.io/atom-keymap/node_modules/grunt-coffeelint/node_modules/coffeelint
> [ -e lib/commandline.js ] || npm run compile


> pathwatcher@2.1.3 install /Users/cidevant/Code/JavaScript/Atom.io/atom-keymap/node_modules/pathwatcher
> node-gyp rebuild

  CXX(target) Release/obj.target/pathwatcher/src/main.o
  CXX(target) Release/obj.target/pathwatcher/src/common.o
  CXX(target) Release/obj.target/pathwatcher/src/handle_map.o
  CXX(target) Release/obj.target/pathwatcher/src/pathwatcher_mac.o
  SOLINK_MODULE(target) Release/pathwatcher.node
  SOLINK_MODULE(target) Release/pathwatcher.node: Finished

> atom-keymap@2.1.1 prepublish /Users/cidevant/Code/JavaScript/Atom.io/atom-keymap
> grunt prepublish

Running "clean" task

Running "coffeelint:src" (coffeelint) task
>> 4 files lint free.

Running "coffeelint:test" (coffeelint) task
>> 2 files lint free.

Running "coffeelint:gruntfile" (coffeelint) task
>> 1 file lint free.

Running "coffee:glob_to_multiple" (coffee) task

Running "peg:keystroke" (peg) task
Generating parser from "src/keystroke.pegjs"...
Parser "lib/keystroke.js" generated in 20ms.

Running "shell:update-atomdoc" (shell) task

Running "atomdoc" task

Done, without errors.
 loophole@1.0.0 node_modules/loophole

space-pencil@0.3.0 node_modules/space-pencil

grunt-shell@0.2.2 node_modules/grunt-shell

grim@0.12.0 node_modules/grim

event-kit@0.7.2 node_modules/event-kit

rimraf@2.2.8 node_modules/rimraf

clear-cut@0.3.0 node_modules/clear-cut
└── specificity@0.1.3

grunt-peg@1.5.0 node_modules/grunt-peg

coffee-cache@0.2.0 node_modules/coffee-cache
└── mkpath@0.1.0

underscore-plus@1.5.1 node_modules/underscore-plus
└── underscore@1.6.0

fs-plus@2.3.0 node_modules/fs-plus
├── async@0.2.10
└── mkdirp@0.3.5

temp@0.6.0 node_modules/temp
├── osenv@0.0.3
└── rimraf@2.1.4 (graceful-fs@1.2.3)

property-accessors@1.1.0 node_modules/property-accessors
├── mixto@1.0.0
└── harmony-collections@0.3.7

pegjs@0.8.0 node_modules/pegjs

emissary@1.3.1 node_modules/emissary
├── mixto@1.0.0
└── harmony-collections@0.3.7

coffee-script@1.8.0 node_modules/coffee-script
└── mkdirp@0.3.5

season@1.0.2 node_modules/season
├── optimist@0.4.0 (wordwrap@0.0.2)
└── coffee-script@1.7.1 (mkdirp@0.3.5)

grunt-contrib-coffee@0.9.0 node_modules/grunt-contrib-coffee
├── chalk@0.4.0 (has-color@0.1.7, ansi-styles@1.0.0, strip-ansi@0.1.1)
├── lodash@2.4.1
└── coffee-script@1.7.1 (mkdirp@0.3.5)

jasmine-focused@1.0.5 node_modules/jasmine-focused
├── walkdir@0.0.7
└── jasmine-node@1.10.2 (underscore@1.7.0, mkdirp@0.3.5, jasmine-reporters@2.0.3, coffeestack@0.7.0, gaze@0.3.4, requirejs@2.1.15)

grunt-atomdoc@1.0.0 node_modules/grunt-atomdoc
├── tello@1.0.3 (underscore@1.6.0, atomdoc@1.0.3, optimist@0.6.1)
└── donna@1.0.3 (builtins@0.0.4, underscore@1.7.0, async@0.9.0, walkdir@0.0.7, optimist@0.6.1, source-map@0.1.29, underscore.string@2.3.3)

grunt-cli@0.1.13 node_modules/grunt-cli
├── nopt@1.0.10 (abbrev@1.0.5)
├── resolve@0.3.1
└── findup-sync@0.1.3 (glob@3.2.11, lodash@2.4.1)

grunt@0.4.5 node_modules/grunt
├── which@1.0.5
├── dateformat@1.0.2-1.2.3
├── eventemitter2@0.4.14
├── getobject@0.1.0
├── colors@0.6.2
├── hooker@0.2.3
├── async@0.1.22
├── grunt-legacy-util@0.2.0
├── nopt@1.0.10 (abbrev@1.0.5)
├── exit@0.1.2
├── minimatch@0.2.14 (sigmund@1.0.0, lru-cache@2.5.0)
├── glob@3.1.21 (inherits@1.0.0, graceful-fs@1.2.3)
├── coffee-script@1.3.3
├── underscore.string@2.2.1
├── iconv-lite@0.2.11
├── lodash@0.9.2
├── js-yaml@2.0.5 (esprima@1.0.4, argparse@0.1.15)
├── findup-sync@0.1.3 (glob@3.2.11, lodash@2.4.1)
└── grunt-legacy-log@0.1.1 (underscore.string@2.3.3, lodash@2.4.1)

grunt-coffeelint@0.0.6 node_modules/grunt-coffeelint
└── coffeelint@0.5.7 (optimist@0.3.5, glob@3.1.14, coffee-script@1.6.2, vows@0.7.0)

pathwatcher@2.1.3 node_modules/pathwatcher
├── event-kit@0.6.0
├── async@0.2.10
├── q@1.0.1
├── nan@1.2.0
└── runas@1.0.1

Step 4

@cidevant ~/Code/JavaScript/Atom.io/atom-keymap [patch.dvorak.v3] $ npm link

npm WARN package.json grunt-atomdoc@1.0.0 No repository field.

> atom-keymap@2.1.1 prepublish /Users/cidevant/Code/JavaScript/Atom.io/atom-keymap
> grunt prepublish

Running "clean" task

Running "coffeelint:src" (coffeelint) task
>> 4 files lint free.

Running "coffeelint:test" (coffeelint) task
>> 2 files lint free.

Running "coffeelint:gruntfile" (coffeelint) task
>> 1 file lint free.

Running "coffee:glob_to_multiple" (coffee) task

Running "peg:keystroke" (peg) task
Generating parser from "src/keystroke.pegjs"...
Parser "lib/keystroke.js" generated in 20ms.

Running "shell:update-atomdoc" (shell) task

Running "atomdoc" task

Done, without errors.
/usr/local/lib/node_modules/atom-keymap -> /Users/cidevant/Code/JavaScript/Atom.io/atom-keymap

Step 5

@cidevant ~/Code/JavaScript/Atom.io/atom-keymap [patch.dvorak.v3] $ apm rebuild

Rebuilding modules ✓

Step 6

@cidevant ~/Code/JavaScript/Atom.io/atom-keymap [patch.dvorak.v3] $ cd /Applications/Atom.app/Contents/Resources/app

Step 7

@cidevant /Applications/Atom.app/Contents/Resources/app $ npm link atom-keymap

unbuild atom-keymap@2.1.1
/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap -> /usr/local/lib/node_modules/atom-keymap -> /Users/cidevant/Code/JavaScript/Atom.io/atom-keymap

Step 8

@cidevant /Applications/Atom.app/Contents/Resources/app $ atom

Step 9

When the program (Atom.io) is opened just navigate: Atom -> Open Your Config and add this lines to the end of file:

'atom-keymap':
  'bindEventsToKeycode': true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment