π¦ llama
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
pkg_add 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 |
---|---|
function ll {
cd "$(llama "$@")"
} |
function ll
set loc (llama $argv); and cd $loc;
end |
PowerShell | |
function ll() {
cd $(llama $args | Out-String -Stream | Select-Object -Last 1)
} See issues/30 for more details. |
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 or dir |
The EDITOR
or LLAMA_EDITOR
environment variable used for opening files from
the llama.
export EDITOR=vim
Preview mode:
Delete file or directory:
Command-line options
--icons
display icons
Install Nerd Fonts to get the icons to render properly.