A simple and colorful TUI shell for Linux, written in Go.
This project can be used as the github.com/xyproto/megafile package, or as a standalone exectuable.
(screenshot of the previous version, before the project rename)
make
make install
- any filename - edit file with
$EDITOR cd,..or any directory name - change directory./script.sh- execute a script namedscript.shlsordirlist directory (happens automatically, though)q,quitorexit- exit program
Navigation and Selection
↑/↓/←/→- navigate and select filesPage Up/Down- jump to first/last entry in current columnHomeorctrl-a- jump to first file (or start of line when typing)Endorctrl-e- jump to last file (or end of line when typing)
Execution
Return- execute selected file, or run typed commandEsc- clear selection (first press), exit program (second press)
Text Editing
Backspace- delete character, or go up directory (when at start)ctrl-h- delete character, or toggle hidden files (when at start)ctrl-d- delete character under cursor, or exit programctrl-k- delete text to the end of the linectrl-c- clear text, or exit program
File Operations
Tab- cycle through files, or tab completionDelete- move selected file to trash (when no text is typed)ctrl-zorctrl-u- undo last trash movectrl-r- rename selected file or directoryctrl-f- search for text in files
Directory Navigation
ctrl-space- enter the most recent subdirectoryctrl-n- cycle to next directoryctrl-p- cycle to previous directoryctrl-b- go to parent directoryctrl-w- go to the real path (resolve symlinks)
Display
ctrl-o- toggle show hidden filesctrl-l- clear screen
External Tools
ctrl-t- runtigctrl-g- runlazygit
Exit
ctrl-q- exit program immediately
tiglazygit/bin/shfor displaying the uptime on macOS
- Version: 1.6.13
- License: BSD-3
- Author: Alexander F. Rødseth <xyproto@archlinux.org>
