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)

0
votes
2answers
2k views

Get Windows key mapping for a Logitech keyboard on OS X

I have Logitech K340 keyboard. Its key mapping is designed for Windows. It was no problem to get it working on my MacBook. However, special characters which are reachable via ALT key are mapped like ...
2
votes
3answers
610 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 ...
1
vote
1answer
229 views

Ctrl+h causing backspace instead of help in emacs on cygwin

I want to access the help for a command by using ctrl+h in emacs, but it keeps deleting the previous character. I googled it, and apparently ctrl+h is backspace in a terminal. How do I remove this key ...
1
vote
1answer
360 views

Cygwin - How do I remap X-term keys?

I would like to know how to remap some of the default keys for x-term. Specifically I would like to remap the Cntrl+leftArrow and Cntrl+rightArrow keys to move a word forward or backwards. I would ...
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?
0
votes
2answers
133 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 ...
1
vote
1answer
1k views

Changing the Keymap in Ubuntu

Is it possible, using Ubuntu Linux, to change the meanings of the keyboards keys? I needed the right shift key to act as the home key and the right ctrl key to act as the end key. How to do this ...
2
votes
2answers
210 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. ...
1
vote
1answer
680 views

alt keys stopped working on X11, how to fix?

I'm running arch linux, latest stable with gnome3 and gdm, I have a US keyboard (notebook). I am using the default layout except that I used xkeybdmap to bind the right alt key to alt gr to get ...
0
votes
1answer
77 views

map a command with vim

How can I map a command in vim which does something like: :command (I write here and press enter) (Executes another command with the things that I wrote) or :badd my_buffer_name :b my_buffer_name ...
1
vote
0answers
278 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
2answers
1k 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 ...
12
votes
1answer
6k 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.
0
votes
2answers
452 views

how to open cpp and h files automaticcaly and split them

hi i'm new to vim but i'm loving it. with NERDtree plugin i want to have a little script then when i open a file (.cpp or .h) it opens automatically the .h and .cpp splitted with .h in uppeer split ...
1
vote
2answers
964 views

Arrow keys not functional in Ubuntu Virtual Machine on Windows 7

I am new to VMware. I am running VMware on Windows 7 and my virtual machine is running Ubuntu 10.04 server edition. Ubuntu shell responds to the down key as it would to the right arrow key and does ...
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 ...
0
votes
0answers
423 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 ...
1
vote
1answer
252 views

Keyboard not working correctly on laptop

Something has happened keys "qwertyasdfghzxcvbn" work like they should but "uiop" returns "456*", "jkl"="123, m="0". It happens only on windows and idea how to fix it?
9
votes
1answer
3k 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 ...
30
votes
2answers
16k 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 ...
2
votes
1answer
313 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
243 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), ...
0
votes
1answer
615 views

Map a word or phrase to a keyboard key

I want to map/assign a word or phrase to a keyboard key so I only have to tap the mapped key in stead of typing the entire word. How can I accomplish this?
0
votes
1answer
1k views

Set keymap on LiveCD

With VmWare Workstation 7.1 here, I'm having trouble with BackTrack 4 Live CD. For some reason, the mouse won't right-click where it appears to be. This would be due to VmWare tools not being ...
0
votes
2answers
443 views

Can't map XF86AudioRaiseVolume key in QJoyPad

I wanted to map my PSone gamepad to do some basic KDE/keyboard/mouse functions and everything works well except one thing. I use logitech ultra-x keyboard which has a few multimedia buttons (play, ...
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 ...
4
votes
4answers
2k 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

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?
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 ...
1
vote
1answer
1k views

How to change key mappings in Cygwin's Vim

I'm using Vim under Debian, Win Vista and WinXP (the latter two with Cygwin). To handle tabs more easily, I mapped <C-Left> and <C-Right> to :tab(prev|next). This mapping works like a ...
1
vote
3answers
1k views

Vim: Bind <C-Enter>

Using vim for editing latex; how can I bind C-Enter? I tried the following, which does not work: imap <C-Enter> \\<CR> and imap <C-Return> \\<CR> However, something like: ...
4
votes
2answers
353 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 ...
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 ...
3
votes
2answers
3k 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 ...
0
votes
2answers
1k views

Remapping Home/End from PC to Mac Via Synergy is not client specific

This question asks about the end key but the answers give no examples: http://superuser.com/questions/60052/what-key-works-like-end-using-a-mac-with-synergy If they had, I am guessing that they would ...
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 ...
1
vote
5answers
2k 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 ...
0
votes
1answer
117 views

vista issue with shift key

for some reason when i press the shift key on my laptop keyboard is mapped to 'ctrl+v' which does a paste. i thought it was the keyboard but then i replaced it with a wireless one,it still gives me ...
0
votes
2answers
576 views

How do I remap ctrl-j to ctrl-c on ubuntu?

I'm trying to remap a bunch of my keys and I'm running into trouble. I'm currently trying to use xmodmap but failing. Maybe there is a better way? Can someone explain how I can best remap Ctrl-j on ...
8
votes
1answer
7k 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 ...
2
votes
2answers
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 ...
3
votes
2answers
514 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 ...
0
votes
2answers
159 views

Assign values to keys

How to assign my email address to a key combination (Ctrl + F10) so that I do not have to repeatedly type the address? The operating system is Windows Vista Home Premium.
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 ...
1
vote
3answers
546 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).
1
vote
3answers
481 views

Mac OS X and Spaces, assign to keys

Is it possible to assign the 4 or 9 spaces to some key combinations? Also that they do not interfere with another combinations?
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 ...
9
votes
6answers
3k 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 ...
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: ...
4
votes
4answers
3k 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 ...