Skip to content

kk-code-lab/rdir

Repository files navigation

rdir

Terminal file manager in Go.

Installation

go install github.com/kk-code-lab/rdir/cmd/rdir@latest

Usage

rdir

Keybindings

  • ↑/↓: Navigate files
  • Enter: Enter directory
  • : Open file in pager
  • c/C (pager): Copy visible view/all content to clipboard
  • f (pager): Toggle formatted/raw preview (pretty JSON/Markdown when available; falls back to raw for truncated/large files)
  • / (pager)**: Text search within the pager
  • : (pager, binary preview)**: Hex search; Ctrl+B toggles text/hex while searching; Ctrl+L toggles full-scan for binary search
  • ←/Backspace: Go to parent
  • /: Fuzzy search
  • r: Refresh current directory listing
  • !: Open a shell in current directory (exit to return)
  • [/]: History navigation
  • h: Toggle hidden files
  • q: Exit

Building from source

git clone https://github.com/kk-code-lab/rdir
cd rdir
./scripts/make.ps1 build   # or: make build
./build/rdir

Testing

./scripts/make.ps1 test    # or: make test

License

MIT

About

Terminal file manager in Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

  •  
  •  

Languages