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

Mapping the Left Alt key to Control and Alt Gr to just Alt

On my laptop, I use Emacs. However, I don't have a left Ctrl key, and I considered mapping the left Alt key to left Ctrl and the right Alt key (Alt Gr) to just Alt (Meta). This way, I can just hit the ...
0
votes
1answer
455 views

Linux and Umlaut through fn key on US Keyboard

for me as a programmer its very convenient to use a US keyboard layout. In fact I got so used to it that its hard for me to go back to the localized layout of my native language German. What I miss ...
1
vote
1answer
114 views

Key was mapped but key is in password, can't login into Windows

I used a key macro program, I don't recall the name of it, but I ended up mapping one of the keys 'A' to something else, and 'A' is in my password so now i can't even log into Windows, I've tried ...
0
votes
1answer
84 views

OS X ignores alt+3 for # [closed]

On my Mac I cannot type the number sign (#) anymore. No matter what application is running alt+3 is no more working. Any ideas how to reactivate it?
2
votes
3answers
1k 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 ...
3
votes
1answer
564 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
844 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 ...
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?
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 ...
1
vote
1answer
4k 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 ...
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.
1
vote
1answer
2k 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 ...
1
vote
1answer
430 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
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 ...
2
votes
0answers
316 views

Keymap changed Enter key function to Backspace

I have a user account on SUSE 10 which connects via an SSH (F-Secure/PuTTY) client. All of a sudden the mapping for my ↲ Enter key isn't working as usual - instead it is acting as a ← Backspace key. ...
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 ...
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.
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.
0
votes
2answers
1k 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
3answers
2k 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 ...
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 ...
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 ...
1
vote
1answer
313 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?
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 ...
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 ...
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 ...
3
votes
1answer
483 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
2answers
456 views

Can I map Control to the Caps Lock key and keep the toggle functionality in Linux?

Can I change the Caps Lock key to Control and still keep the on/off nature of Caps Lock? I've checked into using xmodmap and seem to have hit a dead end. Many people want to swap them, but they also ...
0
votes
1answer
1k 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
2k 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
851 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
3k 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
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éé ...
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 ...
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?
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 ...
2
votes
1answer
2k 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
3k 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: ...
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 ...
2
votes
2answers
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 ...
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 ...
2
votes
2answers
2k 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: What key works like End using a Mac with Synergy If they had, I am guessing that they would likely have run into this problem. ...
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 ...
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 ...
0
votes
1answer
145 views

Vista issue with shift key

When I press the shift key on my laptop keyboard, it 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 the same ...
1
vote
2answers
1k 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 ...
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 <...
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 ...
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 ...
0
votes
2answers
183 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.