Keep those files organized
A terminal based file manager
Nguyen Duc Hanh (hashcott)
Follow the instructions below to get setup for local development
- Clone the repo
git clone https://github.com/fungerouscode/fm.git- Run
make run- Build a binary
make build-
Start
fmby runningfmfrom your terminal -
Navigate your files with the following keys
-
h Go back to the previous directory
-
j Move down in the file tree
-
k Move up in the file tree
-
l Opens the currently selected directory
-
m Move a file or folder. Once pressed you will be prompted in the status bar to type the destination for the currently highlighted file or folder. For example,
test.txtis currently highlighted, press m, type/some/new/destinationand press enter -
d Delete a file or folder. Once you have the file or folder highlighted that you wish to delete, press d, a prompt will show in the status bar, type y to delete it or n to cancel
-
r Rename a file or folder. Once you have the file or folder highlighted that you wish to rename, press r, a prompt will show in the status bar, type the new name of the file or folder and then press enter to confirm those changes
-
tab Toggle between panes
-
esc Cancel any current action. Pressing esc during any action (rename, move, or delete) will cancel that action and return you to file navigation
-
- Thank you to this repo https://github.com/Yash-Handa/logo-ls for the icons
