Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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
See for some workarounds. – sampablokuper 16 hours ago
up vote 6 down vote accepted

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .