Skip to main content

Questions tagged [keymap]

A keymap is used to map certain keys or keyboard shortcuts to other ones, e.g. when using different keyboard layouts.

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

use notepad++ with visual studio code keymap

I want to use in Notepad++ the same keys of Visual Studio Code. I know that maybe there are some minor differences, or commands that works slightly different.
Emilio Platzer's user avatar
0 votes
0 answers
27 views

Remap only Right Ctrl without Karabiner-Elements

I'm constantly using option+arrow to navigate to the next/previous word. I used Karabiner-Elements to remap Right Ctrl to Right Option on my external (windows-like) keyboard, and the life was great. ...
Dmitry's user avatar
  • 113
1 vote
0 answers
39 views

Mapping left and right mouse clicks to keyboard button on linux

My laptop (linux) is getting a bit worn out and the buttons on my touchpad tend to get stuck, so I'm trying to map the left- and right-click to a keyboard key using xmodmap. As far as I understand the ...
Nmtpcb's user avatar
  • 21
0 votes
1 answer
77 views

Set neovim keymap for lazily loaded plugin within plugin's lua file

For my neovim config, I use lazy as a package manage and I separate my plugin configs into their own files in /nvim/lua/plugins. I recently installed [Glow][1], which I will only need on occasion, so ...
Tare's user avatar
  • 111
0 votes
1 answer
248 views

How to make the keymap work to swap shift character with non-shift?

My keyboar has on same key (') and (?), where (?) is activated with Shift key. I want to swap those, so I activate (') with shift and (?) without shift. PowerToys don't understand (?) as a key itself, ...
Student's user avatar
  • 797
1 vote
1 answer
947 views

How to set a specific key on wayland?

I already set ctrl:nocaps through gnome-tweaks to avoid pinky injury. However, I still need to have Cap Lock somewhere. On X11 I usually do printf "keycode 127 = Caps_Lock NoSymbol Caps_Lock&...
crocefisso's user avatar
3 votes
0 answers
590 views

how to map combination keys Fn+Fx to other keys in win10 without any 3rd-party application

I tried to map the total twelve Fn+Fx combination keys on my A4Tech kv-300 USB keyboard, like Fn+F12, to other keys, like enter key, in win10 according to Microsoft's doc but failed, although other ...
UpbtEZ's user avatar
  • 41
1 vote
0 answers
337 views

Using setxkbmap to have | Hyper, Alt, Ctrl, Space-Bar, Ctrl, Alt, Hyper |

Want to set a keyboard layout in the following way Keys: Hyper, Alt, Ctrl, Space-Bar, Ctrl, Alt, Hyper Perhaps using setxkbmap. I use a US 104-Key Mechanical keyboard, and want a Dvorak Layout, with ...
Veak's user avatar
  • 1
1 vote
0 answers
475 views

Difficulty remapping the Super-Key

Have been trying to change keymaps. Specifically, making the Super-Key to be remapped as the Meta-Key (Alt-Key). This is what I have originally setxkbmap -layout us -variant dvorak xmodmap -pke | ...
Veak's user avatar
  • 1
1 vote
0 answers
812 views

How to remap a keyboard key which outputs multiple key codes?

So I got this keyboard with this extremely atrocious design which was overlooked while buying: Why would you put a Euro key there?!!! Also, it doesn't even output the Euro sign on Linux. So ...
Anonymous Guy's user avatar
0 votes
0 answers
169 views

Mapping Specialized Computer Keys

I own an Acer Nitro computer, which comes with a "NitroSense" button which displays ACPI information on Windows once pressed. However, on Linux, pressing it doesn't do anything, and there is ...
matharpre's user avatar
3 votes
3 answers
723 views

How do I add a keymap into fish vi keybindings?

I've just started using fish and I'm loving using the vi keybindings it provides. I wanted though to add a custom keymap that I use in vi. I usually map space+c in visual mode to yank to "* (...
Augusto's user avatar
  • 133
