← 全部工具

xyproto/megafile

热度 75 更新于 网络与系统管理

File browser, simple shell and image viewer for the terminal

githubauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

MegaFile

File browser, simple shell and image viewer for the terminal, 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)

Building

make

Installation

make install

Commands

  • any filename - edit file with $EDITOR
  • cd, .. or any directory name - change directory
  • ./script.sh - execute a script named script.sh
  • ls or dir list directory (happens automatically, though)
  • q, quit or exit - exit program

Hotkeys

Navigation and Selection

  • ↑/↓/←/→ - navigate and select files
  • Page Up/Down - jump to first/last entry in current column
  • Home or ctrl-a - jump to first file (or start of line when typing)
  • End or ctrl-e - jump to last file (or end of line when typing)

Execution

  • Return - execute selected file, or run typed command
  • Esc - clear selection or filter (first press), then go one directory up, or exit program when launched from Orbiton

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 program
  • ctrl-k - delete text to the end of the line
  • ctrl-c - clear text, or exit program

File Operations