Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs shortcuts for IDEA IDE?

I'm just switching from Emacs to IDEA and it would be a great help to me if I could use shortcuts like Ctrl-A for jump-to-line-start. etc. Is this possible?

like image 382
Łukasz Lew Avatar asked Apr 15 '10 19:04

Łukasz Lew


People also ask

How do I find keyboard shortcuts in IntelliJ?

Configure keyboard shortcuts IntelliJ IDEA includes several predefined keymaps and lets you customize frequently used shortcuts. To view the keymap configuration, open the Settings/Preferences dialog Ctrl+Alt+S and select Keymap. IntelliJ IDEA automatically suggests a predefined keymap based on your environment.

How do I use IntelliJ shortcuts?

Learn shortcuts as you workPress Ctrl+Shift+A and start typing to get a list of suggested actions. Then select the necessary action and press Enter to execute it.

What does Ctrl Shift F do in IntelliJ?

ctrl+shift+f searching in some last used directory instead of entire project Follow. Hello, In past IntelliJ versions, ctrl+shift+f would search the entire project (no matter whether you had at some point used "find in path").


2 Answers

Go to Settings -> IDE Settings -> Keymap and you will have all the keymappsing.

One of the Keymaps you can select from is Emacs.

like image 159
Arthur Thomas Avatar answered Oct 20 '22 14:10

Arthur Thomas


A note from a long time Emacs and IDEA user - Emacs bindings in IDEA are simply mission impossible. Arthur is perfectly correct about how to enable them, but they will seriously tamper with your IDEA workflow since they tend to override a lot of default IDEA keybindings and in the end you have to come up with completely custom keymap. This is not a problem the first time - but when you have to work on some coworkers machines, or on other computers it becomes extremely annoying. I used to hold my keymap in Subversion.

So basically don't use the default Emacs keybinding in IDEA - copy the basic setup and extend it personally. The IDEA server might be helpful to keep several computers in sync with the same keybindings.

Also keep in mind that only basic navigational commands are supported in IDEA and some helpful IDEA actions may wind up without keybindings by default so pay extra attention how you configure your IDEA.

For me there is only like place like Emacs - and that's Emacs. I have yet to see some software that provides sensible settings using Emacs keybindings.

like image 24
Bozhidar Batsov Avatar answered Oct 20 '22 13:10

Bozhidar Batsov