2 votes
1 answer
1k views

How can I use eclipse keymaps in visual studio?

I have been an eclipse user, and when I switched to intelliJ I simply used the eclipse keymap in intellij. Now in my work, i need to use Visual Studio 2019. I noticed that it doesn't have eclipse ...
Zhen Liu's user avatar
  • 203
0 votes
1 answer
677 views

Mapping redo in insert mode VIM

How to remap a redo shortcut (Ctrl-R in normal) to Ctrl-Shift-Z in insert mode? It would be helpful since I mapped undo to Ctrl-Z like this: nnoremap <c-z> :u<CR> vnoremap <c-z> :u&...
Eldar's user avatar
  • 121
0 votes
0 answers
67 views

How to keymap num lk/scr lk to f13 in Debian 10 GNOME?

I have an X551MA laptop that I installed Debian 10 on, and I want to keymap keys I never use (for example, num lk) to more function keys (like f13). How do I do this in Debian 10 GNOME?
4D4850's user avatar
  • 1
2 votes
1 answer
2k views

how to map forward/backward buttons to w and s for game play

I have many mouse's with those buttons, and mouse clicks give left right up down movements in this specific game, and I have to use the keyboard w s for forward and back, is there a way to map the ...
STommy's user avatar
  • 21
0 votes
0 answers
35 views

Super (Windows) key presses are not registered

I have a notebook computer with full sized keyboard, however, the super (windows) key is not producing any output, e.g. when I try to bind it to some action, the mapping program is not seeing the ...
Slava Fomin II's user avatar
1 vote
1 answer
1k views

How to conveniently use Ubuntu with a Mac keyboard, using the MAC meaning of keys?

I access Ubuntu via Barrier keyboard sharing software. The keyboard is on a mac book. This functionally works but there is much cognitive overload with switching between the different key meanings. 90%...
Soylent Blue's user avatar
3 votes
1 answer
2k views

How to map Command key to Control key when using iTerm

I already mapped "Caps Lock" key to "Command" key using System Prefrences of macOS, as I use "Command" key frequently when using most application. When using iTerm2, I ...
aruku7230's user avatar
  • 163
0 votes
0 answers
649 views

Windows Terminal SSH Key Mapping

When ssh-ing from the new Windows Terminal to a Linux machine (I am not using WSL), the home/end/page up/down keys do not map correctly when typing in the Linux terminal (bash shell); they give tildes ...
HeorotsHero's user avatar
0 votes
1 answer
112 views

Control key capture set up through Chrome Remote Desktop (CRD) to Win10 running Vbox running Win10 VM

I have a Inception like situation. My local Win10 ( at Home) is running the CRD Apps connected to a Win 10 at work which is running in Vbox Win 10. I installed, in the VM Win10, SystInternals to use ...
The Prosaic Hacker's user avatar
0 votes
1 answer
111 views

mapping two case classes in scala on Lagom

I am a beginner with scala/Lagom, can someone help me with the following issue : I am trying to creat an Api for fields of products, in order to do that : I need to map case classes extending to a ...
Reda Arté Kejji's user avatar
1 vote
0 answers
45 views

Qwerty not working to corresponding number keys

My keyword is behaving in a strange manner, whenever I press W with 2 the keyboard does not registers 2 or @ key, but with other number keys it works simultaneously. Similarly: Q won't work with 1, W ...
Raunak Pandey's user avatar
2 votes
2 answers
2k views

How to map Option-Shift-digit keys in zsh using bindkey

I am running zsh inside tmux inside Visual Studio Code integrated terminal. I have a Swedish Keyboard and I am on a Macbook running macOS 10.15.4 Catalina. To get keys like meta-f and meta-d to work ...
Klas Mellbourn's user avatar
1 vote
1 answer
550 views

Mapping key in the tmux command prompt

I would like to map <C-p> to <Up> in the context of the tmux command prompt (the one that is opened by pressing <prefix>:) so that when pressing it, previous executed commands are ...
gfe's user avatar
  • 177
