CTRL + W hotkey does not function - scripting

I like to speed up my workflow in Maya, therefore I like to create custom scripts and bind hotkeys to them.
But when I bind Ctrl+W to a custom script it does not work when I press the corresponding key.
my script just says:
print 'hello'
Can someone help?

Normally the Ctrl+W is a system hotkey for closing windows, id suggest switching over to Alt+W instead.

If you want you can use Auto Hotkey to register all reserved hotkey combinations as key combinations that Maya finds acceptabe. For example rebind Ctrl+w to Ctrl+Shift+Alt+F12 and assign something useful to that.

Related

Vscode "next search result" shortcut does not work

When I use the shortcut associated with "search.action.focusNextSearchResult" in vscode while searching something nothing happens.
This action is initially associated with F4 which is also used for other shortcuts. I thought it may be the problem so I reassigned it to an unused shortcut but it did not help.
I am using the extension "Emacs Friendly Keymap" (don't know if it can cause the problem).
Do you know how I could make it work?
That shortcut, used to go to the next search result, only works in a search editor. It has these context keys:
hasSearchResult || inSearchEditor
Are you using it in a separate search editor? It does work there. Here is one way to open a Search Editor:
If you are using the Find widget then use either of these:
Enter when focus is still in the Find widget or F3 when focus is in the editor.
If you are doing a search across files, then just a downarrow will go to the next result.

How to expand menu in IntelliJ without using right arrow

I am currently using IDEAVim on intelliJ on a 60% keyboard without arrow keys.
I am looking for a way to expand the menu of "Show Intentions Action"(the menu which you get from hitting + ) to the right without having to use the arrow key.
If i just hit enter, it will select and execute the intention instead of giving me a menu to "Suppress" or "Ignore" the intention
You cannot remap any cursor keys for the menu actions in IntelliJ IDEA.
The only workaround I can see if to use some system application to remap the keys depending on the OS you are using. For example, on Windows one can map some keys combination to produce the arrow key code with AutoHotkey or a macro in the third-party keyboard driver settings.
Anything that will produce the same code as the real right arrow key on your system should work.

Strange text capturing in intellij idea

Looks like I pressed some key combination or something.
I cannot capture code as usual. Idea captures not the whole method but text according to the level of the cursor.
Does anyone know how to turn on/off this feature?
I use ultimate version 2017.1
You've probably enabled Column selection mode, which on Windows has as default shortcut: ALT + SHIFT + INSERT.
You can also temporarily enable this selection mode, by holding down the ALT key, then clicking and dragging with the mouse over the block of text you want to select, like this:
Take a look at the documentation because there are a few other useful features you can take advantage of.

Atom keyboard shortcut to change window focus not working

I have the following keymap.cson file to config my Atom editor:
'body':
'ctrl-shift-cmd-left': 'window:focus-pane-on-left'
Only when I run this command, the current text is selected. Which without the alt key held, would make sense as a highlighting command.
However, is I bind a key command which I think most likely doesn't have a competing action, say alt-cmd-;, it seems to be registered into the list of key commands in Settings/Keybindings, yet again no window focus is happening.
Edit:
I now realize that pane and not window may be the relevant term for what I want. Still, searching the Key Bindings for pane focus switching didn't yield anything obvious. Surely, there must be a simple way to select through files in the Project area while editing.
Although this answer doesn't match the title of the question, based on your edit I think that tree-view:toggle-focus is what you're looking for.
Please try using Ctrl + 0.
And, if you use Nuclide (related to React), please try disabling it to check the difference.

XCode Show Function Parameters Hotkey

One of the few things I haven't figured out how to do in XCode that I could do in Visual Studio is list the parameters of a function. I've Googled this a few times now, and still haven't found an answer.
If I start typing out, for example round( I get a list of the parameters and its return type. However, if I already typed out the code
x = round(y);
and I cursor over to it, I don't know how to show parameter info without retyping it. Anyone know how the hotkey for this?
Just discovered Option + Escape by browsing through the XCode Preferences Hotkeys section. It actually lists the parameter info in a tooltip (no other hotkey I've seen so far does this!), but isn't quite as friendly as Visual Studio's Ctrl+Shift+Space function. For instance, the text selection cursor (caret) must be on the function name (not on a parameter to that function).
Having explored the XCode hotkeys exhaustively, I'm going to assume that this is the best it gets in XCode.
Control + Command + Shift + / is the keyboard equivalent of Option + click mentioned in other answers
Command + click the function will navigate you to the function definition, while Option + click brings up tooltip of function definition.