Questions tagged [keymapping]

keymapping refers to binding keyboard input to specified output or specified commands

keymapping covers configuration techniques and scripting, rather than tools and devices.

References

384 questions
0
votes
1 answer

Map same key twice : Auto Hotkey

Is there any way to map a key twice using AHK? My code is the following: loop { GetKeyState, state, Alt if state = U { RButton::t } else { RButton::RButton } } I get an error "Error: Duplicate hotkey" for…
0
votes
2 answers

how to map the same key with two different behavior in vim?

Okay here is my problem I want to find a way on how to map a key that have two different behaviors based on the number of hits. so as an example let's suppose that I want to add a ; at the end of the line when I hit the key ; and if I hit it twice…
0
votes
0 answers

Key mapping with the Shift button in PhpStorm

I'm using PhpStorm and I am trying to setup/change some keymaps; however I can't seem to work out how to do it with the SHIFT keys. I go into Settings -> Keymap Then I right click on the one I want to change and select Add Keyboard Shortcut; after…
Brett
  • 19,449
  • 54
  • 157
  • 290
0
votes
2 answers

Vim keyboard shortcuts changed, how to revert to normal?

I used to use ctrl+left/right to navigate between words (I know I'm supposed to use b/e etc in vim, but...). But starting today, ctrl+left/right deletes the next 4 lines! I tried disabling my plugins one by one, but it didn't help. I also have…
lfk
  • 2,423
  • 6
  • 29
  • 46
0
votes
1 answer

Changing Vim Keymapping for Ctrl + w

I use chromebook and for some reason everything opens in Chrome browser. I am fine using it that way but problem comes when I want to use vim. In vim when I type :vsplit it splits the screen vertically into two but to traverse between two splits I…
AB2328
  • 79
  • 2
  • 10
0
votes
1 answer

IntelliJ Pointer Selector Doesn't allow to Delete lines

On IntelliJ 14 whenever I select some code then I cannot delete it, it removes that part of the selection. It must be related to the pointer which shows as a block but I don't know how to correct it. It displays: My keymap is MacOsX. How can I get…
solracid
  • 413
  • 5
  • 21
0
votes
1 answer

Insert mode mapping in Vim

This may be trivial but I couldn't find a way to make this mapping work. I have the following mapping in my .vimrc to compile a file using clang and run it afterwards: map :wa \| !clang++ -g -std=c++11 % -o test && ./test : I want to add…
syntagma
  • 23,346
  • 16
  • 78
  • 134
0
votes
0 answers

Java Library with Keyboard Key Mappings

This question is almost identical to a previous question (Keyboard Layout library to find Neighboring Keys given an input key). However, that question is 5 years old. Is there a library I can import that will tell me, for a given key k, which keys…
Adam_G
  • 7,337
  • 20
  • 86
  • 148
0
votes
1 answer

Can specific keymapping be binded to a specific file extension in IntelliJ IDEA?

I'm trying to figure out how, if at all possible, to bind specific keymapping to files of certain extension so that when editing those files (of a specific programming language) I can use keymap X while for other languages I could use keymap Y. If…
user2369099
0
votes
1 answer

unity3d - changing FPSInputController controls through script

I asked this question on unity answers a while back but it is still waiting for "approval by a moderator", so I posted it here: For a game I am making I would like the user to be able to change the controls (in game NOT through the clunky launch…
0
votes
1 answer

Show result instead of X with incomplete mapping in vim

In my file at ~/.vim/ftplugin/tex/insert.vim I have the following mappings ; is ctrl-space imap \, imap ~ imap \enspace imap \quad imap \qquad This allows me to…
Alice Ryhl
  • 3,574
  • 1
  • 18
  • 37
0
votes
1 answer

Processing clicking only when show window

i am click button, when click "ENTER" on keyboard, but i am want processing clicking only when show window ('MyDesktop.Books').But when i am show window, and then close it, when i am click "ENTER", window ('MyDesktop.Books') showing again. How to…
user3045654
  • 1,634
  • 2
  • 12
  • 21
0
votes
2 answers

Show comments for specific mappings in .vimrc

I know that I can use :nmap, :vmap, :imap commands to display all the mapping for those 3 modes. However, I would like to display comments that I have for a single mapping. So suppose I have the following entry in my vimrc: " Execute current line in…
syntagma
  • 23,346
  • 16
  • 78
  • 134
0
votes
2 answers

Create a new keymap in RubyMine

I use the default keymap Ctrl+Shift+Period to insert <%= %> quite often. Such a small shortcut sped up the way I edit my views. Now I want to add a new keymap that allows me to add <% %> when say Ctrl+Shift+Comma is pressed. I checked out the…
mikeymurph77
  • 752
  • 1
  • 11
  • 28
0
votes
1 answer

How to restored default keymap without restarting Emacs?

I've somehow corrupted the key bindings in my current Emacs session. Specifically, typing shift-M produces "m", rather than "M". This problem affects only the M key1. My question is: how can I restore the default key bindings without restarting…
kjo
  • 33,683
  • 52
  • 148
  • 265