I am using the C++ plugin.
I use emacs mode so instead of using the arrow keys I use CNTRL-N (down arrow), CNTRL-P (up arrow), CNTRL-F (right
arrow), and CNTRL-P (left arrow) while in the editor. It is very useful to use these keys instead of the arrow keys
because you do not have to move your hand off the standard keyboard position like you do for the arrow keys.
Using these key mappings works in many places, but not all. The Code assistance feature does respect the keybindings
and I can use CNTRL-P and CNTRL-N when it pops up possible lists to choose from. I would like all the other areas that
use arrow keys to respect the key bindings settings as well. The ones I have seen that are not working properly are
when I do a quick search in the Project, Files, or Classes tab (in the upper left of the IDE). I can use arrows to
move around the trees, but not keybindings mapped to those arrows. Also the search in the upper right of the IDE does
not allow the key bindings to work.
OK, but we need some API to get current mapping for arrow keys. Now KeyEvent.VK_UP and KeyEvent.VK_DOWN are hardcoced in
org.openide.explorer.view.TreeView (ListView) and org.netbeans.modules.quicksearch.AbstractQuickSearchComboBar.