GithubHelp home page GithubHelp logo

llama's Introduction

๐Ÿฆ™ 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
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:

Llama Preview Mode

Delete file or directory:

Llama Deletes a File

License

MIT

llama's People

Contributors

antonmedv avatar meowgorithm avatar fzdwx avatar antongolub avatar juneezee avatar vvcaw avatar guy-av avatar chuhlomin avatar gingerbeardman avatar omar-polo avatar thereptar avatar gonzalo- avatar kz6fittycent avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.