Key mappings and macros for RubyMine, IntelliJ IDEA, and other JetBrains IDEs.
cd ~/workspace
git clone https://github.com/Pivotal-Boulder/IDE-Preferences.git
Keymap:
mkdir -p ~/Library/Application\ Support/JetBrains/IntelliJIdea2020.2/keymaps/
cp ~/workspace/IDE-Preferences/IntelliJKeymap.xml ~/Library/Application\ Support/JetBrains/IntelliJIdea2020.2/keymaps/
Macros:
cp ~/workspace/IDE-Preferences/macros.xml ~/Library/Application\ Support/JetBrains/IntelliJIdea2020.2/options/
Keymap:
mkdir -p ~/Library/Application\ Support/JetBrains/RubyMine2020.2/keymaps/
cp ~/workspace/IDE-Preferences/IntelliJKeymap.xml ~/Library/Application\ Support/JetBrains/RubyMine2020.2/keymaps/
Macros:
cp ~/workspace/IDE-Preferences/macros.xml ~/Library/Application\ Support/JetBrains/RubyMine2020.2/options/
Keymap:
mkdir -p ~/Library/Application\ Support/JetBrains/Rider2020.2/keymaps/
cp ~/workspace/IDE-Preferences/IntelliJKeymap.xml ~/Library/Application\ Support/JetBrains/Rider2020.2/keymaps/
Macros:
cp ~/workspace/IDE-Preferences/macros.xml ~/Library/Application\ Support/JetBrains/Rider2020.2/options/
These are JetBrains-style key mappings
cp ~/workspace/IDE-Preferences/keybindings.json ~/Library/Application\ Support/Code/User/
If you have a current IDE instance open you'll need to restart it
Preferences (⌘,) -> Keymap -> Select "Mac OSX 10.5 + Improved" from the Keymaps dropdown