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
33
votes
4 answers

Android Studio - jump back and forth between matching braces using a single key sequence

I had to move from Eclipse to Android Studio for Android development. Many features are better, several are worse. In particular I miss the jump between matching braces (opening -> closing brace and v.v.) by means of a single key sequence. I managed…
NickT
  • 23,844
  • 11
  • 78
  • 121
31
votes
2 answers

VSCode keyboard shortcuts for Android Studio

Is there a way to add VSCode as an option under Android Studio's keymap settings? Under File -> Settings... -> Keymap There are many other options listed, however none of them are even similar to VSCode
31
votes
2 answers

mapping function keys in vim

I want to map my F2 for nerdtree with the following entry: map :NERDTreeToggle But even before that, and after saving the vimrc , whenever i press F2, it just switches the case of the letters on which the cursor is present. Later found out…
woodstok
  • 2,704
  • 3
  • 34
  • 50
28
votes
4 answers

Mapping in my vimrc fails in Ubuntu

I want to map ctrl-tab to :tabn, and ctrl-shift-tab to :tabp. I had it working for gVim in Windows XP, but moved it to my .vimrc in Ubuntu 9.10 and it doesn't work (vim 7.2). Here's the relevant section of my .vimrc: nmap :tabn nmap…
nfm
  • 19,689
  • 15
  • 60
  • 90
28
votes
8 answers

Colemak keyboards with Emacs or VIM

I've been crossing things out on my TODO list. I've recently picked up Colemak. Next I wanted to learn Vim or Emacs. I was leaning towards Vim, however one of its benefits are sticking to the home row. With Colemak, the home row has been…
Dave
  • 2,735
  • 8
  • 40
  • 44
27
votes
5 answers

Atom/Sublime like Multiple selections in Jupyter

How can I select matching keywords in a Jupyter notebook via a keyboard shortcut? For example, in the Atom/Sublime editor I can hit cmd + D on a mac (or Ctrl + d on Windows) while the cursor is over 'var' and each time I do that the next 'var' will…
RancheroBeans
  • 500
  • 1
  • 6
  • 15
26
votes
4 answers

Is there a command for "Show Invisibles" in Atom?

Is there a command available to key mapping for toggling the display of invisibles in the Atom editor. A Show/Hide Invisibles command? Where would I go to look for such a command?
Bob Rockefeller
  • 4,492
  • 2
  • 28
  • 35
23
votes
3 answers

Vim: Open new explorer tab with the directory of the file you're currently on

I'd like to open a new tab with the file explorer set to the directory of the file I have open, instead of the directory I opened vim from. For example, If I do: ~: cd ~/dir1 ~/dir1: vim dir2/dir3/dir4/file1 Then from inside that window I would…
Diego
  • 16,830
  • 8
  • 34
  • 46
23
votes
3 answers

How to use Mac OSX Keymap on Windows for WebStorm or IntelliJ IDEA?

I use WebStorm on both my Mac and Windows for work purposes. I would like to know if it is possible to use the MAC OSX keymap on Windows. On windows if you load the MAC OSX keymap the mappings don't seem to line up correctly. For instance I see the…
Ryan Watts
  • 611
  • 1
  • 9
  • 27
23
votes
4 answers

Using Sublime Text 2 key bindings in PyCharm

I would like to use the Sublime Text 2 key bindings in Pycharm. I know how to edit it one by one. Is there a way to override the entire keymap in one shot? Something like export the key bindings from sublime text 2 convert it into Pycharm's…
user
  • 17,781
  • 20
  • 98
  • 124
22
votes
3 answers

multiple "commands" in a single Sublime Text 2 user keymap shortcut

Is there a way to have multiple "commands" associated with one shortcut? I have these two shortcuts. First shortcut makes the window on the left larger than the right one (in a 2 column view) and the next shortcut puts the focus on the first window.…
21
votes
3 answers

Intellij Default windows keymap on Mac OS X

Is it possible to have the default windows key map for Intellij IDEA on Mac OS X. It is not an option like the Eclipse Windows Key Map?
perkss
  • 1,037
  • 1
  • 11
  • 37
20
votes
6 answers

Insert character without entering insert mode?

Sometimes I want to insert a # to comment out a line and test it quickly. Currently I do: i#ESC:w Is there something shorter I can do?
alejandro
  • 1,234
  • 1
  • 9
  • 19
19
votes
1 answer

How to switch only between editor windows (not tabs) in split mode

I frequently use the split editor window where I have some files in the left window and some in the right. How can I easily switch between these windows using only the keyboard? There is a mapping on Ctrl+Tab that invokes the switcher. This however…
Björn Jacobs
  • 4,033
  • 4
  • 28
  • 47
18
votes
2 answers

Interpret zsh bindkey escaped sequences

I usually find interesting zsh keybinding settings (through bindkey command) around the web. My question is how do I interpret what these escaped sequences mapped to? For instance, here is a snippet from oh-my-zsh's key-bindings.zsh bindkey "^[[H"…
ejel
  • 4,135
  • 9
  • 32
  • 39
1
2
3
25 26