Questions tagged [keymapping]
keymapping refers to binding keyboard input to specified output or specified commands
keymapping
389
questions
167
votes
3
answers
58k
views
How to configure IntelliJ (also Android Studio) redo shortcut to CTRL+Y instead of CTRL+SHIFT+Z?
The default IntelliJ / Android Studio "Redo" action shortcut is CTRL+Shift+Z and this is a common problem for Windows users.
A bigger problem is CTRL+Y is mapped to the "Delete line" action - and ...
100
votes
7
answers
103k
views
How can I find particular file in IntelliJ IDEA?
I need to find test.xml in IntelliJ IDEA. How can I do that? Keyboard shortcut if any?
99
votes
9
answers
69k
views
Insert a newline without entering in insert mode, vim
I want insert newlines in normal mode in vim using Shift-Enter and Ctrl-Enter. I try some solutions and mixing solutions from Vim Wikia - Insert newline without entering insert mode but Shift-Enter ...
76
votes
16
answers
81k
views
vim backspace leaves ^?
In Vim, when I hit the backspace key in the insert mode, it leaves ^? character and does not delete the character it is suppose to delete.
I have the following in my .vimrc
syntax on
set number
set ...
71
votes
6
answers
32k
views
Word jumping in iTerm2 or Terminal in OSX Lion
I recently upgraded from Snow Leopard to Lion and Xcode 4.1, and word jumping stopped working in both Terminal and iTerm2. Did the mappings change?
This is with and without a homebrew installation of ...
69
votes
3
answers
12k
views
Visual Studio ReSharper Keymap for IntelliJ IDEA
I primarily use Visual Studio and ReSharper (R#) for development and have excellent working knowledge of R#. I want to leverage that knowledge in IntelliJ IDEA (with my personal Java adventures) ...
66
votes
5
answers
44k
views
Does IntelliJ have a `Ctrl` + `K`,`Ctrl` + `D` Sublime equivalent? How do I skip a match when using Alt+J for multiple selections in Android Studio?
I want to have the 'Ctrl'+'K','Ctrl'+'D' functionality of Sublime in Android Studio, how do I do it?
Perfectly similar to this question, but with respect to Android Studio.
How do I skip a match ...
62
votes
1
answer
11k
views
What is the IntelliJ IDEA's Keymap's abbreviation feature useful for?
What is the "Abbreviation" feature in IntelliJ IDEA Keymap for? Web help on Keymap is silent about it.
58
votes
5
answers
47k
views
Choose between open declaration/implementation on Ctrl + click in IntelliJ IDEA
Details:
IDE: IntelliJ IDEA 14
O.S.:: Windows 7
If I want to navigate to the declaration of a method I can choose one of the following approaches:
press Ctrl + left click
right click > Go To > ...
53
votes
4
answers
11k
views
Intellij comment shortcut opens help tab on the Mac menu bar
When I use the Cmd + Shift + / keyboard shortcut to comment/uncomment a block of code, the Help tab on the menu bar in IntelliJ also opens.
Does anyone know how to prevent this shortcut from opening ...
44
votes
2
answers
6k
views
Import IntelliJ key bindings to Xcode
Is there a keymap for Xcode that would make it behave the same as products from JetBrains? (IntelliJ keymap)
I tried Googling, but Google is completely useless in this case, as it presents results ...
41
votes
1
answer
10k
views
How to avoid constant switching to and from English keyboard layout to type Vim commands when writing in non-Latin language (e.g., Greek)?
I am giving Vim a serious try for coding my Python apps.
However, Vim is proving to be so flexible, I was thinking to use it as my main editor at work for writing lawyer/legal documents. The problem ...
40
votes
7
answers
20k
views
Programmer's VIM setup for Finnish/Swedish or other non-US keyboard layout
I've been recently learning some VIM hackery and I have learned a lot of useful commands and gotten pretty efficient at editing text with VIM. I'm using the Finnish qwerty keyboard layout (see image ...
37
votes
5
answers
10k
views
Move file from one editor window to another (split mode)
Is it possible to move a file (already opened) from one editor to another in split mode without using mouse and without using tabs (I have tabs disabled).
Example of what i want to accomplish. I ...
34
votes
4
answers
34k
views
How to use Dictionary (like iphone NSDictionary) in android?
I have worked in soap message, and to parse the value from Webservice, the values are stored in ArrayList.
Example:
values are Employee name (Siva) and Employee id (3433fd), these two values are ...
33
votes
4
answers
7k
views
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....
32
votes
2
answers
12k
views
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 ...
31
votes
2
answers
31k
views
mapping function keys in vim
I want to map my F2 for nerdtree with the following entry:
map <F2> :NERDTreeToggle<CR>
But even before that, and after saving the vimrc , whenever i press F2, it just switches the case ...
28
votes
8
answers
12k
views
Colemak keyboards with Emacs or VIM [closed]
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 ...
28
votes
5
answers
17k
views
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 '...
28
votes
4
answers
12k
views
Mapping <C-Tab> 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 ...
26
votes
4
answers
23k
views
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?
23
votes
3
answers
14k
views
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/...
23
votes
3
answers
19k
views
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 ...
23
votes
4
answers
6k
views
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 ...
22
votes
3
answers
10k
views
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 ...
22
votes
3
answers
11k
views
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?
20
votes
1
answer
7k
views
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 ...
20
votes
6
answers
13k
views
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?
19
votes
2
answers
12k
views
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 ...
18
votes
5
answers
16k
views
Can Windows key be mapped in Vim?
Using Windows key as Meta is very useful in Emacs, is there the way to do it in Vim?
17
votes
5
answers
34k
views
Pycharm Enter Key is not working
I am facing a very weird problem...
My enter key is not causing a line break in pycharm. When I press enter at the end of a line, the cursor jumps to the front of the next line, without causing a ...
16
votes
2
answers
25k
views
IntelliJ Macro menu
I've just started playing with macros in IntelliJ. I recorded several then played back until I decided to add keymap shortcuts to my macros. I went to Settings and pressed Alt+C to add a new child ...
14
votes
6
answers
16k
views
Strange key mapping in Android Studio
I am new to Android studio, it seems to be great IDE. But I have found that it has really strange key and shortcut mapping. I am using Czech keyboard.
When I try to type ">" by pressing Right ALT + ...
13
votes
1
answer
1k
views
Remap Caps lock key to Esc in Mma 7
TLDR: How do I get CapsLock to translate to "ShortNameDelimiter" in Mma 7?
I like pretty text in my mma notebooks, and often define functions as f[\[Alpha]_] =... so as to match the exact equation ...
12
votes
5
answers
8k
views
Open Type (Ctrl+Shift+T) in Eclipse from every window
If I type Ctrl+Shift+T in Eclipse, an Open Type window opens. But this works only if I am in a Java file (or in the Package Explorer area).
I want to open the same window when I press Ctrl+Shift+T ...
12
votes
8
answers
9k
views
Keymap issues with NX from Mac OS X Lion to Ubuntu
I have issues with the keymap of my NX session being garbled.
I have a Macbook Air running OS X Lion. I use OpenNX to start a session with an Ubuntu server running FreeNX. The session type is Gnome.
...
12
votes
2
answers
5k
views
Is there a Visual Studio 2008 keymap profile for Netbeans?
I know there are keymap profiles for Eclipse and Idea that reflect the VS 2k8 key mapping / shortcuts experience quite well, but do you know where I can find one for my IDE of choice, Netbeans?
Could ...
11
votes
3
answers
2k
views
How Can I Override Visual Studio's Menu Accelerator Shortcuts?
I'm a Mac-based .Net developer so over the years I've got into the habit of remapping certain common functions to a more 'Macish' set of keyboard shortcuts:
CUT: Ctrl + X => Alt + X
COPY: Ctrl + C ...
10
votes
2
answers
9k
views
Change "Next File" and "Previous File" shortcut in Sublime Text 2
I'm having no luck changing the key bindings for switching files in Sublime. Does anybody know that the deal is here? All i'm trying to achieve is cmd+] and cmd+[ to show next and previous files. Then ...
10
votes
3
answers
9k
views
How to map <c-leader> in vim?
I would like to map ctrl+leader key. Is it possible?
Tried: :nnoremap <c-leader> :CtrlP<CR>
And it does not work.
(ctrlp bindings conflict with yankring bindings)
10
votes
2
answers
4k
views
Bindings with key sequences
Does Tmux supports key-bindings with key sequences like Vim does (e.g. bind-key ab kill-pane)? Or how can i emulate that?
10
votes
2
answers
7k
views
Remap right option key in mac
Macbook pro 13" does not have a right control key. As a programmer I really need this key and it is not convenient to hit left control with keys that are also on the left side of the keyboard.
Is ...
10
votes
1
answer
5k
views
How to map keys in VsVim to Visual Studio commands?
Is it possible to map keys in VsVim to Visual Studio commands? For example, can I map gb to View.NavigateBackward?
9
votes
3
answers
2k
views
How to quickly select (inner) line-wise in Vim
Vim has some very useful text motions such as ib, i), i}, etcetera to quickly select a portion of text. But, I often need an inner block in line-wise mode. For example (with line numbers):
1: $foo ...
9
votes
4
answers
6k
views
Create a shortcut to toggle the Outline view in VSCode
I've successfully created a key shortcut for outline.focus which displays the Outline panel. I'm looking for toggle behaviour.
Existing:
{
"key": "ctrl+alt+o",
"command": "outline.focus",
...
9
votes
0
answers
5k
views
How to add VSCode key-map to Eclipse?
Does anybody know a quick and simple way to get the VSCode key-map in Eclipse?
I primarily work within VSCode, and soon will also be working within STS (Spring Tool Suite) (which is just Eclipse with ...
8
votes
2
answers
6k
views
Certain key mappings not working in MacVim
I've recently switched to using a Mac at work from previously using Linux. I found out about MacVim (from http://code.google.com/p/macvim/) and have been trying to port over my previous keymappings.
...
8
votes
2
answers
1k
views
Switching tabs in active Tool Window in Intellij Idea
In Intellij, is there any key mapping to switch between tabs in an active tool window? E.g. I in the Debug tool window you have tabs such as Deployment, Server, Output, Frames, Variables and you can ...
7
votes
1
answer
574
views
Contextual keymaps in Rider
Is it possible to create contextual keymaps (shortcuts) in Rider?
For example, in VS, F5 is the shortcut for "run in debug mode". Then if you put a breakpoint and it hits, while you're in ...