DEV Community 👩‍💻👨‍💻

Arijit Basu
Arijit Basu

Posted on • Originally published at

How to navigate in xplr

Arrow keys:

up: move the cursor up
down: move the cursor down
right: Enter into directory
left: Leave directory

For vimmers, h, j, k, l are mapped to the arrow keys as you'd expect from any vim inspired program.


Press / and then type any regular expression to search files and folders in the current working directory.

While in search mode, you can use up or ctrl-p to move the cursor up, and down or ctrl-n to move the cursor down. Use left, right keys to enter into or leave directories without leaving the mode.

When you are done, press enter or escape to leave the search mode.

Alternatively, install fzf.xplr if you are a fzf user. Or install zoxide.xplr to be able to jump between your most visited directories using zoxide.

Jump to top and bottom

Type g g to jump to the top and G to jump to the bottom.
Jump to index

Type any number (let's say n) and then,

  • press enter to jump to a certain index.
  • press up or k to jump n lines above the cursor.
  • press down or j to jump n lines below the cursor.

Jump back and forth history

Press ctrl-o to jump to the previous jump location, and ctrl-i to jump to the next jump location, like you'd do in vim.

Follow symlink

Type g f to follow symlinks into their actual path.

Go to path (Upcoming in version 0.9.0)

Press g p and type or paste a path to go into that path (if directory) or focus on it.

For more navigation options, check out the help menu by pressing ?, or visit awesome plugins, or learn how to configure key bindings, so that you can hack your own custom navigation system.

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.