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
2 votes
0 answers
175 views

Is there a way to map FN to MenuKey without outside software?

My new Rosewill mech keyboard has an FN key instead of Menu Key (aka context key or apps key). Is there any way I can map that to the Menu Key without downloading outside software? Unfortunately can'...
James Lee's user avatar
1 vote
2 answers
1k views

tmux configuration to rename tab name to basename of working directory

I have this setting, which is supposed to rename the current window to my current directory by pressing <prefix>. bind-key . run -b "tmux rename-window $(basename #{pane_current_path})" For ...
hgiesel's user avatar
  • 183
1 vote
0 answers
46 views

New Trisquel installation always at 100% CPU, log files grow very fast, graphical glitches, etc

About a week ago, I installed Trisquel on a rather old (2010-ish) computer, and ever since then there has been an issue which I had never found a solution for, but hesitated from asking for support ...
jdoetrisquel's user avatar
1 vote
2 answers
7k views

Holding down the Alt key for several seconds makes keyboard behave strangely

When I hold down the Alt button on my Keyboard for my than 5 seconds, my keyboard and mouse starts acting very strange. For example, when I try typing, none of the typing keys work. Some buttons do ...
CodyBugstein's user avatar
  • 1,575
46 votes
3 answers
7k views

Keys all switched on keyboard

My friend/enemy switched the keys on my keyboard as an April fool's joke. When I press Y, Z appears on the screen. Some keys work like b, x, g, i, d, and a few more. Also, when I press ctrl, it ...
Google Services's user avatar
1 vote
2 answers
7k views

Can I configure my Windows key to act like an 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 six months. Now I go back to my desktop, and ...
Codemonkey's user avatar
1 vote
1 answer
984 views

Where can I find keyboard key names used in mc.keymap?

