Skip to content

lsngo is a terminal user interface to replace the use of repetitive "ls ... cd ..."

License

Notifications You must be signed in to change notification settings

deadc0de6/lsngo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tests Status License: GPL v3

Donate

lsngo

lsngo is a terminal user interface to replace the use of repetitive ls ... cd ....

Install by picking up a binary from the latest release and adding it to your path.

Then add an alias:

alias lg=lsngo

Usage

Usage of lg:
  -a	Show hidden files
  -debug
    	Debug mode
  -editor string
    	File editor
  -help
    	Show this help
  -l	Long format
  -version
    	Show version

Build

## create a binary for your current host
go mod tidy
make
./lg --help

## create all architecture binaries
go mod tidy
make build-all
ls lg-*

Shortcuts

  • j: down (or arrow down)
  • k: up (or arrow up)
  • h: go to parent directory (or arrow left)
  • l: open file/directory (or arrow right)
  • q: exit
  • esc: exit
  • H: toggle hidden files
  • L: toggle long format
  • enter: open file/directory
  • ?: show help

Thank you

If you like lsngo, buy me a coffee.

License

This project is licensed under the terms of the GPLv3 license.