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

learn more… | top users | synonyms (1)

35
votes
2answers
18k 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 ...
20
votes
5answers
21k 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, ...
16
votes
3answers
9k views

How to swap the “fn” use of Function keys on al 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 ...
12
votes
4answers
17k 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 ...
12
votes
1answer
7k 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
3answers
458 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 ...
9
votes
6answers
4k 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 ...
9
votes
1answer
4k 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 ...
8
votes
1answer
8k 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 ...
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
1answer
4k 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 ...
6
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 ...
6
votes
3answers
1k 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
1answer
2k 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 ...
4
votes
4answers
4k 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 ...
4
votes
2answers
373 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 ...
4
votes
2answers
1k 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 + ...
4
votes
2answers
4k 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 ...
4
votes
1answer
69 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
1k 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 ...
4
votes
1answer
27k 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 ...
4
votes
4answers
3k 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éé ...
3
votes
3answers
1k 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?
3
votes
8answers
8k 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
7answers
1k 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: ...
3
votes
2answers
580 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
2answers
535 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 ...
3
votes
1answer
339 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 ...
3
votes
3answers
2k 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
1k 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
3answers
1k 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 ...
2
votes
3answers
705 views

Should I learn Vim without mapping keys?

I have been using vim for a few months its been a love/hate relationship. I love the concept of modal editing and never having the need to move you hands from the keyboard. The problem is that a lot ...
2
votes
3answers
2k 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" ...
2
votes
1answer
509 views

Mapping Up/Down arrow keys in bash

I want to map my Up/Down arrow keys in bash to Alt+j/Alt+k as I don't want to move my hands to the arrow keys when I choose previously executed commands using Up/Down arrow keys. Using vi mode in ...
2
votes
3answers
688 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 ...
2
votes
8answers
23k views

How can I type a backslash with no backslash key?

Trying to use UK keymap on a physical US keyboard on my notebook (asus zenbook ux31e). Where my keyboard has pipe and backslash, above the Enter key, instead I get hash and tilde. Where UK keyboards ...
2
votes
1answer
2k 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?
2
votes
3answers
275 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. ...
2
votes
3answers
691 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 && ...
2
votes
2answers
58 views

Extending Vim Mappings to Run N Times

I want to be able to type something like 'Ncom' in normal mode that will comment out the current and then next N-1 lines. A key-mapping that I made to do so is, :nmap com ^i#<ESC>j. This does ...
2
votes
1answer
361 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 ...
2
votes
1answer
2k views

Key for controlling synergy on Mac

My mac has Control/Alt(Option)/Command, and with synergy, each key maps Control/LWindows/Meta(Alt). I want to change the mapping to Control/Meta(Alt)/LWindows. Alt(Option) is key key name is written ...
2
votes
4answers
2k 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 ...
2
votes
3answers
575 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
1answer
2k views

How to remap AltGr key in KDE 4.3.2?

I have enabled altgr-intl keyboard layout. How can I remap such that Windows key acts as AltGr instead of right Alt key. KDE 4.3.2
2
votes
1answer
261 views

Application-specific keymapping

In general, I want to make specific keymaps for application, that working only in it and doesn't affect other apps. For example, I already use my Caps key to toggle input language (via xorg.conf), ...
2
votes
1answer
1k views

How do I make Home / End keys behave Windows/Linux like in Terminal.app on Mac OS on Mac Pro laptop?

I was wondering if somebody knows how to use home/end keys behave in a Windows/ Linux fashion. What I mean is that when I press Apple + Left (Home combo on a mac book pro laptop) it should go to the ...
2
votes
4answers
1k 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 ...
2
votes
1answer
2k views

Apple keyboard key remapping under Ubuntu

I have an Apple keyboard that I simply love. I now hate my regular keyboard at work. I just have a small problem with the Apple keyboard. There is no "insert" key. The one that is usually Insert on ...
2
votes
0answers
88 views

Remap OS X Option/Alt key in Windows 7 VirtualBox VM

I am attempting to use SharpKeys in Windows 7 to remap the OS X Option/Alt key, however, when I click the type key button, the Option/Alt key doesn't show up, it acts as if I had not pushed the key at ...