Questions tagged [key-binding]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

How can I get all the “hidden” key-bindings on my Linux?

I am using Ubuntu 20.10, with GNOME 3.38 and X11. I have an Italian keyboard. My keyboard does not have tilde or backtick printed on it. On this question I discovered I can type tilde with AltGr+^ (~) ...
0
votes
0answers
11 views

Create a key binding to execute multiple commands?

In Sublime Text, I want to take a selection, and Split to lines Move cursors to beginnings of lines Insert “•” at each line beginning Place cursor at beginning of first line Can I do this with just ...
1
vote
1answer
32 views

Wrap text using zsh bindkey

I'm trying to make a keyboard shortcut which wraps the current command in the terminal like this: ($current_command && say done) || say error I've got it partially working with: # ~/.zshrc ...
0
votes
0answers
2 views

Windows 10 configure application precedence for capturing key strokes

I am running windows 10, and from time to time need to remote login to a mac. And I have since encountered some key stroke capturing issues. So I have the wox launcher bond to Win + Space. And if I ...
1
vote
1answer
62 views

VLC - How to assign multiple hotkeys to the same action?

Here're my current hotkeys: Action Hotkey Short backward jump(10s) J Play / Pause K Short forward jump(10s) L Given this config, I'm losing Space for pausing/playing, so the question is, how to ...
0
votes
0answers
39 views

How do I stop Snip & Sketch from hijacking the 'Windows + Shift + S keybind?

Recently, I tried uninstalling snip & sketch because I wanted to switch to ShareX. I was used to using the windows + shift + s keybind, but I realized I couldn't stop snip & sketch from using ...
0
votes
1answer
31 views

Is it possible for an extended ('gaming') keypad to not duplicate keyboard keys?

I've been looking for an extended keypad, often called gaming keypads. These are like half keyboards that sit off to one side and can be used with one-hand. This is an example. I have no experience ...
0
votes
0answers
22 views

How to remap Super key properly

My super key arbitrarily stops working properly. I logged the keypress as 248 using xev, then used xmodmap -e "keycode 248 = Super_L" just to make sure the right key was mapped, and then I ...
0
votes
0answers
12 views

How to use the numberpad shift key functionality in the Atom text editor?

I am trying to use the Atom text editor, but I am running into a problem with the keybindings in the application. My keyboard has the typical numberpad to the side, with different functionality ...
1
vote
1answer
20 views

Going from `view-source:https://example.com` to `https://example.com` in Firefox

In Firefox, when I want to view the source of a page, I often press Ctrl-U, which when I'm on https://example.com opens a new tab for view-source:https://example.com. Is there a way to do the opposite,...
0
votes
0answers
70 views

Linux / How to remap keys of a gamepad without affecting another keyboard

I have a Razer Orbweaver gamepad on which I would like to configure a custom keymap unter Ubuntu 20.04. The OpenRazer drivers only allow me to configure lighting, not keymaps. Other keymapping tools ...
0
votes
0answers
222 views

How to map ctrl+alt+h to ctrl+left using xmodmap or xkb?

Like the title said, I've been trying for hours and days, but can't get it to work. Initially I wanted alt+h/j/k/l to map to alt+left/down/up/right with xmodmap keycode 64 = NoSymbol NoSymbol keycode ...
0
votes
2answers
50 views

Assigning a keyboard key as a shortcut to another key combo