I want to assign some actions to key bindnigs in Midnight Commander like Alt+[ or Alt+]. Where can I find "code names" for this (and other) keys? For example I already found some keys: ` = "prime" { ...
Mikel Vysotsky's user avatar
0 votes
1 answer
305 views

How can I map a key combination to a character or modifier key in Windows 8?

I need to map Alt+e to é or to ´ (spanish accent). I read AutoHotKey may work but don't understand how.
pabvid's user avatar
  • 3
2 votes
0 answers
2k views

Backspace key in Microsoft Outlook 2010

I use Outlook 2010 on Windows 7. I'd like the backspace key to delete the current message, and not jump to a random message or folder. Details: when viewing the list of messages in a mail folder, I ...
D Strozzi's user avatar
2 votes
0 answers
2k views

Make xmodmap Changes Permanent

I made some changes to my keymap by writing: remove mod4 = Super_L add control = Super_L in ~/.Xmodmap The changes work after running xmodmap ~/.Xmodmap But they will not stick after restart. I ...
BAR's user avatar
  • 409
3 votes
2 answers
9k views

Vim: map shift-K to open help on current word in a new tab

In conjunction with https://stackoverflow.com/questions/3131393/remapping-help-in-vim-to-open-in-a-new-tab , I'm looking to also make the shift-K shortcut that opens help in a new tab. I first tried ...
Sundar R's user avatar
  • 1,459
2 votes
1 answer
993 views

Shift+Ctrl+Tab not working in chrome with mapped Caps Lock key in Windows using SharpKeys

As suggested by this post, I used SharpKeys to map my Caps Lock key to Ctrl. A weird problem is that while other functions using this Caps Lock key as Ctrl works fine(like Caps Lock+Tab works fine in ...
xgdgsc's user avatar
  • 1,540
2 votes
3 answers
5k views

Windows 10 Xbox streaming - Keyboard and mouse?

I have been testing Xbox game streaming in Windows 10. When streaming a game, the Xbox app only supports controllers(gamepads). Would it be possible to map both the mouse and keyboard to the ...
syrex's user avatar
  • 95
1 vote
1 answer
275 views

Is it possible to use two keyboards with two different keymaps?

Basically, what I am wanting to do is use a keyboard (i.e. in this case my Razer Black Widow as my main keyboard functioning as a keyboard with whatever my default keymap is at the time) and use my ...
user439889's user avatar
3 votes
1 answer
707 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 ...
Vaughan Hilts's user avatar
0 votes
1 answer
3k views

Problems using awful.util.spawn in Awesome WM

I am having trouble using the awful.util.spawn call in my rc.lua config file for Awesome WM. If I use: awful.util.spawn("xclock") it works. But if I try awful.util.spawn("setxkbmap fr") there is no ...
Théophile Cantelobre's user avatar
-1 votes
1 answer
180 views

How to choose the right keymap?

I have several Dell XPS13 laptops running Gentoo Linux. The latest one (which I bought used) has an Indian Rupee symbol beside the "4" on the 4 key and a Euro symbol beside the "5" on the 5 key. ...
stackoverflowrocks's user avatar
2 votes
4 answers
2k views

Permanently remap a key to an other xubuntu

I have seen many questions about how to remap a key, but somehow my problem is that it never remaps permanently. Here is my ~/bootstrap-custom.sh #!/bin/sh # remaps Caps Lock to Ctrl /usr/bin/...
edi9999's user avatar
  • 171
2 votes
2 answers
95 views

How to remap Enter as a right control modifier in Win 8.1?

I did this with keyRemap4macbook on OSX. Enter alone works as Enter but Enter+Key becomes Ctrl+Key. How do I do this in Windows?
LoveProgramming's user avatar
0 votes
1 answer
288 views

Restore previous Vim search term?

Is it possible to save/restore Vim search terms in a map? For instance, I have the following in my .vimrc: map ,/ :s/^/\/\//<CR> If I have turned on highlighting (:set hls) previously in the ...
wes's user avatar
  • 745
1 vote
2 answers
7k views

Sharpkeys program alternative for linux?

Sorry it's the second time that I post this question because till now I can't found solution : My keyboard is damaged, the keyboard key [é] is always pressed and it prevents me from working on ...
Kort Ria's user avatar
  • 491
0 votes
1 answer
1k views

How to make backspace key in Windows 8 Explorer get me to parent folder instead of going back in history? [revamped] [duplicate]

Posting the same question from another user, but for windows 8 instead. In Windows XP, Backspace (aka ←) key leads you to the parent folder, but in Windows 8 it just goes back in history. How do I ...
Dom's user avatar
  • 1
1 vote
1 answer
694 views

Virtualbox Guest keyboard not inheriting Host keymap

I have a MAC OS/X host system running a Xubuntu as guest. In my MAC, in the shortcuts/key mappings, I chose to reverse the Command/CTRL keys (cause I use a PC keyboard and I'm used to it) The ...
George Katsanos's user avatar
1 vote
2 answers
4k views

How to make alt-backspace delete words in Windows?

I am attempting to make the text editing experience in a Windows workstation I use alongside my OS X systems line up with the keybindings that Cocoa offers. To start, how would one change mappings so ...
ylluminate's user avatar
  • 1,199
7 votes
1 answer
2k views

keymap swap underscore and dash

I have noticed that when coding I type underscores much more often then dashes. Is it possible to swap these keycodes so I can type shiftless underscores? I am using linux (chromebook developer mode).
gloo's user avatar
  • 277
2 votes
1 answer
419 views

Doesn't "scrollwheelup/down" mapping work in gvim on windows OS?

I tried it all ways to make the mouse buttons ScollWheelUp/Down work in my vim. Checked in all other plugins if there is a conflicting map, no conflicting map. Tried this: :verbose map <...
Reman's user avatar
  • 231
4 votes
1 answer
4k 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 ...
Calyo Delphi's user avatar
1 vote
0 answers
137 views

Making a special key do a command Gentoo Linux (commandline!)

I have Gentoo installed on my MacBookPro7.1 (nVidia graphics card). With pommed, i can use the kb lights up and down buttons, also the volume up/down/mute buttons with alsa and the LCD backlight down ...
AdamK's user avatar
  • 29
0 votes
1 answer
167 views

Mapping key to make new vertical window in Vim

This is really odd. Here's the key mapping from my .vimrc: noremap <C-n> :vert new<CR> The expected behaviour when I press CTRL-n is that it opens a vertical window but it somehow opens ...
maverick97's user avatar
14 votes
4 answers
15k 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 ...
ehuang's user avatar
  • 287
3 votes
0 answers
419 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 ...
Jeffrey L. Roberts's user avatar
0 votes
1 answer
471 views

Keyboard resulting wrong keys before OS starts

My keyboard has recently started resulting wrong keys when I try to press any keys on keyboard before booting. The problem came literally out of nowhere. I have no idea why It stopped working and I ...
Jerzo's user avatar
  • 3
17 votes
3 answers
31k views

Remap keys without xmodmap or any X tools

Due to a coffee accident some numbers of my laptop's keyboard stopped working. I used xmodmap to use F1, F2, etc, as replacements and saved the configs to ~/.Xmodmap. However, that caused a few ...
Alex's user avatar
  • 2,076
10 votes
3 answers
15k 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 ...
q9f's user avatar
  • 1,162
31 votes
15 answers
491k views

How can I type a backslash with no backslash key?

I'm trying to use a UK keymap on a physical US keyboard on my notebook (Asus Zenbook UX31E). My keyboard has vertical bar and backslash (| and \) above the Enter key, but I get hash and tilde instead....
wim's user avatar
  • 3,167
0 votes
1 answer
4k views

CentOS 6.4 console keyboard layout hotswitch

On an X-server-less CentOS 6.4 box (so no setxkbmap) I share with another person, the other person's name is much easier to type in a particular keymap. Ideally, there would be a way, on-the-fly, to ...
Kev's user avatar
  • 1,154
2 votes
1 answer
3k views

startxwin.exe is failing in cygwin 1.13.2.0 on Windows 7 with keyboard initialization failure

My operating system is Windows 7. I installed cygwin. I wanted to start the XWin Server with the startxwin command and it terminates with the error: Couldn't open compiled keymap file /var/lib/xkb/...
sajeewasp's user avatar
0 votes
1 answer
263 views

gvim mapping keys to ex commands while in visual mode?

So in gvim, after I press <Shift> + v it goes into visual mode. I normally have an ex command set for the letting 'm'. When I go into visual mode and then hit 'm' it says No range allowed ...
user2719875's user avatar
35 votes
7 answers
251k 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 ...
Rob's user avatar
  • 491
3 votes
1 answer
3k views

Linux Mint (Mate): use xkbcomp to load a keyboard layout on startup

I'd like to load a custom keyboard layout on login, but either it doesn't load or it gets overridden by the default keyboard layout from 'keyboard preferences'. Unfortunately I can't select my layout ...
keo's user avatar
  • 173
1 vote
2 answers
2k views

What's the best way to remap MS Ergonomic keyboard on OSX?

DoubleCommand isn't enough. I want something lower level, an API to interpret a keycode as another keycode. I'm aiming to try the MS 4000 ergonomic more ergonomically by spreading my hands apart so ...
user10841084108's user avatar
2 votes
1 answer
765 views

Configuring xkb so that left winkey is an additional left alt

I'm never using the windows key but for whatever reason on my laptop keyboard I often hit them by mistake trying to hit ALT. How can I configure xkb so that the left windows key acts as an additional ...
Cedric Martin's user avatar
1 vote
1 answer
562 views

<CR> not recognized as variable in VIM vimrc using PuTTY

My code In my vimrc file I have added a key mapping to create new tabs. map 1 :tabnew<CR> The problem However, when I press 1 in vim, it prints the ` variable as a string literal. I will ...
user907560's user avatar
0 votes
0 answers
455 views

