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
1
vote
1 answer

Sublime Text 3: Switching 'ctrl+enter' and 'enter'

I realized I use 'ctrl+enter' a lot more than 'enter' in ST3. Would it be possible to switch these two commands? I can easily switch 'ctrl+enter' to 'enter' with: { "keys": ["enter"], "command": "run_macro_file", "args": {"file":…
Kyle Chadha
  • 3,741
  • 2
  • 33
  • 42
1
vote
0 answers

Android Mapping Remote Control Keys with Virtual Key Board and append the text in edittext

I am working on a project based on Mapping the Remote control keys with android device.Here I can able to get the keycodes of Remote keys and return values for it based on the key codes.But the problem is, I don't know how to append the values…
Nik
  • 136
  • 1
  • 8
1
vote
1 answer

gvim: skips last character on line

Because I like using shift with cursor keys in insert mode to select text, I have put the following mappings in my .gvimrc: inoremap vg0 inoremap vg$ While this works perfectly in most cases, there is a…
A. Donda
  • 8,381
  • 2
  • 20
  • 49
1
vote
1 answer

Cannot remap % to %v in .vimrc but can inside vim

I want to remap % to v% to select the text inside matching braces (brackets, etc ) but I can only do it inside vim not in .vimrc. I can do it like this in vim: noremap % v% or nnoremap % v% (I don't really know the difference but the aim is to…
Patryk
  • 22,602
  • 44
  • 128
  • 244
1
vote
1 answer

Android studio (Intellij) keymap and closing bracet on Macosx

I encounter a problem on android studio on MacOSX. When I want to close a brace ALT+) my cursor jump to bottom widget windows. I have this problem on 2 macs and I can have closing brace on others application. I suppose I have a problem on my Android…
davidt031
  • 11
  • 2
1
vote
2 answers

gvim: make , move in screen lines

I chose to use gvim as my primary text editor, but still would like it to behave more like other visual editors I'm used to. One aspect of that is that when I have wrap enabled (set linebreak) and use the arrow keys and in insert mode,…
A. Donda
  • 8,381
  • 2
  • 20
  • 49
1
vote
1 answer

How to remap C-c?

Given that there are so many major modes which define their own maps for this prefix (e.g. latex, org, term), is there a safe way to move these maps somewhere else, and always have the C-c key free? I'm hoping there's a convenient way, because I…
Malabarba
  • 4,473
  • 2
  • 30
  • 49
1
vote
2 answers

Advanced Usage of Ranges with Vim Keymappings

I have a mapping in my vimrc that downwardly comments out regions of c code: nmap comc :normal! I// Since the 'normal' ex command implicitly converts input such as "Ncomc" to ".,.+N-1 comc", I can range comments downwardly without many…
seewalker
  • 1,123
  • 10
  • 18
1
vote
2 answers

vim conditional keymap when a tex file is open

I am trying to make a keymap that will call latexmk when .tex is available (it would be better if .tex is the currently open and active buffer) I tried : :nnoremap lw :if filereadable('*.tex')up!:!latexmk -pdfendif when…
BaRud
  • 3,055
  • 7
  • 41
  • 89
1
vote
1 answer

Vimperator: is not passing through the key

is supposed to let keys pass though so that the consequent key press is recognized as if vimperator is not installed. I am getting a behavior that is equivalent to p of vimperator key, where the contents of the clipbaord is entered into the omnibar…
Forethinker
  • 3,548
  • 4
  • 27
  • 48
1
vote
2 answers

How to get mapped values in Vim and save them

Let's say I have the next mapping: imap a AAA vmap b BBB I need a way to get value of mappings. The next is not suitable for me, because I need to operate by returned mapped values: imap a vmap b I'm looking for for something like these…
Sergey Potapov
  • 3,819
  • 3
  • 27
  • 46
1
vote
2 answers

How can I join two commands together in vim?

I am trying to combine two commands for Bundle plugin in vim. Because BundleUpdate pulls all plugins and installs them and it is slow. I have the following below. The first two works fine, but the third one does not. It stops after the BundleClean…
Forethinker
  • 3,548
  • 4
  • 27
  • 48
1
vote
3 answers

how to map alt+; shortcut to pycharm keymap

I'm unable to add the alt+; shortcut to my custom keymap in pycharm, Typing the combination on the shortcut mapping window doesn't do anything. how can i add this shortcut?
bosco-
  • 1,733
  • 2
  • 15
  • 18
1
vote
1 answer

IntelliJ keymap for remote desktop usage

I notice that I cannot type Ctrl-Alt-B (Go To Implementation) in IntelliJ when I am using it via Remote Desktop. Is there a way that I can get keymap for IntelliJ that works through remote desktop?
Dat Chu
  • 10,822
  • 13
  • 58
  • 82
1
vote
1 answer

TextMate equivalent to gVim Ctrl+P

To auto complete a previously written string. Is it possible? EDIT I'm editing javascript/java if that matters.
OscarRyz
  • 196,001
  • 113
  • 385
  • 569