Skip to content

aymuos15/See

Repository files navigation

See: A TUI file viewer.

Main view

File browser with syntax-highlighted preview

Git diff view

Git highlighting with visual diff - modified files marked with ● and colored text

Search

Fuzzy search across entire directory tree

Select

Text selection in preview pane

Split Panes

Split panes with tab bar for multiple files

Build

cargo build --release

Run

cargo run [FILE_PATH]

Controls

Press ? in the app to see all keyboard shortcuts, or see config.example.toml for the full list of configurable key bindings.

Configuration

Configuration file location: ~/.config/viewer/config.toml

See config.example.toml for all available options including:

  • File/directory exclusion patterns
  • Theme configuration (Helix themes or custom colors)
  • Customizable key bindings

Auto-Refresh

The viewer automatically watches for file changes:

  • Current directory: Refreshes file list when files are added/deleted
  • Preview file: Refreshes preview when the viewed file is modified
  • Search index: Refreshes every 30 seconds to pick up new files

Development

Pre-commit Hooks

Install pre-commit hooks to run formatting and linting checks before each commit:

pip install pre-commit
pre-commit install

This will run cargo fmt, cargo clippy, and other checks automatically on commit.

About

A very fast TUI file viewer.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages