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
53 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 ...
user avatar
  • 11
1 vote
0 answers
35 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 | ...
user avatar
  • 11
1 vote
0 answers
100 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 ...
user avatar
0 votes
0 answers
20 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 ...
user avatar
0 votes
0 answers
11 views

key mapping no working windows 10

in my windows 10 the key mapping is weird. check below i typed alphabets. a b c d e f g h 5 1 2 3 0 n 6 - q r s t 4 v w x y z the bold keys are off mapped. and im not able to the issue. I cant afford ...
user avatar
3 votes
3 answers
97 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 "* (...
user avatar
  • 133
0 votes
0 answers
23 views

Set resume and debug to the same key in pycharm keymap

For years I've been using a keymap (IIRC carried over from visual studio circa 2005) where F5 is the same key for "debug..." and "resume program". However while setting up my ...
user avatar
0 votes
0 answers
78 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 ...
user avatar
  • 133
0 votes
0 answers
58 views

Unable to remap Windows Keyboard for Mac using Modifier Keys

I have Microsoft Wireless 850 Keyboard and I am trying to configure it for my Macbook (running Cataline 10.15). I followed this post and made changes to Modifier Keys on my Mac. But even after ...
user avatar
  • 1,731
0 votes
0 answers
22 views

How to fix Mac RealVNC keymap problems when connecting to Linux?

I'm using RealVNC (vnc connect) on Mac to connect to a Linux running in FreeNAS/bhyve. Both Mac and Linux have Finnish keymaps, but all the special characters are all over the place. For example, the ...
user avatar
  • 1
0 votes
1 answer
129 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&...
user avatar
  • 121
0 votes
0 answers
27 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?
user avatar
  • 1
2 votes
1 answer
115 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 ...
user avatar
  • 21
0 votes
0 answers
22 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 ...
user avatar
0 votes
1 answer
232 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%...
user avatar
1 vote
1 answer
215 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 ...
user avatar
  • 143
0 votes
0 answers
227 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 ...
user avatar
0 votes
1 answer
51 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 ...
user avatar
0 votes
1 answer
42 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 ...
user avatar
1 vote
0 answers
28 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 ...
user avatar
2 votes
2 answers
652 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 ...
user avatar
1 vote
1 answer
178 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 ...
user avatar
  • 157
1 vote
1 answer
915 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 ...
user avatar
1 vote
1 answer
349 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 ...
user avatar
3 votes
1 answer
133 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: :...
user avatar
  • 33
2 votes
0 answers
215 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 ...
user avatar
  • 2,886
1 vote
1 answer
212 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 ...
user avatar
  • 221
1 vote
0 answers
54 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 ...
user avatar
0 votes
1 answer
175 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 ...
user avatar
  • 111
0 votes
1 answer
99 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 ...
user avatar
1 vote
2 answers
2k 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 ...
user avatar
0 votes
1 answer
64 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 ...
user avatar
0 votes
0 answers
468 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 ...
user avatar
  • 101
0 votes
2 answers
2k 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 ...
user avatar
  • 1
0 votes
0 answers
75 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 ...
user avatar
  • 101
2 votes
2 answers
3k 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 '...
user avatar
  • 278
1 vote
0 answers
119 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 ...
user avatar
10 votes
2 answers
6k 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....
user avatar
  • 151
0 votes
1 answer
12k 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?
user avatar
0 votes
2 answers
398 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....
user avatar
  • 257
0 votes
1 answer
195 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 ...
user avatar
  • 105
0 votes
1 answer
856 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 ...
user avatar
  • 1
1 vote
1 answer
785 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 ...
user avatar
0 votes
1 answer
33 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 with effecting the other keyboard. What's the best way to do this? I'm running Windows 10. My main Keyboard is ...
user avatar
7 votes
1 answer
3k 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 ...
user avatar
1 vote
1 answer
3k 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 ...
user avatar
2 votes
3 answers
30k 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....
user avatar
  • 479
1 vote
0 answers
74 views

Is it possible to change what the windows button on the screen of HP Stream does?

I'm not talking about the windows key on the keyboard, it's the little windows icon/button on the screen of the convertible laptops (mine is an HP stream but I think other brands have the same button)....
user avatar
1 vote
1 answer
1k views

How to map ALT-return in .vimrc?

I'm trying to map a combination of left alt and return keys in my .vimrc, yet without success. I've added all those mappings to my .vimrc file, with no effect: map <M-esc> itest0<return>&...
user avatar
  • 111
1 vote
0 answers
237 views

Greek characters with Alt-Gr + letter in console?

I would like to implement some Greek characters into my keymap in the console (tty). I am using Arch Linux and the directory I am working in is /usr/share/kbd/i386/qwerty/uk.map, although I don't know ...
user avatar
  • 189