How to use arrow keys while navigating through file tree?

8

3

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.

codevour

Posted 2011-05-26T17:01:58.783

Reputation: 125

See http://stackoverflow.com/q/4747264/82216 for some workarounds.

– sampablokuper – 2016-07-28T03:58:36.080

1you 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 – 2012-03-25T18:52:21.003

Answers

6

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.

harrymc

Posted 2011-05-26T17:01:58.783

Reputation: 306 093

Hmm.. Anyway, Shift + Key is better than space or +. Tnx. – gaRex – 2012-03-23T10:16:17.253