Questions tagged [alt-key]
40 questions
58
votes
6 answers
Alt key shortcuts not working on gnome terminal with Vim
I'm running Vim on a gnome terminal. But the alt key mappings are not working. For example:
:imap
It works fine in GVim. But when I run the same command with Vim in the gnome terminal it does nothing.
I'm using Windows 7, The problem…

Jesse
- 1,449
- 2
- 15
- 20
50
votes
4 answers
Reload .Xresources without restarting the xterm
To use ALT key in vim without tweaking, the escaping should be disabled in xterm.
Without escaping the ALT will not work in bash for shortcuts.
to work around I need to reload this option before starting vim:
XTerm*metaSendsEscape: false | xrdb…

Nabil Sham
- 2,305
- 4
- 26
- 38
10
votes
5 answers
Alt keys and tab don't work in Windows Forms opened from a WPF application
I have lots of old Windows Forms applications that will eventually be ported to WPF (it is a large application so it can't be done in one sprint), and I have started the process by creating a main menu in WPF. The Windows Forms applications are…

Franchesca
- 1,453
- 17
- 32
7
votes
1 answer
Pressing + in Visual Studio editor writes single ASCII character
I am using VS2013 as my IDE and ever since I installed it acts very oddly when pressing ALT and any of the ARROW keys. I use ALT+LEFT and ALT+RIGHT to navigate backward/forward which works in principal but once VS completes the jump it writes out a…

Sven M.
- 509
- 3
- 16
6
votes
0 answers
Alt+Enter not accepting IntelliJ suggestions
After I typed "@Test" (without the quotes) and then hit Enter, IntelliJ suggested adding the "import org.junit.Test;" statement by pressing Alt + Enter.
However, every time I tried to do this, IntelliJ presented me with a "Generate" menu instead of…

Ted Finch
- 61
- 1
- 4
5
votes
2 answers
How to disable mnemonic for JavaFX MenuBar?
In my stage I have inserted a menubar at the top like usual for programs. I want to give the ALT key (together with arrow keys) some logic in another context within the stage. But everytime I press ALT and arrows I unintentionally navigate through…

Arceus
- 520
- 6
- 16
5
votes
1 answer
WPF: How do I disable the SystemMenu shortcut 'Alt+Space'?
I have a borderless window and created the chrome but I need to disable the 'Alt+Space' shortcut. Any thoughts?

Brad
- 1,187
- 3
- 23
- 44
4
votes
0 answers
Firefox not detecting Alt key on keydown
Firefox on Windows 10 does not detect the Alt key on keydown in conjunction with another key, but does detect the Shift key. Chrome and Edge detect both as expected.
In Firefox, the following snippet shows that event.shiftKey is detected correctly,…

Isla
- 85
- 9
4
votes
1 answer
AvalonDock Now Loses Alt Key Adornments
I've been using AvalonDock (2.0) for some time now, being key for managing documents in an IDE. In the last month or so, I've noticed that Alt key adornments are no longer showing up for controls within AvalonDock, though the Alt key commands are…

Dave Clemmer
- 3,741
- 12
- 49
- 72
4
votes
1 answer
Swap alt keys functionality
I need to swap Alt keys functionality in Windows 7. A big company needs that for old people that were writing on typewriters, which had diacritic characters key on the left side, but Win7 which they are working on now has right Alt for this…

pbies
- 666
- 11
- 28
3
votes
1 answer
Powershell script to send keys alt tab
I have an .exe file that I'm running using Start-Process. Once my application opens, I want to send first tab key and then do alt + tab.
I'm using following commands, but so far only my application is launched.
Start-Process -FilePath $Exe…

Tag
- 209
- 1
- 3
- 7
3
votes
2 answers
How to press "ALT+F4" using AutoIt
I am new in AutoIt. I have run the notepad by using the following code in AutoIt:
Run("notepad.exe")
Now I want to quit the application by using "ALT+F4". How to press "ALT+F4" with AutoIt tool?

Ripon Al Wasim
- 36,924
- 42
- 155
- 176
3
votes
2 answers
How to make ALT works in gvim as in vim?
I'm trying to adapt to vim, again, I'm doing pretty well for now but unfortunately Gvim and Vim doesn't handle the same way the alt key.
In Vim, pressing ALT+ any other key) is the same to press (ESC + any other key). Even in bash's prompt using the…

MaikoID
- 4,359
- 4
- 25
- 27
3
votes
2 answers
Delphi XE2: How to prevent the Alt key stealing focus?
When the cursor is e.g. in a Edit field, pressing and releasing the Alt key (without pressing any other key) causes the Edit field to lose the focus. This happens also with any other focused control. How can this be prevented in a Delphi program for…

user1580348
- 5,721
- 4
- 43
- 105
3
votes
3 answers
Sending right ALT+C with PostMessage
I trying to send in my application RIGHT ALT + C.
I tried do it following:
PostMessage(hWindow, WM_KEYDOWN, (IntPtr)0x0043, (IntPtr)0x0012);
Delay(1000);
PostMessage(hWindow, WM_KEYUP, (IntPtr)0x0043, (IntPtr)0x0012);
and
PostMessage(hWindow,…

cadi2108
- 1,280
- 6
- 19
- 43