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 ~/.config/JetBrains/IntelliJIdea2020.1/keymaps/
cp ~/workspace/IDE-Preferences/MultiOSImproved.xml ~/.config/JetBrains/IntelliJIdea2020.1/keymaps/
Macros:
cp ~/workspace/IDE-Preferences/macros.xml ~/.config/JetBrains/IntelliJIdea2020.1/options/
(Optional) base keymap for Linux:
mkdir -p ~/.config/JetBrains/IntelliJIdea2020.1/keymaps/
wget -O ~/.config/JetBrains/IntelliJIdea2020.1/keymaps/MacOSPlus.xml https://raw.githubusercontent.com/JetBrains/intellij-community/master/platform/platform-resources/src/keymaps/Mac%20OS%20X%2010.5%2B.xml
Keymap:
mkdir -p ~/.config/JetBrains/RubyMine2020.3/keymaps/
cp ~/workspace/IDE-Preferences/MultiOSImproved.xml ~/.config/JetBrains/RubyMine2020.3/keymaps/
wget -O ~/.config/JetBrains/RubyMine2020.3/keymaps/MacOSPlus.xml https://raw.githubusercontent.com/JetBrains/intellij-community/master/platform/platform-resources/src/keymaps/Mac%20OS%20X%2010.5%2B.xml
Macros:
cp ~/workspace/IDE-Preferences/macros.xml ~/.config/JetBrains/RubyMine2020.1/options/
(Optional) base keymap for Linux:
mkdir -p ~/.config/JetBrains/RubyMine2020.1/keymaps/
wget -O ~/.config/JetBrains/RubyMine2020.1/keymaps/MacOSPlus.xml https://raw.githubusercontent.com/JetBrains/intellij-community/master/platform/platform-resources/src/keymaps/Mac%20OS%20X%2010.5%2B.xml
Keymap:
mkdir -p ~/.config/JetBrains/Rider2020.1/keymaps/
cp ~/workspace/IDE-Preferences/MultiOSImproved.xml ~/.config/JetBrains/Rider2020.1/keymaps/
Macros:
cp ~/workspace/IDE-Preferences/macros.xml ~/.config/JetBrains/Rider2020.1/options/
(Optional) base keymap for Linux:
mkdir -p ~/.config/JetBrains/Rider2020.1/keymaps/
wget -O ~/.config/JetBrains/Rider2020.1/keymaps/MacOSPlus.xml https://raw.githubusercontent.com/JetBrains/intellij-community/master/platform/platform-resources/src/keymaps/Mac%20OS%20X%2010.5%2B.xml
These are JetBrains-style key mappings
macOS
cp ~/workspace/IDE-Preferences/keybindings.json ~/Library/Application\ Support/Code/User/
Linux
cp ~/workspace/IDE-Preferences/keybindings.json ~/.config/Code\ -\ OSS/User/
If you have a current IDE instance open you'll need to restart it
Preferences (⌘,) -> Keymap -> Select "Multi OS Improved+" from the Keymaps dropdown