2 votes
1 answer
2k views

How to disable scroll lock key in linux, permanently?

My computer (Asus) doesn't have Scroll lock key; yet it's getting magically pressed, changing Libreoffice Calc behavior. There are multiple answers for Windows, and/or specific computer manufacturer ...
Berry Tsakala's user avatar
1 vote
1 answer
736 views

How to remap keys with modifiers on Windows 10

I've been searching around and can't seem to find the answer I'm looking for. I'm using a Swedish keyboard layout and everything is where I want it to be except the curly brackets. Currently I press ...
Trollblod's user avatar
3 votes
1 answer
493 views

My VIM basic imap mappings have no effect

Good afternoon, I am struggling with Vim mappings. I would like to practice over very basic ones such as "replace a-s with b-s", or "replace ù with /", but I do not succeed. Here are my trials: :...
Luc's user avatar
  • 33
2 votes
0 answers
329 views

What causes the scancode offset when using setkeycodes?

I tried to map scancode ffa000f1 to keycode 198 using setkeycodes: $ sudo setkeycodes ffa000f1 198 setkeycodes: failed to set scancode ff9f2171 to keycode 198: ioctl KDSETKEYCODE: Invalid argument ...
dirdi's user avatar
  • 3,275
1 vote
1 answer
1k views

How do I install a new custom keymapping in XKB?

