Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
63
votes
3answers
35k views

Notepad++: Ctrl-S does not Save, instead inserts [DC3]; Ctrl-F inserts [ACK]

I've been using Notepad++ more as my primary code editor. Just a few minutes ago, however, I accidentally pressed some combination of keys (no idea what I pressed) and suddenly my standard shortcut ...
53
votes
4answers
67k views

How to re-map command and option keys on Mac OS X with a PC-keyboard?

in my keyboard the command key is mapped to the windows key (I'm using a regular PC keyboard) so I only have a left command, because the space on the right is occupied by the useless Fn key. I've ...
47
votes
3answers
6k views

Keys all switched on keyboard

My friend/enemy switched the keys on my keyboard as an April fool's joke. When I press Y, Z appears on the screen. Some keys work like b, x, g, i, d, and a few more. Also, when I press ctrl, it ...
43
votes
5answers
30k views

How to swap the “fn” use of Function keys on an Apple Keyboard in Linux

I have an apple slim keyboard (USB) and if I want to use one of the Function Key as-is, I also have to press "fn " key first. Otherwise, it will try to perform the other function of the key, such as ...
36
votes
7answers
45k views

Synergy Key Mapping

I'm running a Synergy server on Ubuntu and a Synergy+ client on OSX. The server has a standard windows keyboard with shift, ctrl, windows, and alt keys. My MacBookPro has shift, fn, control, alt/...
36
votes
2answers
47k views

How to change console keymap in Linux?

I'd like to exchange Esc and CapsLock in console (not in X, and use xev), how can I do it? My OS is Ubuntu.
25
votes
5answers
152k views

Permanently change default language and keyboard settings - what am I missing?

I'm trying to configure a Debian Linux (ARMHF 3.8.13-bone20) on a BeagleBone Black to use German as the default language and keyboard layout, which does not work, and I can't see why. I'm talking ...
23
votes
6answers
24k views

How to map the Caps Lock key to Escape key in Arch Linux

My OS is Arch Linux amd64, Gnome ENV. I want to map the Caps Lock key to Esc (escape) in Arch Linux. I run the command: xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape' It works well, but a ...
23
votes
8answers
12k views

Mapping Super+hjkl to arrow keys under X

I'm trying to map: Super+h -> Left Super+j -> Down Super+k -> Up Super+l -> Right globally under X. The idea is I don't want to leave my home row that often to use the arrow keys, so I'...
22
votes
13answers
258k views

How can I type a backslash with no backslash key?

I'm trying to use a UK keymap on a physical US keyboard on my notebook (Asus Zenbook UX31E). My keyboard has vertical bar and backslash (| and \) above the Enter key, but I get hash and tilde instead....
15
votes
1answer
14k views

Swap Control and Caps Lock on Windows 7

How can I swap my Control and Caps Lock keys on Windows 7? I've found several options online but all are for previous versions of Windows.
14
votes
4answers
14k views

Map Caps-Lock to Control in Windows 8.1

Before the Windows 8.1 update, I was able to map Caps-Lock to Controls through the type of registry tweak in this post: Remapping a keyboard key in windows 8.1 However, after updating to 8.1, my ...
14
votes
2answers
15k views

Remap FN to another key

I got a keyboard (Logitech Wave, pictured below) which I'm very happy with. Unfortunately, the manufacturer has changed the button for right-click for a FN key. Is there any program to remap the FN ...
13
votes
3answers
20k views

Remap keys without xmodmap or any X tools

Due to a coffee accident some numbers of my laptop's keyboard stopped working. I used xmodmap to use F1, F2, etc, as replacements and saved the configs to ~/.Xmodmap. However, that caused a few ...
13
votes
3answers
1k views

In Linux, how can I map SHIFT_L/SHIFT_R when pressed without additional key?

Today I found this very nice article by Steven Losh in which he presents a couple of productivity boosting keyboard mappings. Among them is a dynamic mapping of the left and right shift keys. The ...
12
votes
1answer
12k views

Mapping Left Alt key in Vim?

I am able to map the key combination Right Alt+Left Arrow with <a-left> or by <m-left>. But I am not able to map the Left Alt key. Is there a way to do that? Edit: Just to clarity <...
10
votes
1answer
8k views

How do I make Mac OS X remember “Modifier Keys” remappings for my external keyboard?

(to be clear, I know there are similar questions such as "How can I remap windows and alt keys in OS X?" - I'm not asking that. I can make the changes I want, they just get reset every time I unplug ...
9
votes
3answers
10k views

How to use the ALT key in a Virtual Box guest session?

I'm running a Virtualbox session of Windows XP (guest) from a Sabayon GNU/Linux system (host). I'm doing projects with Adobe Illustrator CS2 and some of the functionallity is accessed with left mouse ...
9
votes
3answers
5k views

How to get the key name to be coded for keymap in vimrc?

In Emacs, I can press Ctrl-h, k, to describe a key. I can get the key name even it's undefined, e.g., C-x <C-M-end> is undefined Thus, I got to know the key name is C-x <C-M-end>. But ...
8
votes
1answer
1k views

Linux 'compose' key sequence extensions

Compose key is a great way way to write all these ©–®—… stuff. It's really MUCH more handy than the windows "alt+0169" method. Is there a way to define additional sequences? E.g. I'd like to have "...
7
votes
7answers
3k views

Control-Backspace (unix-kill-rubout) for readline?

In readline(3) I should be able to map Control-Backspace to the same function as Control-W (unix-kill-rubout). Regardless of what I put in ~/.inputrc I'm unable to get this to be recognized. \C-\b: ...
7
votes
4answers
9k views

Remap “next song” key in ubuntu to work with spotify and wine

I want to change song in spotify with a global key in ubuntu. This is possible on windows with a special key on keyboard, the "next song key"(?) How can I remap a key in ubuntu(no "next song" ...
7
votes
4answers
7k views

Rebinding Keys on a Dell Keyboard

I have a Dell Multimedia Keyboard, similar to this one: It has many non-standard keys, like the small circular ones across the top, and the "Multimedia" keys above INSERT/HOME/PAGE_UP. They can be ...
7
votes
2answers
3k views

Map Context-Menu key to Alt Car (right) [duplicate]

I had my laptop for quite some time and just can't get used to the fact that my right alt-key is next to the context-menu key. Whenever I want to do coding special-characters, a menu pops up and has ...
7
votes
2answers
4k views

Enable Function Keys on OSX 10.6.8 with Razer Anansi

After installing the Razer Anansi OSX driver (1.01) from Razer, it appears my function keys have reverted to the default "special" keys. For example, F1 and F2 control the brightness of the screen ...
7
votes
3answers
2k views

Remap caps lock to escape in OS X

I've always remapped my caps lock key to escape in windows/linux, but having just recently moved to OS X I can't seem to find a way to actually do this. Any idea as to how to set this up? Xmodmap ...
7
votes
1answer
2k 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 ...
6
votes
2answers
475 views

F3-F5 keys incorrectly behaving as audio keys

I don't know if this is a configuration issue or a hardware issue, but I have a Kinesis Advantage USB keyboard and for some reason the F3-F5 keys aren't responding as they used to. They don't respond ...
6
votes
3answers
3k views

Switch the keys caps lock and shift

Is there a way to switch the shift key with the capslock key? I have a problem with the shift keys, and I would like to use the caps lock keys, instead of the left shift key. Mac OS X settings allow ...
5
votes
2answers
9k views

How to remap a NERDTree shortcut in VIM

I use the Dvorak keyboard layout with VIM, and the 't' key is the 'up' motion when editing a regular file. The problem is that NERDTree remaps 't' to open files in a new tab. How can I undo that ...
5
votes
3answers
6k views

Mapping Ctrl+Arrow for Home/End/PageUp/Down

I'm using Windows 7 on Dell New Inspiron 14z Ultrabook. It doesn't have Home/End/PgUp/PgDn keys. Instead I have to use Fn + arrow keys. Can I re-map those to Ctrl + arrows or Alt + arrows or Shift + ...
5
votes
1answer
3k views

windows 8 tablet keyboard has no pause break key

I've got a Samsung Slate Windows 8 tablet. There is no break/pause key on the bluetooth keyboard. How can I remap those keys or is there a work around? These keys are relevant to programmers as ...
5
votes
2answers
5k views

Remapping right command key to right alt in Mac

For my keyboard layout, I've grown used to having they key right next to my space be Alt-Car (right). Now that I'm on a Mac keyboard, it's Command. Is there any way to map only the right command key ...
5
votes
2answers
2k 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....
5
votes
3answers
7k views

Which keymap should I use for a wired Mac keyboard in Gentoo Linux?

I just purchase the new wired Mac keyboard: Running on Gentoo Linux it works mostly fine. The only problem I am having is the function keys and swapping the Alt and Command keys to resemble a regular ...
5
votes
4answers
2k views

How can I have my Windows keymap on Mac?

On Mac, to get a "{" for example, you have to press OPTION key plus 8 to get a curly brace. But on Windows it is ALT-GR plus 7. Another example: On Windows I can press CTRL and Backspace to remove ...
4
votes
3answers
2k views

Vim Hotkeys For Specific File

Is it possible to set hotkey for specific file types in vim. For example, if I am editing a .java file, I'd like vim to run javac .java when I press 5. Is this possible?
4
votes
4answers
5k views

Is it possible to bind a windows key combination to currently open application?

I use launchy on every box that I have to interact with for more than a few hours a day, and it certainly makes me more efficient, but I want more. I would like to have a key combination that would ...
4
votes
1answer
2k views

Mapping s-tab in vim

I'm trying to set up some basic configuration for vim to make it more useful for myself. One of the things I'm trying to do is map shift+tab to a literal tab character, since my vim configuration sets ...
4
votes
1answer
787 views

Japanese Keyboard

I'd like to get a Japanese keyboard for a custom project (reason Japanese is good is the small space bar giving way to lots of modifier keys). I will be respraying the keys, so (superficially) the ...
4
votes
4answers
15k views

How do I type a single tilde (~) on a French keyboard

I am a Brit working on Unix in a French company - I am more or less used to the French keyboard now, but one problem I still have is typing a tilde (~). The best I can do is either: Alt-Gréé ...
4
votes
1answer
2k views

Bind/map Character to alt+[some key]?

OS: Ubuntu In programming and various terminal programs (Screen, Vim) the [, ], { and } tends to be used a lot. I'm using a Norwegian keyboard where these are placed such that I have to stretch my ...
3
votes
8answers
9k views

Backspace in Google Chrome not “back to last page”?

In the beta version of Chrome on the Mac Backspace is not working as 'back' as in virtually any other browser. It just does nothing. Is there a way to activate that or is that a known but still ...
3
votes
1answer
22k views

How do I change the XRDP keyboard layout to en-gb in Ubuntu 12.04?

Does anybody know how to change the keyboard layout to en-gb in an XRDP session on Ubuntu 12.04? I am using mstsc.exe to connect to an XRDP server hosting an XVNC session, however I cannot work out ...
3
votes
3answers
1k views

Can I change the mouse button bindings in Netbeans?

Is it possible to change the bindings for mouse4 and mouse5 (the thumb buttons) in Netbeans? I can't find any option in the NB keymapper, nor can I find anything on Google! I'm using Netbeans v7.0.1.
3
votes
1answer
7k views

How to map keyboard to mouse buttons in OS X

Severe RSI is causing me pain each time I click the mouse. I would like to map the right CMD and OPT (which I never use) to function as left and right mouse button. How can I accomplish this?
3
votes
2answers
1k views

Vim: go to beginning or end of the visual area

I want to do some tricky mappings that wraps currently selected visual area with some code. In order to do that I need to make sure that I am at the beginning of the current visual area. Is there any ...
3
votes
3answers
4k views

Remap laptop brightness keys to Fn + Arrow keys

My new Dell laptop uses Fn+F4 and Fn+F5 to adjust the brightness of the display. How can I remap this to the Fn+Up and Fn+Down key combinations that I'm used to?
3
votes
1answer
989 views

keymap swap underscore and dash

I have noticed that when coding I type underscores much more often then dashes. Is it possible to swap these keycodes so I can type shiftless underscores? I am using linux (chromebook developer mode).
3
votes
1answer
2k views

Linux Mint (Mate): use xkbcomp to load a keyboard layout on startup

I'd like to load a custom keyboard layout on login, but either it doesn't load or it gets overridden by the default keyboard layout from 'keyboard preferences'. Unfortunately I can't select my layout ...