Skip to content

vijja-w/lsgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lsgo

Demo

lsgo is a tiny command-line directory traversal tool:

lsgo

It opens an inline picker. Directories are highlighted as navigable targets, files are muted context, and typing filters the directory targets. Press Tab to enter the highlighted directory, and press Enter to accept it. Arrow keys are also supported.

Setup

uv tool install git+https://github.com/vijja-w/lsgo

Initialize

lsgo needs a shell function so it can change the current shell directory:

lsgo init

# zsh
source ~/.zshrc

# bash
source ~/.bashrc

lsgo init supports bash and zsh.

Keys

  • Type letters: filter directories
  • Backspace: delete query character, or go back if the query is empty
  • Tab: enter highlighted directory
  • Right arrow: enter highlighted directory
  • Left arrow: move to parent directory
  • Up/Down arrows: move highlighted entry, loading more entries as needed
  • PageUp/PageDown: move by a visible page
  • Shift+Tab: go back to the previous directory
  • Enter: accept highlighted/current directory
  • Ctrl+C or Esc: cancel
  • Ctrl+L: clear query

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages