Questions tagged [key-bindings]

Anything related to key-bindings (a.k.a. "keyboard shortcuts", "hotkeys", etc.), i.e. the associations between key combinations and the corresponding actions triggered when the user presses such combinations.

Anything related to key-bindings (a.k.a. keyboard shortcuts, hotkeys, etc.), i.e. the associations between key combinations and the corresponding actions triggered when the user presses such combinations. For example, pressing alt + F4 closes an application on Windows, while ctrl + C copies the selected text into the clipboard for both Linux and Windows GUI applications.

See Wikipedia on keyboard shortcuts.

1731 questions
9
votes
3 answers

Java Keybinding Plus Key

I was trying to create shortcuts for zooming in and out in an image editing application I'm creating and I noticed something strange. To bind the combination of ctrl + +, I had to use the = key and a control and shift…
scaevity
  • 3,991
  • 13
  • 39
  • 54
9
votes
2 answers

Emacs: Translating C-h to DEL, M-h to M-DEL

I want my C/M-h keys to be a binding for delete. The usual solution of global-set-key doesn't work for me, as I want these keys to behave as delete everywhere including the minibuffer and various modes, and be able to work between my various…
Daniel
  • 445
  • 2
  • 12
9
votes
5 answers

In jVI for Netbeans, the cursor won't appear

Depending on the font I use, I might see a quarter of a cursor (lower right rectangle not flashing) in the wrong place, or no cursor at all. Still, the line I'm on highlights and the column number is displayed in the lower right. I've tried a mix of…
Philip
  • 7,253
  • 3
  • 23
  • 31
8
votes
1 answer

How to set the Shift + End to select to the end of line?

I'm using MonoDevelop 2.6 on MacOS X Snow Leopard. Is there a way to customize the Shift + END (and Shift + Home) key combinations to select only to the end (or beginning) of the current line, not to the end of the document? I suppose there is an…
Emanuele Sabetta
  • 1,571
  • 12
  • 34
8
votes
1 answer

Key binding in Eclipse for Maven package command

I want to bind the mvn package command in eclipse. So I used the normal procedure to do this: Window->Preferences->General->Keys and then I filtered for Maven. The only commands that showed up were Run Maven Build, Run Maven Install, Run Maven…
Bryan Glazer
  • 81
  • 1
  • 1
  • 2
8
votes
1 answer

Synchronize VS Code Keyboard Shortcuts between Windows and Unix

VS Code has a "Settings Sync" feature to synchronize settings between different installations. However, it does not sync Keyboard Shortcuts across platforms. I want the same Keyboard Shortcuts for both Unix and Windows, and I want it to…
8
votes
3 answers

Tkinter how to bind to shift+tab

I'm trying to bind the SHIFT+TAB keys, but I can't seem to get it to work. The widget I'm binding to is an Entry widget. I've tried binding the keys with widget.bind('', func), but I get an error message saying: File…
Daniel Huckson
  • 1,157
  • 1
  • 13
  • 35
8
votes
1 answer

Force Magic Keyboard Home and Ends keys to behave like Windows in macOS High Sierra?

I am a full-time .NET Developer, so I work in Windows 10 at work; however, I definitely prefer macOS and use it at home. I am a constant user of the Home and End keys and they make me so much more efficient. Is there any way to force the Home and…
Nick Alexander
  • 1,543
  • 1
  • 14
  • 26
8
votes
3 answers

Remove xcode keybinding

I'm making changes to the default keybindings and getting some conflicts. Just unsure how I can unmap a keybinding that I don't need? I tried to hit delete on when selecting the shortcut in the list but to no avail. P.S. I've tried double clicking…
John Mike
  • 1,895
  • 3
  • 17
  • 26
8
votes
2 answers

Bind any key pressed to command in VM WPF

I'm trying to bind any keyboard key pressed to a command in the ViewModel. I know that I can bind a specific key, using: Can I bind all key…
Idanis
  • 1,918
  • 6
  • 38
  • 69
8
votes
4 answers

Multimedia Keys in Python (Linux)

I want to detect when the XF86Launch1 key is pressed on my keyboard, using Python. I have a headless server with a Bluetooth connected keyboard. I'd like to launch a command-line program whenever a specific multimedia key is pressed. At the moment,…
Terence Eden
  • 14,034
  • 3
  • 48
  • 89
8
votes
2 answers

KeyBinding on a TreeViewItem

I have a typical treeview and a viewmodel. The viewmodel has an observable collection of other viewmodels that serves as a data source for the tree. public class TreeViewVM { public ObservableCollection Items { get; private set; } …
Andrei Rînea
  • 20,288
  • 17
  • 117
  • 166
8
votes
4 answers

is it possible to map Vim key bindings for windows, just like vimium for chrome

is it possible to map Vim key bindings for windows? just like vimium for chrome. I don't like the mouse sometimes. using vimium, I can press 'f' to generate 'names' for the link, and just press the name to open the link, it's awesome!
ZHOU Ling
  • 564
  • 1
  • 7
  • 13
8
votes
4 answers

How to make a buffer-local key binding in Emacs?

I've been working on an Emacs minor mode lately and part of its functionality was displaying images in separate buffers. So far I've been using a function like this: (defun create-buffer-with-image (name) (let ((buffer (generate-new-buffer name)) …
Wojciech Gac
  • 1,538
  • 1
  • 16
  • 30
8
votes
2 answers

Create a single key-binding that fires a command every time control is pressed with any number and then passes the number as a parameter?

I need to create hot-keys for every control + number combination and would prefer not to have create ten commands. Is there any way to do this?
Justin
  • 2,399
  • 4
  • 31
  • 50