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
20
votes
1 answer

Vi Keybindings in DrRacket

Has anyone got any idea if drracket editor has got vi keybindings or if there is a plugin for that can activate vi keybindings within drracket?
cobie
  • 7,023
  • 11
  • 38
  • 60
20
votes
1 answer

Visual Studio keyboard generates wrong characters

Every now and then my keyboard in Visual Studio starts to behave wrongly. For example Shift + 3 inserts a pound symbol instead of a hash #. Shift + \ inserts a tilde ~ instead of a pipe |. When this happens it only affects the current instance of…
evan w
  • 552
  • 7
  • 15
18
votes
2 answers

Interpret zsh bindkey escaped sequences

I usually find interesting zsh keybinding settings (through bindkey command) around the web. My question is how do I interpret what these escaped sequences mapped to? For instance, here is a snippet from oh-my-zsh's key-bindings.zsh bindkey "^[[H"…
ejel
  • 4,135
  • 9
  • 32
  • 39
18
votes
4 answers

Emacs key binding for multiple commands

I'm new to emacs, and have a rookie question. I can bind a key to a particular function by (global-set-key (kbd "C-c a b c") 'some-command), where some-command is a function. How can I invoke two functions (say some-command and some-other-command)…
Ying Xiong
  • 4,578
  • 8
  • 33
  • 69
18
votes
8 answers

How to turn off alternative Enter with Ctrl+M in Linux

Why is Ctrl+M bound to Enter in Ubuntu Jaunty? How to turn it off? I'm using Emacs and would like to bind Ctrl+M to some other command.
Alex
  • 43,191
  • 44
  • 96
  • 127
17
votes
2 answers

How to bind Ctrl+/ in python tkinter?

works but doesn't. I am unable to bind ctrl + / in python. Is there any documentation of all the possible keys?
Abhishek Kumar
  • 179
  • 1
  • 1
  • 10
17
votes
2 answers

Bind shortcut to command palette command?

I just installed a plugin called CodeSniffer (http://soulbroken.co.uk/code/sublimephpcs), and I want to link one of it's commands from the command palette to a keyboard shortcut because I use it so often. Is there any easy way to do this? Or will I…
Jess
  • 8,628
  • 6
  • 49
  • 67
17
votes
1 answer

Why does Ctrl+. not work when I bind it to a command in Emacs?

C-. doesn't work in the terminal when I bind it to a command in Emacs. I tried this procedure on gnome-terminal and real terminal tty1. I start Emacs with the -nw flag, then press C-h k (the command for describe-key), then press C-.. Emacs only…
林 孙
  • 173
  • 1
  • 5
16
votes
1 answer

How to disable camel case selection in Eclipse

Is it possible to disable support for camel case in the Eclipse text editor? I want the next word key binding to select the next word, not the next fragment of a word. I'd given up on eclipse because the editor doesn't work like any other text…
Mark Lilback
  • 1,154
  • 9
  • 21
16
votes
2 answers

VSCode - Ctrl + Alt + L adds weird character. Need to get rid of it

I seem to have enabled an awkward mode in my VS Code editor that i cant seem to backtrack. I initially set my Ctrl + Alt + L keybinding to format the code in my editor. Which it initially did. After that - I don't know - I must have pressed some set…
16
votes
2 answers

How to rebind a key to "Continue" command other than F5 in Visual Studio?

In Visual Studio, F5 is used for both of StartDebugging and Continue, which is rather annoying. Because many other IDEs/Debuggers don't act in the same way, e.g. cgdb, IntelliJ IDEA. For simplicity and universality, I want to use one key-binding…
xmllmx
  • 39,765
  • 26
  • 162
  • 323
15
votes
3 answers

Mac generating ∆˚¬ characters instead of executing VSCode shortcuts that involve alt / option key

Problem When I type alt+j, I always get the character ∆, even if I've assigned alt+j to a keyboard shortcut within VSCode. The same is true for any other alphanumeric keys, but non-character-generating keys work fine with alt, like alt+upArrow. …
ultraGentle
  • 5,084
  • 1
  • 19
  • 45
15
votes
2 answers

How do I set a keybinding for an extension in VSCode?

I am using VSCode to write a Swagger (OpenAPI) specification and I want to make use of a specific extension to aid in the writing of that specification. The extension I have installed does not supply a key binding for me to easily invoke it…
d3r3kk
  • 3,465
  • 3
  • 18
  • 22
15
votes
3 answers

Key binding to wrap a selection with an html tag in VSCode

Is there a default key binding in VSCode to wrap a selection in an HTML tag like the keyboard shortcut Shift+alt+W in Visual studio 2015? I could not find anything similar in documentation or in the default keyboard shortcuts that indicates its…
bobbyK12
  • 179
  • 1
  • 1
  • 11
14
votes
4 answers

Changing VSCode keybindings on Ubuntu from linux-like to Mac-like

I am running on a Mac, and using VMWare Fusion to run Ubuntu, where I have VS Code installed. Naturally the default install on Ubuntu has linux-style shortcuts, in particular, control-c (copy), control-v (paste), control-w (close window.) To make my…
pitosalas
  • 10,286
  • 12
  • 72
  • 120