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
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 ...
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.
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 ...
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 ...
1
vote
2answers
2k views

Can I configure my windows key to act like a 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 6 months. Now I go back to my desktop, and ...
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'...
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 ...
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 "...
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?
1
vote
5answers
4k 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 ...
1
vote
1answer
1k 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 ...
0
votes
0answers
467 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 ...
53
votes
4answers
66k 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 ...
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.
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 ...
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?
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
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 ...
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 + ...
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 ...
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 ...
2
votes
3answers
2k 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).
2
votes
3answers
801 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 ...
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 ...
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
0answers
527 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, ...
1
vote
0answers
377 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 ...
1
vote
1answer
159 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 ...
0
votes
2answers
222 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 ...