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

Are there any common key-map for different IDEs?

I have been developing application in VSCode. My team suggested me to switch to IntelliJ. The shortcuts are new to me. Is there any universal Keymap is followed for all IDE's.
0
votes
1 answer

How to give preference to user defined keymaps in Intellij idea over default

I have been using VSCode for Java development for past 1 year. But now, I want to use Intellij for my work. In VSCode, I changed some shortcuts such as endOfLine to ALT+F, startOfLine to ALT+D and they are working fine. But In Intellij, I changed…
Mayank Kumar Thakur
  • 588
  • 1
  • 8
  • 23
0
votes
1 answer

BufRead,BufNew keymaps modify current buffer instead of opened buffer in Neovim and Vim

I can't scratch my head around why my keymaps in C++ file buffer are getting overwritten by rules for in file. I though BufRead executes after opening new file, right? I have the following vimrc configuration: autocmd FileType cpp \ nnoremap…
Drdilyor
  • 1,250
  • 1
  • 12
  • 30
0
votes
0 answers

Keymapping issues with ctrl+z VSC

I am having issues with my Undo, Key Mapping function. It's default is ctrl+z which is exactly what I want but the shortcut key does not work. The same goes for the Redo key (which is ctrl+y/ctrl+shift+z). When i tried remapping the key, it does not…
0
votes
0 answers

extjs keyMap addBinding method bug?

Hi I have 2 variants of code both do not work. My problem is I want to pass an argument into handler of addBinding method. console.log(x) returns as it should be but when it is passed into handler problem is that that the argument for that function…
vejce4
  • 11
  • 2
0
votes
1 answer

extjs keyMap dynamic keys

Hi I have this implemented and I want the keys to be dynamic based on function return. Lets say I have function in controller called "returnKeyFront" which returns "F" key. I then want to take it and apply it for first element F. So instead of…
vejce4
  • 11
  • 2
0
votes
2 answers

Remap ctrl+c to cmd+c

By default zsh suggest ctrl+c as interruption hotkey. I need to remap to cmd+c. I tried to do it via bindkey, but can't find interrupt-action id. What can I do with that? Thank you much.
MegaBomber
  • 345
  • 2
  • 3
  • 11
0
votes
1 answer

Sublime text - add semicolon and cursor

I'm trying to set my Sublime Text 3, but I'm not able to do my desired settings (which was worked in ST2 on my old computer). What I need When I type in CSS, I type eg. color: and I'd like to have autocomplete to color: |; (where | is a…
pavel
  • 26,538
  • 10
  • 45
  • 61
0
votes
0 answers

Reading input from DJ Decks (pioneer)

I've been looking online for a tool to remap inputs from my pioneer DJ decks (pioneer ddj-200), but there doesn't seem to be a tool online that allows this. I've tried the programs that allow it from xBox controller inputs (xmap, JoyToKey) but they…
0
votes
1 answer

Vim function keys have suddenly changed their mappings

As of today my function keys have all changed their behaviour. F1 for example no longer opens help but is equivalent to typing OP in normal mode. That is it opens a new line above the current one, enters insert mode and types 'P'. As you can see in…
jaf7C7
  • 9
  • 4
0
votes
1 answer

What are the "a1", "c1" bindings in mc.keymap (Midnight Commander)?

There are such bindings in mc.keymap, which don't describe a meaningful shift-like key combination, but something that looks like a raw character sequence that starts with a letter, and ends with a digit, e.g.: Top = home; alt-g; a1 # ← the sequence…
psprint
  • 349
  • 1
  • 10
0
votes
1 answer

VS Code -- Is there a package that does this?

On emacs, I use an extension/package called key-chord that allows me to hit, for example, "jj" very quickly to execute a command. Is there an extension or a way VS Code can do this? I use "jj" as a prefix to a keymap where I can than select from a…
WickedJargon
  • 203
  • 2
  • 9
0
votes
0 answers

VS Code keybind for quick formatting a selection on HTML

I recently switched from Brackets to VS Code and I can't find a specific keyboard shortcut that I used regularly on Brackets, and I can't custom create it because I don't know how to correctly describe the command to the program. On Brackets I used…
Sofia
  • 1
  • 2
0
votes
1 answer

Why keyboard callback work twice and make double key printing (Java/JNA)?

Solved. See my answer below. In my code I'm trying to remap keyboad keys, e.g. z -> s. I'm using JNA library 5.6.0 and jna-platform 5.6.0, but people who familiar with C languages can understand me too because JNA is using WinAPI functions from…
Gepard
  • 67
  • 6
0
votes
1 answer

Vim key mapping for visual mode

I'm trying to create a mapping for Visual Mode where I press F7 and the selected code will be wrapped with /* and / respectively. I want / and */ to be on a line by themselves. I have this in my vimrc: autocmd BufNewFile,BufRead *.c,*.js xmap I…
Daniel
  • 249
  • 2
  • 11