#user #navigate #directories #helps #design #ranger #terminal

bin+lib naviga

Naviga helps users navigate easily through directories

5 releases

0.1.4 Sep 6, 2022
0.1.3 Sep 2, 2022
0.1.2 Sep 2, 2022
0.1.1 Sep 2, 2022
0.1.0 Sep 1, 2022

#4 in #ranger

MIT license

27KB
657 lines

Naviga

About

Naviga helps users navigate easily through directories. Naviga's design is inspired from Ranger.

Installation

$ cargo install naviga

A program can't change the current directory as a process can only affect its own environment. A shell function must be added in your shell configuration file (.bashrc, .zshrc) the terminal must be restarted.

I agree, a shell function is not the smartest way.

function nav() {
    naviga

    if [ -f "$HOME/naviga.sh" ]; then
        . ~/naviga.sh
        rm ~/naviga.sh
    fi
}

export function nav

Quick start

Launch naviga with nav (the shell function defined above). Use the arrow keys or h i j k to navigate, Enter to jump into the selected directory, and q to exit.

Uninstallation

$ cargo uninstall naviga

Dependencies

~3–14MB
~109K SLoC