Skip to content

A small, efficient CLI navigator for your sea of files.

Notifications You must be signed in to change notification settings

MichaelScofield45/sea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sea

A simple linux-only (for now) CLI file navigator for your sea of files, inspired by nnn. sea aims to be fast and efficient in the most common actions regarding files and organization.

It has zero dependencies (not even ncurses) except for Zig itself, everything is part of the Zig Standard Library or made from scratch. It is statically compiled and ready to run on any linux distribution.

Building from source

Requirements

The only requirement to build is the Zig compiler itself. This project follows the main branch and is up-to-date with features, and sometimes bugs. The latest tested version of the compiler that compiles correctly was 0.11.0-dev.4191+1bf16b172. Anything more recent than this version should work without problems.

If you are unsure of what version is in your system, run the following command:

zig version

You can download the latest official compiler binaries from the Zig downloads page.

Once you have the compiler

Clone the repository, and just one command to build:

zig build -Doptimize=ReleaseSafe

To execute it, run:

zig build -Doptimize=ReleaseSafe run

Or add zig-out/bin/ to your $PATH environment variable.

Keymappings

Movement

Key Action
q quit
h or go left (go to the above directory)
j or go down one entry in current directory
k or go up one entry in current directory
l or go right (enter directory selected)
g go to top
G go to bottom

Selections

Key Action
Space toggle select
a select everything in current directory
A invert selection

Filesystem Actions

Key Action
d delete selection (deletes everything recursively, be careful!)

Planned Features

The following are ordered by priority:

  • Support cd on quit
  • Select with Space
    • Deselect
    • Save selections between directory changes
  • Select all with a
  • Invert selection with A
  • Properly handle arrow keys (they were removed because of overlap with other keys when reading byte by byte)
  • Delete selections
    • Prompt before deleting everything
  • Move selections
  • Create files and directories
  • macOS support
  • Filtering by search with /

About

A small, efficient CLI navigator for your sea of files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages