Skip to content

Instantly share code, notes, and snippets.

@cidevant
Last active August 29, 2015 14:06
Show Gist options
  • 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 [email protected]: wanted: {"node":"~0.8.x"} (current: {"node":"0.10.28","npm":"2.0.1"})

> [email protected] 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

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


> [email protected] 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

> [email protected] 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.
 [email protected] node_modules/loophole

[email protected] node_modules/space-pencil

[email protected] node_modules/grunt-shell

[email protected] node_modules/grim

[email protected] node_modules/event-kit

[email protected] node_modules/rimraf

[email protected] node_modules/clear-cut
└── [email protected]

[email protected] node_modules/grunt-peg

[email protected] node_modules/coffee-cache
└── [email protected]

[email protected] node_modules/underscore-plus
└── [email protected]

[email protected] node_modules/fs-plus
├── [email protected]
└── [email protected]

[email protected] node_modules/temp
├── [email protected]
└── [email protected] ([email protected])

[email protected] node_modules/property-accessors
├── [email protected]
└── [email protected]

[email protected] node_modules/pegjs

[email protected] node_modules/emissary
├── [email protected]
└── [email protected]

[email protected] node_modules/coffee-script
└── [email protected]

[email protected] node_modules/season
├── [email protected] ([email protected])
└── [email protected] ([email protected])

[email protected] node_modules/grunt-contrib-coffee
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected]
└── [email protected] ([email protected])

[email protected] node_modules/jasmine-focused
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/grunt-atomdoc
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/grunt-cli
├── [email protected] ([email protected])
├── [email protected]
└── [email protected] ([email protected], [email protected])

[email protected] node_modules/grunt
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected])

[email protected] node_modules/grunt-coffeelint
└── [email protected] ([email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/pathwatcher
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

Step 4

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

npm WARN package.json [email protected] No repository field.

> [email protected] 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 [email protected]
/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