Is it possible in Windows to hijack say the F3 key to do Ctrl+L? Or the tab key to do Ctrl+F9 (not that I'd re-purpose tab, but just as an example). I don't mind installing a third party utility if ...
0
votes
1answer
22 views

bash unbind CTRL-W (bash 4.1 solaris 11.3)

I've looked through multiple old posts, but nothing is working. I've made the following changes to no avail: #file: .inputrc set bind-tty-special-chars off #I have a cursory understanding of what ...
1
vote
1answer
274 views

assign keybinding to windows terminal profile

I would like to assign to one of the new windows terminal profiles a keybinding, as in the following ("keys": "alt+shift+d"): { // Connects to a remote machine ...
1
vote
0answers
44 views

How to disable default key action (horizontal scroll wheel) in xbindkeys?

I'm currently using horizontal scroll wheel (MX Master 3) with xbindkeys (~/.xbindkeysrc) to control volume on Pop OS 20.04 (~Ubuntu) but currently it activates horizontal scroll along also, and I don'...
0
votes
0answers
29 views

How do you key bind on krita with a artist xp 12? And if so, what are the key binds to use?

I’ve recently bought a artist xp 12 And I’m struggling to key bind with the drawing program (Krita). I’m trying to be able to make the shortcuts easy instead of going back and forth between the ...
1
vote
0answers
188 views

Can't select text using keyboard in Visual Studio Code

For some reason, I can't select text using the keyboard in Visual Studio Code (version 1.45.1 on macOS 10.15.4). If I press Shift+right, the cursor moves right, but the text isn't selected. If I: ...
1
vote
0answers
87 views

Make readline edit input command in external editor (similar behavior as “edit-and-execute-command” from bash)

Background So far I've found readline very useful since just by modifying a single configuration file (i.e. ~/.inputrc), you are configuring all those programs that depends on readline. The programs ...
1
vote
1answer
25 views

Finish command from history

A couple of years ago I enabled "finish text" command on iTerm2 + ZSH. For example, if I had "git commit" in my command history in a new command window if I typed "gi" "t history" would be viewable ...
1
vote
2answers
107 views

Is there a way of mapping a key combination of a computer type a character?

M keyboard key "h" as failed to work and I want to be able to override any key combination to be able type it. In the meantime. An example would be Alt+P to return h and maybe Alt+shift+h to return ...
0
votes
0answers
83 views

Textboxes in Linux-based systems

I know this is a very wide-ranging question, but I hope someone can point me in the right direction. For a long time now, I have been really frustrated with the fact that textboxes in my Linux ...
2
votes
2answers
2k views

Run script when power button pressed

When I push the power button, I want to run a script. For the sake of this scenario, say file.sh. So when I push the power button, I want to run file.sh and only file.sh. Most of the solutions I found ...
1
vote
0answers
31 views

How do I bind the escape key to something else for the vim keybindings in Rstudio

I usually use jk or kj in vim as the keybinding for escape to enter normal mode. How do I do this for the vim keybinds in Rstudio?
1
vote
0answers
370 views

emacs keybindings in VS Code's Jupyter Notebook

How can I make emacs keybindings work on VS Code while editing a Jupyter Notebook? I am using the "Emacs Friendly Keymap" extension. It works great while editing normal files (text), but are ignored ...
1
vote
1answer
626 views

How do I add a custom keybind to a button on any website? [duplicate]

I am doing annotation work and the web interface is not user friendly at all. I would like to add my own keybinds to buttons like "clear current field" or "switch to a previous field" so I don't have ...
0
votes
0answers
42 views

How to make remap Alt to Win button when there are Xbox Game key-bindings

I would like to bind my LAlt to LWin button. I have the AutoHotKey script: LWin::LAlt It works great except for a few key sentences: Win-r, Win-g, Win-b. They have their roots in Xbox Game ...
0
votes
1answer
141 views

Sublime Text 3: Keybind/Shortcut for “Permute Selections > Sort”?

Is there some way to add a keybind for the following menu command? Edit > Permute Selections > Sort Also, if there is a comprehensive list defining how to properly reference all of the ST3 menu ...
0
votes
0answers
326 views

Bash binding ctrl + alt modifiers

I am not being able to bind Ctrl+Alt+u in my bash. I have followed this link but did not work for me. I can bind it to Ctrl+u with: bind '"\C-u"':"\"cd ..\C-m\"" and to Alt+u with: bind '"\eu"':"\...
1
vote
1answer
785 views

How to escape quotes & (semi)colons in tmux bind-key?

I'd like to do something like this bind-key -T root ' <some-command> bind-key -T root " <some-command> bind-key -T root : <some-command> bind-key -T root ; <some-command> # ...
0
votes
1answer
522 views

running ranger on urvxt in i3 with bindsym

I am trying to use bindsym $mod+Mod1+b exec "urxvt -e bash -c ranger" in my i3-config. It runs but many features of ranger is not accessible, like, I can't copy the file(/folder) path using yp When ...
10
votes
4answers
3k views

How to prevent VScode from closing editor when pressing ctrl+w with no tabs open?

According to the comment here: https://github.com/Microsoft/vscode/issues/50671 it's possible to edit this behavior in the keybindings, but provides no instructions for how to do so. How do I edit ...
1
vote
1answer
48 views

Key binding to create unordered list in Microsoft Word without changing font?

I'd like to use a key binding to create an unordered list in MS Word. I know that CTRL-SHIFT-L will create the list, but it will always change the font to Microsoft Sans Serif. How can I change this ...
2
votes
1answer
2k views

How to bind Option-Delete to backward-delete-word in zsh vi mode in tmux and alacritty terminal

I use alacritty and currently, I have these key binding key_bindings: # (macOS only) - { key: N, mods: Command, action: SpawnNewInstance } - { key: F, mods: Command, ...
1
vote
1answer
76 views

ZSH key binding to search backward/forward in buffer for [hardcoded list of chars]

I have [left arrow] [right arrow] mapped to backward/forward char, and [ctrl-left-arrow] [ctrl-right-arrow] mapped to backward/forward word" Sometimes I want to move back and forward to the previous/...
1
vote
1answer
747 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
108 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
343 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
41 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
153 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
188 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
1k 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 "...
1
vote
1answer
2k 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 ...
1
vote
3answers
4k 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 ...
3
votes
1answer
136 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
256 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
32 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
68 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
392 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
429 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
2 3 4 5