How can I export/import keyboard shortcuts for spyder IDE - ide

I am new to Spyder. I have configured my preferred keyboard shortcuts on the Spyder on my home computer. Now I would like to use the same shortcuts on my working computer.
I followed the advice here (https://groups.google.com/forum/#!topic/spyderlib/0A6v9Ekrup8) to export the settings. However, although some settings (like display) are exported when I copy and overwrite the spyder.ini file, the shortcuts are not.
Can someone advise how I can export and import the keyboard shortcuts?

(Spyder maintainer here) We're sorry but Spyder doesn't have the ability to export/import shortcuts right now (May 2019).
Several users have asked for this functionality, so we'll try to add it in a future release.

Related

How to fix Ctrl Click in IntelliJ Idea

I found, that Ctrl-Click (for example, on class usage) doesn't work on one of my installations of Idea. Simultaneously:
Context menu action like Go To -> Implementation(s) works
Control click in PyCharm works
Machine is remote desktop Windows Server 2016. Idea is 2021.2.
What can be done to fix?
Had a similar issue due to Rider importing settings from Visual Studio on the first run. Resolved it by changing the Keymap (Rider->Preferences->Keymap->Keymap drop down) back to the default one (IntelliJ).
In our case it was really an old SonarLint plugin. Check in Settings / Plugins. After the update the problem was solved.
I was having the same problem and going to File -> Reapair IDE... fixed it for me.

macOS use "Command key" as zsh shorcuts

I want to use macOS command key as iterm2's shortcut. (not an alias, I mean ^W ^E Command-B, etc)
Is this possible?
I search for this question and found some tips in zsh doc.
However, I still cannot fix my problem.
Besides, is there any best practice for writing zle config?
I totally messed up by lots of ways to change my custom terminal shortcuts.
Is there somebody can help?
a detail tutorial article will be great, too
If you're on macOS, rather than trying to configure keyboard shortcuts in every shell and/or terminal you use, it's much easier to just configure it once, on the OS level, with Karabiner-Elements. It even comes with a handy module for it, called Keyboard shortcuts for terminal apps, so you don't have to configure it yourself.

How to stop Jetbrains Rider opening sidepanel on ALT-9 on macOS

Suddenly JetBrain Rider opens the Repository side panel on ALT+9.
This is very inconvenient as ALT keys are for special characters on macOS. In my case ALT+9 is for } so anytime I want to insert an closing } the repository sidebar opens.
I could not find any suspicious entries in the Keymap preferences.
I'm pretty sure this wasn't the case yesterday but I have made no conscious changes to the system.
Check your Keymap and try to remove/change the key assigned to the tool windows:

How to use Mac OSX Keymap on Windows for WebStorm or IntelliJ IDEA?

I use WebStorm on both my Mac and Windows for work purposes.
I would like to know if it is possible to use the MAC OSX keymap on Windows.
On windows if you load the MAC OSX keymap the mappings don't seem to line up correctly. For instance I see the character Meta being used, however Windows doesn't seem to properly map that character.
I also would like to note I am using a Mac keyboard on the Windows PC.
How does Cmd (Meta) key map to your Windows keys?
You can get the full Mac keymap XML file and replace meta with whatever key it is on Windows. Some keys may not work or you may get conflicting mappings.
There is no easy and straightforward way that will work out of the box.
On Mac keymap is using Alt, Ctrl, Meta and Shift modifiers. This cannot be directly mapped to only 3 modifiers you have on Windows (Alt, Ctrl, Shift). You can't use Win as the modifier by default.
Also, a lot of the combinations with Win would be already taken by the OS (and the only way to disable these default mappings is via registry modification).
You are welcome to give it a try as there is a workaround to make Win work as a modifier in IntelliJ IDEA.
On Windows go to file > settings > keymap and in the keymaps dropdown select default and the meta (aka cmd) key will be replaced by ctrl.
There is a third party plugin by samvtrran that solve that: macOS For All
Here is the plugin description:
A keymap for Windows and Linux (and macOS if you really want!) that
rebinds common macOS 10.5+ shortcuts to non-Command keys. Some
shortcuts aren't 1:1 replacements of modifier keys, so please check
the key updates table.
If you notice any conflicting shortcuts or have a suggestion for a new
keybinding, please open an issue on GitHub.

IDEA sharing settings

I want to share exported settings from webstorm to other IDEA-s for example pycharm etc... Is exported settings compatible with other IDEA-a, so that for example I import webstorm settings to pycharm and then modify some settings in pycharm and again import exported settings from pycharm to webstorm. Would this action be safe so nothing would be corrupted?
I do not think you would corrupt any settings. However, some settings may get dropped. For example, if there is a setting that is available in WebStorm, but not PyCharm, PyCharm may "drop" that setting. When you go to import back into WebStorm, that setting would be lost.
The reason I say that is that ultimately the settings export/import are copies of the XML configuration files in IDEA's config directory. (See Directories used by the IDE to store settings, caches, plugins and logs for information on its location. The path should be similar for WebStorm and PyCharm.) When PyCharm imports the settings, it is just replacing the various setting XML Files. But then when PyCharm runs, upon loading and re-saving the settings file, it may drop elements that are not applicable. (My suspicion, is that it would not, but you'd have to test to be sure.)
Another option from using the settings import/export would be to just do a diff between the two config directories using a good diff tool like Beyond Compare.
This is an unusual activity, so there's probably not many people that have actually done (or tried) this. As such, unless someone from the JetBrains development team comes on to definitively say one way or the other, I think your best bet is to just try and see. Of course, backup your settings before doing an import from the other tool :)