Monday, January 14, 2013

Fixing Close Window Keyboard Shortcuts in Rubymine


Do the following for enabling Command (or Apple) key + W to close the active file and Command + Shift + W to Close All open files in Rubymine:

Rubymine | Preferences | Keymap | Main Menu | Edit | Select Word at Caret  >> Remove Keyboard Shortcut: command+W

Rubymine | Preferences | Keymap | Main Menu | Edit | Unselect Word at Caret  >> Remove Keyboard Shortcut: command+shift+W

Rubymine | Preferences | Keymap | Window | Editor Tabs | Close  >> Remove Keyboard Shortcut: command+F4

Rubymine | Preferences | Keymap | Window | Editor Tabs | Close  >> Add Keyboard Shortcut: command+W

Rubymine | Preferences | Keymap | Window | Editor Tabs | Close All >> Add Keyboard Shortcut: command+shift+W

Note that you must first find and remove any existing keymappings to the shortcut keys strokes you want to define.

Disclaimer:  Unless explicitly specified, blog posts will refer to a Mac development environment.


References


http://www.jetbrains.com/ruby/webhelp/closing-files-in-the-editor.html
http://stackoverflow.com/questions/11444237/rubymine-close-file-shortcut-mac-or-windows

Sponsor Ads


No comments:

Post a Comment