Change custom keymap with META -> CTRL

Hi,

I have a custom keymap, I've exported it form Mac and would like to use on Linux.

Can I bath change all META to CTRL while keeping all other bindings I've created? 

 

Thanks.

3 comments
Comment actions Permalink

Hi there,

Well ... keymap stored in xml config file -- you can edit that file and do such find-replace there (while IDE is closed, of course).

https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs

One note though: you have created your keymap by using another (pre-defined) one as a base. This means that your keymap will only contain the difference (the changes you have made to original keymap); hence you will be able to do such replacement only for shortcuts defined in that file.

In short -- partial replacement should be no problem at all; full replacement -- not possible (very unlikely) and you will have to re-define all needed shortcuts manually (unless META on Linux will work the same as CTRL).

1
Comment actions Permalink

Thank you for the answer!

This kind of suck though - It would be great if guys at JetBrains came up with some universal keymaps. Or one click to convert CMD to CTRL if moving between Mac and other devices...For me looks like I'll have to make it from scratch.

 

 

1
Comment actions Permalink

Hi, I've done something similar using the one here as a base

1

Please sign in to leave a comment.