├── LICENSE ├── README.md └── keymap.cson /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Georg Apitz 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # AtomJ 2 | After using IntelliJ and it's keybindings for years it is hard to switch to an editor with a new set of keybindings. 3 | 4 | **Meet**: [IntelliJ keybindings](https://www.jetbrains.com/idea/docs/IntelliJIDEA_ReferenceCard_Mac.pdf) combined with [Pivotal's additions](https://github.com/Pivotal-Boulder/IDE-Preferences) for the [Atom](https://atom.io/) editor. 5 | 6 | You can read more about Atom keymaps [here](https://atom.io/docs/v0.60.0/advanced/keymaps). 7 | 8 | # Usage 9 | 10 | In order to use the keymap from this repo it needs to be in your `.atom` folder in your home directory. 11 | You can use the commands below to achieve this, you might have to remove the `keymap.cson` from your `.atom` directory before doing so. 12 | ``` 13 | git clone git@github.com:geapi/atomJ.git 14 | ln -s [path-to-atomJ-repo]/keymap.cson ~/.atom/keymap.cson 15 | ``` 16 | 17 | # License 18 | AtomJ is released under the [MIT License](http://www.opensource.org/licenses/MIT). 19 | -------------------------------------------------------------------------------- /keymap.cson: -------------------------------------------------------------------------------- 1 | # These keybindings are a combination of IntelliJ's OS X 10.5+ keybindings 2 | # and additive ones from Pivotal's practice. 3 | 4 | # This file uses CoffeeScript Object Notation (CSON). 5 | # If you are unfamiliar with CSON, you can read more about it here: 6 | # https://github.com/bevry/cson#what-is-cson 7 | 8 | '.editor': 9 | 'cmd-shift-n': 'fuzzy-finder:toggle-file-finder' 10 | 'cmd-1': 'tree-view:toggle' 11 | 'alt-shift-up': 'editor:move-line-up' 12 | 'alt-shift-down':'editor:move-line-down' 13 | 'cmd-shift-w':'pane:close-other-items' 14 | 'cmd-shift-a': 'command-palette:toggle' 15 | 'cmd-l': 'go-to-line:toggle' 16 | 'ctrl-alt-cmd-up': 'pane:split-right' 17 | 'ctrl-alt-cmd-down': 'pane:split-down' 18 | 'ctrl-w': 'editor:select-word' 19 | 'cmd-backspace': 'editor:delete-line' 20 | 21 | 'atom-workspace atom-text-editor:not([mini])': 22 | 'cmd-d': 'editor:duplicate-lines' 23 | 24 | '.platform-darwin atom-text-editor': 25 | 'cmd-e': 'fuzzy-finder:toggle-buffer-finder' 26 | 'ctrl-g': 'find-and-replace:select-next' 27 | 28 | 'body': 29 | 'cmd-shift-w':'pane:close-other-items' 30 | --------------------------------------------------------------------------------