# Left & Right Arrow Keys for Folder Navigation

**URL:** https://resource.dopus.com/t/left-right-arrow-keys-for-folder-navigation/32150
**Category:** Help & Support
**Created:** [April 10, 2019, 7:49am UTC](https://resource.dopus.com/t/left-right-arrow-keys-for-folder-navigation/32150 "2019-04-10T07:49:04Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![H-Ce](https://resource.dopus.com/user_avatar/resource.dopus.com/h-ce/32/37878_2.png) [@H-Ce](https://resource.dopus.com/u/H-Ce)
#### Post date: [April 10, 2019, 7:49am UTC](https://resource.dopus.com/t/left-right-arrow-keys-for-folder-navigation/32150/1 "2019-04-10T07:49:04Z")

</div>

How can I set up Left and Right Arrow keys to `go to parent folder` and `open selected folder (or file)` respectively? Preferably, this behavior should only apply when file lister is focused.

---

<div class="post-metadata">

### Author: ![lxp](https://resource.dopus.com/user_avatar/resource.dopus.com/lxp/32/33734_2.png) [@lxp](https://resource.dopus.com/u/lxp)
#### Post date: [April 10, 2019, 10:13am UTC](https://resource.dopus.com/t/left-right-arrow-keys-for-folder-navigation/32150/2 "2019-04-10T10:13:30Z")

</div>

Try this

![50%20-%20Command_Editor_-_Directory_Opus](https://resource.dopus.com/uploads/default/original/3X/1/2/12d0f7eda24269cbf57e5fbb26e9b210d1044144.jpeg) ![15%20-%20Command_Editor_-_Directory_Opus](https://resource.dopus.com/uploads/default/original/3X/f/4/f4d28f2ab8ff54e759d5a385c1d175d1fb3afd5f.jpeg)

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [April 10, 2019, 12:01pm UTC](https://resource.dopus.com/t/left-right-arrow-keys-for-folder-navigation/32150/3 "2019-04-10T12:01:59Z")

</div>

`Go FROMSEL` might be preferable for the right arrow, unless you want it to also run exe files and open images, etc.

> [@Open and go back with arrow key](https://resource.dopus.com/t/open-and-go-back-with-arrow-key/29153):
>
> Hi. I would like to use left and right arrow key to navigate into folders in detail mode like in folder tree. So I have add left key as alternate key for backward (command go up back). What would be the command acting like enter key : open selecte…

---

<div class="post-metadata">

### Author: ![timlitos](https://resource.dopus.com/letter_avatar_proxy/v4/letter/t/e79b87/32.png) [@timlitos](https://resource.dopus.com/u/timlitos)
#### Post date: [December 7, 2022, 6:21pm UTC](https://resource.dopus.com/t/left-right-arrow-keys-for-folder-navigation/32150/4 "2022-12-07T18:21:37Z")

</div>

I got the left arrow to work but what did you use for the right arrow. I'm not seeing the choices in that post. You are doing this under Customize\>Keys, yes?

---

<div class="post-metadata">

### Author: ![lxp](https://resource.dopus.com/user_avatar/resource.dopus.com/lxp/32/33734_2.png) [@lxp](https://resource.dopus.com/u/lxp)
#### Post date: [December 7, 2022, 6:42pm UTC](https://resource.dopus.com/t/left-right-arrow-keys-for-folder-navigation/32150/5 "2022-12-07T18:42:37Z")

</div>

> [@timlitos](#):
>
> You are doing this under Customize\>Keys, yes?

Yes.

 ![2022-12-07 - 19.35.41](https://resource.dopus.com/uploads/default/original/3X/7/1/71c698c22e01d49676fb960e267ffe2b1ba9a302.jpeg)

Simply hit the key after selecting this field:

 ![2022-12-07 - 19.37.27](https://resource.dopus.com/uploads/default/original/3X/1/7/17408b0f6926afabf94f42f2209a3a80cfb001bf.jpeg)

Enter this or Leo's alternative suggestion:

 ![2022-12-07 - 19.38.32](https://resource.dopus.com/uploads/default/original/3X/4/5/45cbb017293c2d4ead37de145177d18178924e5a.jpeg)

> [@How to use buttons and scripts from this forum](https://resource.dopus.com/t/how-to-use-buttons-and-scripts-from-this-forum/3546):
>
> This post explains how to add buttons to toolbars and menus, and also applies to raw commands for things like standalone hotkeys. For how to use Script Add-Ins, please scroll down to the post below this one. See Also: The manual has more detail in…

---

<div class="post-metadata">

### Author: ![timlitos](https://resource.dopus.com/letter_avatar_proxy/v4/letter/t/e79b87/32.png) [@timlitos](https://resource.dopus.com/u/timlitos)
#### Post date: [December 7, 2022, 6:49pm UTC](https://resource.dopus.com/t/left-right-arrow-keys-for-folder-navigation/32150/6 "2022-12-07T18:49:27Z")

</div>

Ah. Ok. I was missing the advanced options. This works for me now.  
I am having one issue though. So if I use the left arrow to go back (using the Go UP command) it works, but the folder I came from doesn't get selected automatically. So I have to hit the down key and back up to select, then hit the right arrow to enter that folder. Is there a way to fix this?

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [December 7, 2022, 6:52pm UTC](https://resource.dopus.com/t/left-right-arrow-keys-for-folder-navigation/32150/7 "2022-12-07T18:52:08Z")

</div>

Turn on **Preferences / Folders / Folder Behavior / Select previous folder when going Up**.

Using `Go UP BACK` instead of `Go UP` is probably also preferable if you're doing that. It'll pull the parent directory, including selection(s) and scroll position, from history if you recently came from it. Selection will usually be the directory you're leaving, since it was selected to go into it.

---

<div class="post-metadata">

### Author: ![timlitos](https://resource.dopus.com/letter_avatar_proxy/v4/letter/t/e79b87/32.png) [@timlitos](https://resource.dopus.com/u/timlitos)
#### Post date: [December 7, 2022, 6:59pm UTC](https://resource.dopus.com/t/left-right-arrow-keys-for-folder-navigation/32150/8 "2022-12-07T18:59:22Z")

</div>

That's perfect. Thanks!  
I'm finding a similar issue with the right arrow key. Once I "go right" one level, there is nothing selected. So if I want to "go right" another level, I have to hit down, up, then right. Any similar solve for that?

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [December 7, 2022, 7:01pm UTC](https://resource.dopus.com/t/left-right-arrow-keys-for-folder-navigation/32150/9 "2022-12-07T19:01:12Z")

</div>

**Preferences / File Displays / Options / Automatically select first file in folder (except in Power Mode)**

(There's a similar, separate option for Power Mode, if you're using that.)

---

<div class="post-metadata">

### Author: ![timlitos](https://resource.dopus.com/letter_avatar_proxy/v4/letter/t/e79b87/32.png) [@timlitos](https://resource.dopus.com/u/timlitos)
#### Post date: [December 7, 2022, 8:24pm UTC](https://resource.dopus.com/t/left-right-arrow-keys-for-folder-navigation/32150/10 "2022-12-07T20:24:35Z")

</div>

Excellent! Thanks again!
