I’m not (yet) a Java developer. In fact, I hate Java. But I started to learn J2ME to be able to write programs for cell phones (now I have a phone that has good J2ME support, large memory, somewhat fast processor…). So, I installed NetBeans 5.5 and the NetBeans Mobility kit. Some people prefer Eclipse, some prefer NetBeans. Since I never really used any of them, I tried NetBeans.
- Solution 1: Open another program and copy/paste the quote character.
- Solution 2: Write a macro inside NetBeans so I can type a combination and it enters a quote.
- Solution 3: Press AltGr+quote. This works anywhere inside X.
But today I accidentally found two shortcuts that do exactly what Ctrl+N and Ctrl+P do inside Vim! They are Ctrl+L and Ctrl+K. Of course, I wanted to remap these two actions to the same keys as in Vim. Then I found one of the most scaring dialogs:
The NetBeans keymap window
Before showing how it is, let’s see how Opera Software designed that dialog in Opera browser for desktop.
Oh, how neatly arranged and organized. It has two columns, one for the keyboard shortcut and another for the action. It also has a quick-find field, an invaluable feature when the program has more than just a few actions and shortcuts. And this dialog is also used for editing mouse gestures. Very neat, well-thought, well-designed and easy-to-use.
Now beware! The NetBeans keymap window is coming! Don’t say I haven’t warned you!
All actions are available at this dialog, and they are divided into 16 categories:
The keyboard shortcut is just a string between square brackets concatenated to action name. There are no columns. There is no font change, no color change, no bold, no spacing… Nothing that you can easily spot.
Well, I discovered the Ctrl+L shortcut and wanted to change it, but I have no idea on what is the action it calls. I would seach… but there is no search field, and I won’t waste my time looking at all actions, one-by-one.
Enough bad design for now. And if someone knows what are the actions of Ctrl+L and Ctrl+K, please tell me.
P.S.: Dear Firefox users, I’m so sorry about you. Your browser does not even have a shortcut editor. I know, you can search until you find an extension that adds that feature. And hope that extension works. Until then, you need to live with backspace not going back to previous page…