mirror of
https://github.com/dylanaraps/shfm.git
synced 2026-10-02 05:42:58 +07:00
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
shfm
|
|
________________________________________________________________________________
|
|
|
|
wip file manager written in posix shell
|
|
|
|
note: likely very broken
|
|
|
|
|
|
features
|
|
________________________________________________________________________________
|
|
|
|
* draws in the most inefficient fashion possible. whole screen updates every key
|
|
press. language choice limits us GREATLY here (no arrays).
|
|
|
|
* really nice escape sequence handling for keys which emit '\033[<stuff>'. Not
|
|
based on read timeouts. Based on tracking position within sequences.
|
|
|
|
* has no dependencies other than a POSIX shell and POSIX coreutils (for printf,
|
|
[, etc if not builtin).
|
|
|
|
* movement uses vim-like keybinds (hjkl).
|
|
|
|
* causes a myriad of terminal emulators to choke (for the moment).
|
|
|
|
|
|
todo
|
|
________________________________________________________________________________
|
|
|
|
- [ ] scrolling is torture.
|
|
- [ ] stop redrawing whole screen on key press.
|
|
- [ ] store list somehow.
|
|
- [ ] search
|
|
- [ ] prompts
|
|
- [ ] opener
|
|
- [ ] resize (POSIX shell winch is not asynchronous during read + SIGWINCH?)
|
|
|
|
|
|
keybinds
|
|
________________________________________________________________________________
|
|
|
|
j - down
|
|
k - up
|
|
l - open file or directory
|
|
h - go up level
|
|
g - top
|
|
G - bottom
|
|
q - quit
|