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
2 answers

Android Studio: AltGr + B shortcut not working

I've recently migrated from Eclipse to Android Studio and I had several problems which i mostly solved. One, which I don't have any idea to do with is, that the opening bracket shortcut AltGr+B is not doing anything. I've tried to: In Settings…
marson
  • 913
  • 10
  • 32
1
vote
2 answers

Send code to R from non R-files with the r-plugin in Vim

In OSX, how can I make a mapping in Vim to send code embedded in a non-R file to R for execution using the r-plugin?
Andreas
  • 209
  • 2
  • 8
1
vote
0 answers

Atom Editor Auto Indent Keyboard Shortcut

I followed along with the discussion in this question: Auto indent code in Atom editor but couldn't get mine to work. :( I have this in my keymap.cson file: '.editor': 'ctrl-i': 'window:toggle-invisibles' 'ctrl-t': 'editor:toggle-indent-guide' …
Bob Rockefeller
  • 4,492
  • 2
  • 28
  • 35
1
vote
2 answers

Mode specific key bindings

I have a minor mode that also comes with a global mode. The mode have some key bindings and I want the user to have the posibility to specify what bindings should work for each mode. (my-minor-mode-bindings-for-mode 'some-mode '(key1 key2…
rejeep
  • 649
  • 1
  • 6
  • 18
1
vote
1 answer

custom android emulator skin and keymaps

I want to create my own skin for Android Emulator. I have photo shopped some of the images for the skin. There are some additional buttons which I need map so that on clicking it a specific event should be generated. The layout file in my…
Rookie
  • 735
  • 5
  • 11
  • 30
1
vote
1 answer

Defining a key binding in ST3 to delete all comments in a file

I heard you can set a key binding to handle deleting all comments in a file in Sublime Text 3. However, I'm having some difficulty understanding it though the Sublime Text Docs. Any suggestions how to set this up in the default (OSX).sublime-keymap…
1
vote
1 answer

How to load a pinyin.vim keymap in vim on Mavericks?

I am trying to get this pinyin keymap to load into vim. I have placed this file into ~/.vim/keymap/pinyin.vim. Questions How do I load this file automatically through a command in ~/.vimrc? How do I turn this mode on/off? How do I actually invoke…
kfmfe04
  • 14,936
  • 14
  • 74
  • 140
1
vote
1 answer

Changing JS Indenting in Atom Keymap.cson

I'm trying to update my keymap.cson file so that JavaScript source is indented slightly differently. I do not want it to de-indent case and default statements in a switch. By default, Atom will format this way: switch(x) { case 1: //stuff case…
Brad Dwyer
  • 6,305
  • 8
  • 48
  • 68
1
vote
1 answer

How can I expand/shrink selection in WebStorm on Mac?

It seems that in ReSharper or IntelliJ Idea you can expand selection from expression to method to surrounding block etc. This should be possible to do via ctrl-W, but that does not seem to work in WebStorm on my Mac. Is there a way to do it or is…
VoY
  • 5,479
  • 2
  • 37
  • 45
1
vote
2 answers

Pycharm: Delete to beginning of line

I'm using Pycharm CE on OSX, and the Cmd+Backspace behaviour is really strange: It does some kind of combination of "delete to beginning of line" and "delete line", which seems to vary depending on the context. How can I configure Pycharm to have…
basteln
  • 2,483
  • 2
  • 19
  • 20
1
vote
1 answer

IntelliJ IDEA keymap on OS X

Is there a keymap for IntelliJ on Mac which does not override or is not overridden by system shortcuts ? This Control+Space for autocompletion really pisses me off. I think it's disrespect to os x environment.
Denis Mikhaylov
  • 2,035
  • 21
  • 24
1
vote
1 answer

vim - assign 'F' (function) key to insert a string and date/time stamp on same line as cursor

so i'm trying to configure vim (on windows 8.1) to take notes and i would like to configure F2 to add a date and time stamp and F3 to insert a line of '==================================='. i've achieved success by using these lines in my…
user3620332
  • 979
  • 6
  • 3
1
vote
2 answers

Vim key mapping with < and > symbols

I am trying to define a vim key map for putting the selected line inside an HTML p tag: vnoremap bp c

P It doesn't work, I think vim is interpreting

in a special way. How can I solve this?

qed
  • 22,298
  • 21
  • 125
  • 196
1
vote
1 answer

How do I change the default action of F1 key in an ncurses program?

I am using fedora 20 and learning ncurses programming by studying example programs. I have reached one in NCURSES Programming HOWTO (listed below from my file "border.c", see note) that should exit on pressing function key F1: instead it gives me a…
Harry Weston
  • 696
  • 8
  • 22
1
vote
1 answer

Vim nmap :q to :Q not working

I have the following keymappings in my vimrc nmap :Q :q nmap :W :w nmap :WQ :wq However, they do nothing. Vim complains that Q isn't a valid command. Same for W and WQ. I restarted vim and everything. I'm trying to figure…
Hugo
  • 2,186
  • 8
  • 28
  • 44