Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I use the arrow keys (right and left) to fold or unfold directories (tree nodes) within e.g. Nautilus or Eclipse instead of using the space bar?

Is it possible to bind this? (Note: This is very helpful if you want to fold a parent node while traversing in its child nodes.)

Thank you.

share|improve this question
1  
you could of course recode it (key bindings and which ones are locked down or not) yourself since its open source......... not something i would know how to do –  conspiritech Mar 25 '12 at 18:52
add comment

1 Answer

up vote 5 down vote accepted
+50

From Why do i have to shift - right / left key to open and close folders in nautilus, eclipse, etc.?, dating from 2003 to 2009 :

I think it boils down to this root issue in GTK: "Please add common keybindings for the TreeView". The reply from a developer:

The arrow keys are already being used in GtkTreeView to move the focus rectangle over the horizontal axis.

This issue was opened in 2003, the last substantial comments are also some years old, so I doubt it will be fixed soon...

Currently you can expand a folder using Shift+Left, Space and +.

A more recent bug report (2009 to 2011) gives the same answer, so I doubt that your question has another answer except to use these keys with Shift.

share|improve this answer
    
Hmm.. Anyway, Shift + Key is better than space or +. Tnx. –  gaRex Mar 23 '12 at 10:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.