I am attempting to install a custom symbols file in my keyboard mapping in XKB, as found here. I would like to overwrite how the J key is handled (the first step in emulating a numpad, but for now I ...
sgbrown's user avatar
  • 241
1 vote
0 answers
65 views

How to map NumPad1 to Alt+Enter?

I'm new to AutoHotKey, and I'm trying to map NumPad1 to Alt+Enter. I have done this by right clicking on the AHK window and editing script, which is in My Documents/Autohotkey.ahk and overwriting the ...
Mateusz Fryziel's user avatar
0 votes
1 answer
366 views

Ctrl + W works as if Ctrl + V... but only once

I'm having a strange issue with Ctrl + W on Windows 10. When I press Ctrl + W, it pastes my clipboard... the first time. But if I continue to hold Ctrl, and press W again, it prints "w". It's as if ...
Luke Needham's user avatar
0 votes
1 answer
204 views

Change return to control if pressed with other keys, to return if pressed alone… on Linux

My keyboard setup at home under MacOS uses Karabiner to "Change return to control if pressed with other keys, to return if pressed alone" and it works fine also inside Linux VirtualBoxes. At work I ...
Denis Cappellin's user avatar
0 votes
1 answer
6k views

my f1 f2 f3 f4 keys and 3 e d c keys do not work

My 3 e d c keys do not work. At first around 5 days ago they started to randomly work but now they completely do not work, I found out my F1 F2 F3 and F4 keys didn't work today as well doing a ...
William Feng's user avatar
0 votes
1 answer
141 views

Vim: Operator pending mode remaps not working

I'm trying to build a vimscript can be used with the Dvorak Simplified Layout. I.e., given that the keys on the keyboard plugged into the computer are laid out in the Dovark Simplified Layout (and the ...
Sergey Nikolayvich's user avatar
1 vote
0 answers
1k views

Japanese Keyboard: How do you use the symbols on the¥ key?

On a Japanese keyboard I can see that only the ¥ key has more than two Japanese symbols, i.e. ¥ , |, - and sometimes ¬. Which modifier keys (Shift, Alt, Ctrl etc.) do I need to press to get each of ...
Alex's user avatar
  • 111
0 votes
2 answers
3k views

Remap Delete Key in Outlook 2016 - Move to Folder

I'm in an industry where it would be best practice to keep all of my emails, however, they live in either my deleted items once i've actioned them. Currently using Outlook 2016 with Exchange. Our ...
Sam's user avatar
  • 1
0 votes
0 answers
78 views

Keyboard is behaving wrong in Dell XPS 13 DE after Startup

After startup, I got wrong output when I pressed some keys. 3 -> 34/43 d -> df/fd v -> cv/vc And some other keys. After few minutes. problem was fixed automatically. It happens every time when I ...
Shahriar's user avatar
  • 101
3 votes
2 answers
5k views

Change Keyboard Layout in TTY Permanently

How can I change the keyboard layout in the TTY aka text mode reached through the combinations Ctrl+Alt+F1 through F6 permanently? I tried sudo echo 'KEYMAP=de' > /etc/conf.d/keymap and echo '...
Alex's user avatar
  • 306
1 vote
0 answers
334 views

Changing what character is sent while pressing shift

I'd like to change they way my keyboard works. I want my < and > keys changed to " and " keys. Is there a way to change what the a key will send if the shift key is held down. I'm ...
Yuy Quan's user avatar
11 votes
2 answers
9k views

xmodmap how to remap keys and disable the original ones?

I'm considering getting a 60% keyboard and want to try out working with that layout before buying the actual keyboard. I'm trying to map arrow keys to caps lock + ijkl and disable the real arrow keys....
Tomas's user avatar
  • 161
0 votes
1 answer
23k views

X button control How to map keys to buttons

I want to map R and Shift to button 4 and 5 on my computer,how can I do this with X mouse Button Control?
lecheng li's user avatar
0 votes
2 answers
493 views

how to bind AltGr to Control_L in linux virtual console?

I want that my right alt AltGr behaves as my left control Control_L in linux virtual console. I use the showkey utility and found out that pressing AltGr generates keycode 100. So I wrote a rebind....
ninrod's user avatar
  • 257
0 votes
1 answer
421 views

Mapping <C, \> in vim

I'm trying to add a key mapping from Ctrl-j to Ctrl-\ s. This is to make my life a bit easier when using cscope. I've tried the following mapping: map <C-J> <C,\\>s but it doesn't seem ...
Byte Lab's user avatar
  • 105
1 vote
1 answer
1k views

Disable ESC key

the ESC key on my computer is bad and causes the computer to misbehave. i tried disabling by using xmodmap -e 'keycode 9=' But resulted in errors xmodmap: commandline:1: bad keycode input ...
null's user avatar
  • 21
1 vote
1 answer
1k views

Key mapping on Putty or Xterm

We have a lot of old PC's running Windows XP for the sole purpose of running a terminal emulator. Desperately want to get away from Windows XP, so have tried Ubuntu with Xterm and linux Mint with ...
CR15 BRN's user avatar
0 votes
1 answer
273 views

Two keyboards. Can I re keymap just one?

I have my main keyboard, and I also have an old PS/2 keyboard that I'd like to re keymap without affecting the other keyboard. What's the best way to do this? I'm running Windows 10. My main keyboard ...
Bradley Neon's user avatar
7 votes
1 answer
4k views

Any ideas why Microsoft Keyboard Layout Creator 1.4 refuses to work properly on my Windows 7 Professional 64-Bit?

I downloaded MSKLC 1.4 from from Microsoft's Download Center, Run [it] as Administrator but it refuses to display the keyboard layout after File → Load Existing Keyboard...: (Note the selected ...
Gerold Broser's user avatar
3 votes
1 answer
4k views

How to remap Right-Win and Right-Alt keyboard keys

... on a Unicomp Ultra Classic Buckling Spring keyboard in particular. I recently bought one of these IBM Model M revivals. A great keyboard with one slight flaw: there are no Power, Sleep, Wake keys ...
Gerold Broser's user avatar
3 votes
5 answers
40k views

Change Z and Y on an English keyboard on Win 10 w/o buying software

Hez guzs... or I mean, hey guys! Ugh! All I want is to have an English keyboard with Z and Y swapped. Why is it so hard to do? I do not want to buy a software just to have this little tweak going on....
Ev0oD's user avatar
  • 509