meowgorithm / llama

Terminal file manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🦙 llama


Llama Demo

Llama — a terminal file manager.

Why another file manager? I wanted something simple and minimalistic. Something to help me with faster navigation in the filesystem; a cd and ls replacement. So I build "llama". It allows for quick navigation with fuzzy searching. cd integration is quite simple. And you can open vim right from the llama. That's it. As simple and dumb as a llama.

Install

brew install llama
snap install llama
go install github.com/antonmedv/llama@latest

Or download prebuild binaries.

Put the next function into the .bashrc or a similar config:

Bash Fish PowerShell
function ll {
  cd "$(llama "$@")"
}
function ll
  cd (llama $argv);
end
function ll() {
  cd "$(llama $args)"
}

Note: we need a such helper as the child process can't modify the working directory of the parent process.

Usage

Key binding Description
Arrows, hjkl Move cursor
Enter Enter directory
Backspace Exit directory
Space Toggle preview
Esc Exit with cd
Ctrl+C Exit without cd
/ Fuzzy search
dd Delete file of dir

The EDITOR or LLAMA_EDITOR environment variable used for opening files from the llama.

export EDITOR=vim

Preview mode:

Llama Preview Mode

Delete file or directory:

Llama Deletes a File

License

MIT

About

Terminal file manager

License:MIT License


Languages

Language:Go 100.0%