Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [key-binding]

The tag has no usage guidance.

1
vote
1answer
21 views

Bind Middle Click To Keyboard

does anyone know a way to bind the middle click function of a mouse to a key in ubuntu? Something like this answer here: https://askubuntu.com/questions/7769/keyboard-shortcut-for-pasting-the-primary-...
1
vote
1answer
48 views

How to provide a true alias key sequence in emacs?

I would like in Emacs a key sequence FOO to be an true alias for a sequence BAR. Whenever FOO is entered it should perform the same action as entering BAR does. I cannot use something like: (global-...
1
vote
1answer
36 views

Custom Keybinds that don't interfere with other programs

I have a logitech G710+ keyboard, and it has several programmable G keys on the side: My main issue is, I'd like to create some keybinds that I can use in other programs, that normally don't ...
1
vote
0answers
16 views

Key binding with shift not working on Debian + Cinnamon

I'm trying to use a key binding with alt + shift + 1, but it is not recognized. To check I created a personalized shortcut and when I pressed these 3 keys, it showed Alt + 1... Thank you for your ...
1
vote
0answers
38 views

Can I use Excel keybindings in Libreoffice Calc?

LibreOffice Calc has its own set of keybindings, which is different to those in Excel. Is there a "compatibility mode", or some way to match Excel's keybindings? I know I can change the bindings one ...
1
vote
1answer
27 views

Key binding for character insertion won't work in sublime text 3

I am trying to make my sublime text 3 instert a "<" character if I press alt + z, and ">" if I insert alt + x since my keyboard has no <> keys. I managed to make this work properly in Sublime ...
2
votes
1answer
357 views

How to enable emacs keybindings on macos globally?

I have a macbook pro 2015 that runs on High Sierra. I want to use emacs key-bindings or shortcuts for regular things like copying and pasting. For instance, I want to use "M-w" to copy instead of "...
0
votes
0answers
28 views

Creating DefaultKeyBinding.dict for German umlauts

To type German umlauts on a US keyboard, I followed the advice in this answer and set up a file DefaultKeyBinding.dict at ~/Library/KeyBindings/ with the following content. { "~a" = (insertText:, ...
0
votes
1answer
401 views

How do I bind a mouse button (specifically the scroll wheel buttons `4` and `5`) to a keyboard key on Arch Linux?

The scroll wheel on my mouse is broken (though middle-click still works, apparently) and I would like to bind two of my keyboard keys (yes, I have spare keys for this) in such a way as to emulate ...
0
votes
2answers
838 views

How to bind a key to left mouse button perfectly?

I am very new to AutoHotkey and I want to know if it's possible to bind a keyboard key to mouse left button one to one? Like if I hold down the key assigned to left click it would hold as if I'm ...
0
votes
0answers
19 views

Is it possible to change the key for “Open in new tab” from the context menu of a bookmark icon

I always open every link in a new tab using the T key. Now, for some god awful reason, that same key, when right clicking a bookmark icon on my bookmark bar, deletes that entry. I want to change ...
3
votes
1answer
125 views

How can I change key bindings in MAMP using “and”/“not” logic?

How can I use and not logic in mame hotkeys? I figured out how to set or, by just setting new and new hotkeys. But and and not? Also, where the hotkeys are stored, how to backup them?
0
votes
1answer
71 views

Is it possible to bind the same hotkey to two different functions in VLC media player?

The only thread I could find on this topic is from 2007 on the VideoLAN forums. I wanted to know if it's possible to bind one hotkey to two different functions using the VLC interface. For instance, ...
1
vote
0answers
27 views

Use standard macOS text editing behavior in Microsoft Word for macOS

Is it possible to use the standard macOS text input behavior (keyboard commands) in Microsoft Word for macOS? For example, CMD+Backspace in a native macOS text input field deletes the entire row, ...
1
vote
0answers
52 views

Configure keyboard codes on the client-side to move PuTTY cursor between words

Related to StackOverflow Bash CTRL to move cursor between words/strings. While that thread provided good answers on the server-side, I'm looking for ways to control this on the client-side. I have ...
0
votes
1answer
219 views

Keybinding on Lubuntu

I would like to bind few keys to the characters "\" "{" "}" on my 32 bits Lubuntu Netbook. I was able to do it using Xmodmap : xmodmap -e "keycode 135 = backslash slash" xmodmap -e "keycode 48 = ...
0
votes
1answer
170 views

Binding on AutoHotkey isn't working?

I'm new to AHK and I'm trying to write a script which does the following: I press F3 and then there is a mouse click at certain coordinates on the screen and then the cursor goes back into its ...
1
vote
1answer
116 views

Vim mapping for .vimrc only

I know about autocmd FileType <TYPE> inoremap <MAPPING> for files like *.html. But i would like to create some keybinds for within my .vimrc like this: autocmd FileType vimrc inoremap ;...
0
votes
0answers
74 views

zsh: bindkey to only bind spaces not working

I run this command in my zsh: bindkey -s ' ' 'ls\n' and it was working nicely, when I press space twice, the ls command is executed. But when I add the exact same line to my .zshrc it does not ...
1
vote
0answers
50 views

Possible to set per-session/context-sensitive key bindings in tmux?

I do everything in tmux, so I have a stanza in my .bashrc to create/attach to a session whenever I enter a shell. Sometimes, I ssh into a machine that shares the same configuration. So I'm already in ...
1
vote
0answers
257 views

Delete key under iOS with Microsoft Universal Foldable Keyboard

I use the Microsoft Universal Foldable Keyboard with an iOS device (iPhone SE running iOS 10.3.2). I am trying to get the Delete key to work. I read on this data sheet that with the iOS key binding, ...
1
vote
1answer
62 views

Vim copy preserving cursor location

I would like to have a shortcut in vim that performs a line duplication, without messing up the cursor's position. Simply yanking and pasting always moves the cursor to the beginning of the next line, ...
2
votes
1answer
1k views

How to bind a mouse click to open task-view in Windows 10

I use the Sketchpad on Windows Ink Space a lot on my tablet and sometimes I wish to switch between applications without closing the Sketchpad and without moving much - ie: quickly swap to task view, ...
1
vote
1answer
218 views

How to enter Vi / Vim command mode with `;` instead of `:`?

When using Vi or Vim, I need to perform the following sequence to save a file: esc + :s But the : key is hard to reach on my keyboard. So I would like to switch : and ; so that I can type esc + ;s to ...
0
votes
1answer
363 views

How to disable Navigation Keys in Bash Shell?

I've did a serious research on Google Web and Stack Exchange websites prior asking the question, and come across to keywords and got acquainted with their meanings such as bind, bind -r, read, /etc/...
0
votes
0answers
77 views

How to stop Windows from overriding Alt modifier key?

I use an application (Blender) that makes use of a keyboard shortcut (Alt S) that is in conflict with Windows 8. The expected behavior is that Alt S will trigger the "Shrink/Fatten Geometry" function, ...
4
votes
1answer
481 views

Cannot make function key bindings (F1-F12) to work in byobu with tmux backend

I use Ubuntu 14.04 and have the latest version of byobu installed via apt-get. It has always worked flawlessly but started showing some weird behaviour just recently with no obvious reason. I use it ...
1
vote
0answers
58 views

Linux: How can the back/forward mouse buttons be configured to drag and resize windows?

My Logitech mouse has one extra button for going back, and another one for going forward. I figure I'd get more use out of them if I could instead use those two buttons to drag and resize windows, ...
0
votes
1answer
52 views

XKeymacs: how to bind to C-S-s?

I'm trying to make XKeymacs translate Ctrl+Shift+s key binding to VisualStudio's File.SaveAll command. But I can't find the correct notation of this key binding. So far I've tried several options, ...
1
vote
2answers
523 views

How to find the same comfort of Mac keyboard and save myself from pinkie finger stress disease?

I'm so used to the comfortable layout of Apple keyboards and I like to use the command key for the most often used combination shortcuts (command-C for copy, command-V for paste and so on), which is ...
3
votes
1answer
3k views

How to bind key on midi keyboard to send enter input?

I have a midi keyboard connected to my Windows 8.1 x64 PC and I want to setup one of it's key to send enter input, I want one of it's keys to behave like enter. Is it possible to do and if so - how?
0
votes
1answer
110 views

AHK replaces Alt+Shift+LMB to Alt+Shift+Ctrl+LMB?

I'm newbie in AHK, but i could compose few scripts to one. This: ` !+LButton:: SendInput {MButton down}{RButton down} Loop { Sleep, 10 GetKeyState, state, LButton, P if state = U ...
4
votes
1answer
503 views

How to map CTRL+A, CTRL+E to function as Home, End system-wide?

Is there a way to map CTRL+A and CTRL+E to work system-wide as move to beginning of line, and move to end of line correspondingly? I.e. I would like these shortcuts to seamlessly work in any app, ...
0
votes
1answer
288 views

Mac OSX Ctrl+Shift+Tab not working on USB full-size Apple Keyboard

I noticed today that while Ctrl+Shift+Tab behaves as expected on my MacBook Air, it does nothing across apps (I tried Google Chrome and iTerm) when I'm using my USB-connected full-size Apple keyboard. ...
1
vote
0answers
81 views

Shift Key won't work with F1,F2 etc. keys in gnome2. What could be the reason?

I have a vnc session with gnome2 desktop. The following are couple of examples where multiple key press working as expected and the last two examples have unexpected results (with F1 & F2). ...
0
votes
2answers
203 views

Alt+U started producing € sign

For a long time I have been using Right Alt+U as a shortcut for starting an application in my OS. It's the one where you type the name of an app in the Start menu, open Properties and under Keyboard ...
0
votes
0answers
38 views

applescripted keybinding issue with extended keyboard's number keys

I've written an applescript that remaps the Switch to Desktop n commands to the extended keyboard's numbers instead of the main keyboard. I've looked up the codes and they are Key codes 82 - 92. The ...
1
vote
1answer
119 views

AHK (Binding keys)

I'm trying to bind the following keys. I want to be able to use Shift+LeftArrow to navigate between two windows. Since I mainly use these two windows in one monitor It would be great to move ...
1
vote
2answers
93 views

How to fix keystrokes in X11 tunnelling?

I'm ssh-ing into a server environment. As long as i'm in the console, all my keys work fine. However, when I am displaying an application from the server (via X11, using ssh -XY), several keys on my ...
0
votes
0answers
37 views

How to list the current key binding in Windows 7? [duplicate]

Is there some tool for windows 7, which can show the list of current key bindings? I need to find out why a key binding, which works well right after reboot stops working after some time.
1
vote
1answer
828 views

AHK keymapping and Joysticks

I've been trying to make a AHK script work with my Logitech F310 gamepad. There is 11 buttons on the controller total, however it doesn't recognise the 11th button being an actual button, even Windows ...
2
votes
1answer
5k views

How to make window-key open terminal on raspberry pi?

I'm trying to get the window key on my keyboard to open the terminal of my Raspberry Pi. Is this still possible. Everything I've found on google thus far has been from 2012 or earlier. What I've ...
1
vote
0answers
78 views

GNU-Screen super-key as escape

The super-key (windows key, et al) isn't representable using ascii or terminal escape sequences, so I doubt a tty-oriented utility like screen would support it, but does it? Can I use the super-key ...
0
votes
2answers
769 views

xsetwacom - unable to bind a button to square brackets

I'm trying to bind the keys of my Wacom Intuos Pro to various handy shortcuts that I'd normally do with the keyboard. My OS is Xubuntu 15.04 but I'm following this section of the Arch Linux wiki on ...
1
vote
0answers
310 views

Ubuntu Alt+AltGr+Q not working

I would like to know why I have this weird problem. Some sets of keybinding are not working. As example, Alt+AltGr+Q doesn't do anything at all. I check it with xev for the keystrokes and I press ...
70
votes
8answers
79k views

Map capslock to control in windows 10

In windows 8 I used to remap my capslock key to control using the registry script REGEDIT4 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] "Scancode Map"=hex:00,00,00,00,00,00,...
2
votes
1answer
655 views

Simulating mouse (or joystick) movement with keyboard in Win 7

Pretty much what the "Mouse Keys" that can be enabled via the Ease of Access Centre do, only those are useless because they are extremely slow and have a delay at the start. Some more info: There's a ...
3
votes
1answer
6k views

Cannot type square brackets in Word 2013 with Ctrl + Alt on German and similar keyboard layouts

Word 2013 (Office 365) has actions assigned to some key combinations that are needed to type normal characters for example on Swiss, German and Canadian French keyboard layouts. The most annoying ...
0
votes
1answer
1k views

how to change the right control key in a super/hyper modifier in emacs

I'd like to change the right control key along into a "super" modifier and right alt key into the "alt" modifier (not the Meta) in Solaris and Linux (as I know how to do that in Windows using ...
0
votes
1answer
612 views

How to configure Emmet in Sublime to enable comment shortcut?

Since I have enabled Emmet in Sublime 2, some commands don't work properly. How can I enable what seems to be the default functionality, when in HTML file typing cmd + / in front of <script ...