Create keyboard DLL

I am struggling to find any resources on how to make a keyboard DLL. I have previously looked at code samples, like http://code.msdn.microsoft.com/windowshardware/Keyboard-Layout-Sample-b142d9e3 but ...
user66001's user avatar
  • 1,247
1 vote
2 answers
2k views

How to change key mapping for a specific language?

I'm on windows xp, sp3. I use two languages, English and Serbian. When I write in Serbian "z" and "y" switch their keys. When I press the "z" key I get "y" as output and vica versa. This is ...
Invader Zim's user avatar
2 votes
0 answers
135 views

Using the Apple keyboard on Ubuntu with the same MacOSX mappings

I am currently working on an Ubuntu 12.10 workstation, and as a Mac user I would like to use the big Apple keyboard (with numeric keypad) on Ubuntu with the same key mappings that I have on MacOSX. ...
Marco's user avatar
  • 133
2 votes
4 answers
6k 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 && ...
Vittorio Romeo's user avatar
4 votes
2 answers
592 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 ...
seewalker's user avatar
  • 713
0 votes
0 answers
293 views

Naviagte firefox sidebars with keyboard shortcuts

Is there a way for me to navigate through firefox sidebars with shortcuts? The behavior I would expect is pressing tab after opening sidebar should cycle through the items in the sidebar, but instead ...
Forethinker's user avatar
1 vote
1 answer
619 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 ...
petRUShka's user avatar
  • 255