Skip to content

kmarius/lfm

Repository files navigation

lfm

Terminal file manager heavily inspired by LF, written in C and using notcurses and luajit. If you like LF but want more flexibility in the configuration and extensibility, this might be for you.

Note: This is WIP. Nothing in the API is to be considered stable. Use at your own risk.

lfm

Installation

Arch Linux

Use the PKGBUILD provided in pkg. Builds the latest master. Also works on Arch Linux ARM 64bit.

Debian/Ubuntu

Install dependencies

sudo apt install cmake lua-posix libpcre3-dev libmagic-dev luajit libluajit-5.1-dev libreadline-dev zlib1g-dev libunistring-dev libev-dev gcc g++ pkg-config libavformat-dev libswscale-dev libavcodec-dev libdeflate-dev

In the root of this repository perform

mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=~/.local -DCMAKE_BUILD_TYPE=RelWithDebInfo
make
make install

This will install lfm into ~/.local, make sure to add ~/.local/bin to PATH. To install lfm globally (which I don't recommend, yet), replace the CMAKE_INSTALL_PREFIX with e.g. /usr and run sudo make install instead.

Usage

TODO.