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
24 votes
2 answers
68k 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 ...
MrValdez's user avatar
  • 777
40 votes
3 answers
61k 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.
Vayn's user avatar
  • 511
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
14 votes
4 answers
15k 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 ...
ehuang's user avatar
  • 287
3 votes
3 answers
8k 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?
Ben V's user avatar
  • 4,392
1 vote
2 answers
7k views

Can I configure my Windows key to act like an Fn key?

I've always hated the Fn keys. Give me dedicated Home/End/PgUp/PgDnkeys any day. But then I got a new laptop (XPS 13), and used it almost exclusively for six months. Now I go back to my desktop, and ...
Codemonkey's user avatar
57 votes
5 answers
45k 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 ...
jfmessier's user avatar
  • 2,780
51 votes
9 answers
78k 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 ...
user avatar
35 votes
8 answers
21k 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'...
William Casarin's user avatar
8 votes
1 answer
2k 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 "...
kolypto's user avatar
  • 3,081
7 votes
1 answer
2k 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).
gloo's user avatar
  • 277
3 votes
5 answers
39k 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
1 vote
5 answers
6k views

Insert a newline in a perl -e statement?

Consider the following Perl one-liner: perl -e '$x; $y;' I'm executing this command in bash and I'd like to insert a newline (\n) between the ; and $y. I'd like to know how to do this in two ...
Lydon Ch's user avatar
  • 5,979
0 votes
0 answers
562 views

MacVim with Mac Keyboard: Where Is the Right CTRL Key? [duplicate]

Possible Duplicate: Emulating the ‘right ctrl’ key on MacBook Pro keyboard (which lacks an actual ‘right ctrl’ key) I can't seem to find it... and I want to use it for MacVim to facilitate typing ...
ma11hew28's user avatar
  • 709
73 votes
4 answers
112k 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 ...
Petruza's user avatar
  • 3,873
31 votes
15 answers
491k 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....
wim's user avatar
  • 3,167
17 votes
3 answers
31k 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 ...
Alex's user avatar
  • 2,076
15 votes
1 answer
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.
jrdioko's user avatar
  • 12.9k
11 votes
2 answers
8k 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
11 votes
1 answer
9k 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 ...
Paul Roub's user avatar
  • 277
10 votes
3 answers
15k 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 ...
q9f's user avatar
  • 1,162
9 votes
7 answers
4k 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: ...
Jé Queue's user avatar
  • 930
8 votes
3 answers
11k 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 + ...
user67275's user avatar
  • 2,072
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
5 votes
1 answer
4k 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 ...
mytwocents's user avatar
5 votes
3 answers
3k 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?
vonhogen's user avatar
  • 2,379
3 votes
8 answers
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 ...
dertoni's user avatar
  • 1,235
3 votes
1 answer
707 views

Is it possible to map Alt + Arrow Key to the start and end of a line in various applications?

I really miss the ability to use the arrow keys and a modifier to move between the start and the end of a line from OSX. Coming from OSX and doing this, it's a real hassle to have to move over to the ...
Vaughan Hilts's user avatar
3 votes
2 answers
7k views

How to map PageDown and PageUp Keys to function normally

When I open a document using vi or vim, I am unable to navigate the page using Page Up and Page Down keys. On pressing these keys, vim seems to behave in abnormal maaner, and changes the case of ...
mtk's user avatar
  • 1,157
3 votes
1 answer
887 views

Iso_level3_shift key not working in Firefox (Linux)

Under Firefox (Firefox 3.6 and Iceweasel 10.0.9), my Iso_level3_shift key (= "Alt Gr" key) is not working. That means that on my azerty keyboard, I can't press some characters like @, |, and so on, ...
alphatiger's user avatar
2 votes
4 answers
6k views

Curly braces with LCtrl+LShift+LAlt+è - how?

I'm using Linux Mint 15 x64, and I want to add a new key mapping for curly braces. I'm using italian keyboard layout. On Windows I'm used to creating curly braces by pressing (Left Ctrl && ...
Vittorio Romeo's user avatar
2 votes
3 answers
3k views

Remap keys for one specific program under Linux

How can I set keys to be remapped for one specific program in Linux? (More specifically Caps Lock -> Escape for gVim. I hit it accidentally too much to remap it in everything).
Macha's user avatar
  • 5,312
2 votes
3 answers
858 views

What key works like End using a Mac with Synergy

I have recently got a Mac mini to do IPhone Dev on (like many others) and I am using the excellent Synergy to share one keyboard and mouse with 2 machines and 2 monitors. Everything is lovely and it ...
Toby Allen's user avatar
  • 3,065
2 votes
4 answers
2k views

Permanently remap a key to an other xubuntu

I have seen many questions about how to remap a key, but somehow my problem is that it never remaps permanently. Here is my ~/bootstrap-custom.sh #!/bin/sh # remaps Caps Lock to Ctrl /usr/bin/...
edi9999's user avatar
  • 171
1 vote
0 answers
410 views

Map keyboard keys in Mac OS X (Unix)

Currently, when you're inside a terminal, CTRL+a move the cursor to the beginning, while CTRL+e move it to the end. I use those key combinations a lot since I don't have the home and end buttons on my ...
Amit's user avatar
  • 441
1 vote
2 answers
7k views

Holding down the Alt key for several seconds makes keyboard behave strangely

When I hold down the Alt button on my Keyboard for my than 5 seconds, my keyboard and mouse starts acting very strange. For example, when I try typing, none of the typing keys work. Some buttons do ...
CodyBugstein's user avatar
  • 1,575
0 votes
2 answers
314 views

Vim: strange behavior of "\" in insert mode

I'm editing a lot of tex files using vim, and therefore I use the \ character a lot. Yet, when inserting a \ in insert mode, vim pauses the cursor on the same spot for one second, unlike with any ...
romeovs's user avatar
  • 309