![]() ![]() Editor Actions -> Move Caret to Next Word with Selection in Different “CamelHumps” Mode: ^⇧→.Editor Actions -> Move Caret to Next Word in Different “CamelHumps” Mode: ^→.Editor Actions -> Clone Caret Below: ^⇧↓.Editor Actions -> Clone Caret Above: ^⇧↑.Main menu -> Window -> Split and Move Right: ⌘K,⌘↑.Main menu -> Window -> Select Previous Tab: ⇧⌘[.Main menu -> Window -> Select Next Tab: ⇧⌘].Main menu -> Code -> Move Line Down: ^⌘↓.Other convenient shortcutsĪdditionally, I also have these set for my convenience as they match other apps I use or just make sense to my fingers: Note that ↖︎ is fn+left arrow on laptop-like keyboards. Note that two other commands already had alternatives: Jump to Navigation Bar has ⌥↖︎ already assigned as an alternative and Jump to Source has F4 as its alternative, so I just use those. Main menu -> Code -> Move Statement Up: ⌥⇧⌘↑įor moving a statement up and down I added option to the standard JetBrains choice, though to be honest, I rarely use this and am more likely to select the relevant lines and use Move Line Up/Move Line Down instead.Main menu -> Code -> Move Statement Down: ⌥⇧⌘↓.Finally on a Mac you close any window full of tabs with shift+cmd+w, so in an IDE, this means closing the project.Īdding these mappings means that some other commands no longer have a keyboard shortcut. Then we have moving to the top and bottom of a document which should be on cmd+up and cmd+down (along with holding shift to select while moving). The JetBrains IDEs can’t quite match this, so I set cmd+e to the next best thing. Main menu -> File -> Close Project: ⇧⌘WĬmd+e to add the current selection to the find buffer is my favourite system wide macOS shortcut as I can press cmd+e, cmd+g to find next occurrence of something in pretty much every application.Editor Actions -> Move Caret to Text Start with Selection: ⇧⌘↑.Editor Actions -> Move Caret to Text Start: ⌘↑.Editor Actions -> Move Caret to Text End with Selection: ⇧⌘↓.Editor Actions -> Move Caret to Text End: ⌘↓.Main menu -> Edit -> Find -> Find Word at Caret: ⌘E.Add the Mac-like shortcutsĪdd these key mappings to match the standard system-wide shortcuts: Rather unimaginatively, the name I use is “RKA Default for macOS”. Then select “Default for macOS”, click the gear icon and duplicate it. Open Preferences and select Keymap from the left hand side. ![]() Apple provides details of the keyboard shortcuts you can expect to work in a Mac application, so these are the changes that I’ve made to make PhpStorm and P圜harm feel more at home on my Mac: In the JetBrains IDEs, the “Default for macOS” keymap isn’t doesn’t feel very Mac-like to me, especially for keyboard navigation in particular. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |