A keymap is used to map certain keys or keyboard shortcuts to other ones, e.g. when using different keyboard layouts.
25
votes
2answers
12k 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 ...
14
votes
4answers
13k 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, ...
10
votes
1answer
4k 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.
9
votes
6answers
2k 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 ...
8
votes
1answer
6k 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
2answers
230 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 ...
7
votes
3answers
3k 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 ...
7
votes
1answer
884 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
2k 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 ...
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
1answer
3k 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
859 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
513 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
2answers
292 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 ...
3
votes
3answers
925 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
4answers
9k 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 ...
3
votes
5answers
796 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
3answers
2k 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 ...
3
votes
2answers
362 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
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 ...
3
votes
0answers
263 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 ...
3
votes
3answers
630 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
335 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
550 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
1answer
911 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
2answers
1k 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
2answers
36 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
4answers
1k 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
1answer
1k 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
181 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
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
3answers
1k 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éé
...
2
votes
3answers
983 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?
2
votes
1answer
896 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
854 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
910 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 ...
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
2answers
6k 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 ...
1
vote
7answers
2k views
Pressing E yields a euro sign “€” instead. What can I do to fix this?
A teacher at our high school contacted me, saying that every time she presses the E key it prints out a euro sign. It's not the language settings, I already tried that. It happens in all programs, and ...
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 ...
1
vote
1answer
231 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?
1
vote
1answer
48 views
Vim: remap 'D' modifier on linux
I'm using Mac-oriented vimfiles with linux. In this config modifier D (Cmd key on Mac) is intensively used. I don't want to change every D to M, but I want to remap D to something like Meta or Alt. Is ...
1
vote
1answer
201 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 ...
1
vote
4answers
712 views
Truly ergonomic and Mac OSX
I recently purchased a Truly Ergonomic keyboard (model 209) that I use both at home on my GNU/Linux machine and at work where - very sadly - I am obliged to use an macbook air sporting the last ...
1
vote
3answers
241 views
tmux - how can I map new keys for the window (pane) cycle?
In the tmux application, how can I map ctrl-a, o (window cycle) to ctrl-a, w ?
1
vote
2answers
960 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 control key, and I considered mapping the Left Alt key to left control and the Right Alt key (Alt Gr) to just Alt (Meta). This way, I can just ...
1
vote
1answer
200 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 ...
1
vote
2answers
435 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
1answer
37 views
+50
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 && ...