ShawnMcCool / PHPStorm-SpacePeacock

An attempt at a decent looking PHPStorm setup.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Additional Keymappings

EHLOVader opened this issue · comments

There are still quite a few keymaps I have had to add.

I would like to upload a PR but am unsure how to do it. Do you use the settings repository? It produces an XML file for the keymaps. I am unsure how you handle the export of your settings now, but if you use that for data here, and then use github release to distribute the binaries you have in here. https://github.com/blog/1547-release-your-software

Here are the highlights of the keymap:

  • meta + DOWN Maps to EditorTextEnd
  • shift + meta + DOWN Maps to EditorTextEndWithSelection
  • meta + UP Maps to EditorTextStart
  • shift + meta + UP Maps to EditorTextStartWithSelection
  • control + meta + DOWN Maps to MoveLineDown
  • control + meta + UP Maps to MoveLineUp

These are mede up, but based on the above line moving made sense.

  • shift + control + meta + DOWN Maps to MoveStatementDown
  • shift + control + meta + UP Maps to MoveStatementUp

Most of the others are just there because these had conflicts. The reassignments to me made just as much sense as what they had. More so even since these are so engrained in my muscle memory.

I simply hit EXPORT and choose visual settings and keymap.

Are you running a mac because some of these, like move line up / down seem to be already in there.

Mac and Windows/Linux controls are stored separately, is why I ask.

Ah, I thought I loaded the osx keymaps afterwards per instructions.

I knew I could export the binary version but that doesn't look very nice here in Github.
It wouldn't be clear what had changed I guess.

I will revisit tomorrow and try to import again to confirm. But this one does state that it was based on "Mac OS X 10.5+ Sublime" which I thought was the second settings file I added.

I forget what but Control+meta+up/down were both on something like jump to source, or lookup references instead of moving when I started tinkering with the keys.

Closing for now, I can't reproduce it by importing the settings. I see strange things though, like the other key combos remain. Which doesn't make sense. Review again tomorrow and maybe start from scratch.

I would be very happy to collaborate with you to improve and unify the Windows / Linux configurations with the OSX configurations.

I would also like to move these into different repositories as the visual theme, for example.

Maybe a new organization for improving Jetbrains IDE configurations. Providing a number of different visual themes and key configurations.

Just a thought.

Looked at this again. I extracted the jar and took a look at the xml. Those keycombos weren't in there. So I don't know what was happening with my imports.

Here is what I got. I might fork and commit the extracted files later today.

Would love to help though.

I moved those keymaps into PR #10.