Keep those files organized
A terminal based file manager
go install github.com/knipferrc/fm@latest
-
Run
fm
-
Navigate your files with the following keys
-
h or left Go back to the previous directory
-
j or down Move down in the file tree
-
k or up Move up in the file tree
-
l or right Opens the currently selected directory
-
gg Go to bottom of pane
-
G Go to top of pane
-
~ Switch to home directory
-
. Toggle hidden files and directories
-
- Go to previous directory
-
ctrl+c Exit
-
q Exit if command bar not open
-
: Open command bar
-
mkdir dirname
Create a new directory in the current directory -
touch filename.txt
Create new file in the current directory -
mv newname.txt
Rename currently selected file or directory -
cp /dir/to/move/to
Move currently selected file or directory -
rm
Delete the currently selected file or directory
-
-
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
-
-
A config file will be generated at
.config/fm/config.yml
when you first runfm
colors:
components:
spinner: "#F25D94"
dir_tree:
selected_item: "#F25D94"
unselected_item: "#FFFDF5"
pane:
active_border_color: "#F25D94"
inactive_border_color: "#FFFDF5"
status_bar:
bar:
background: "#353533"
foreground: "#FFFDF5"
logo:
background: "#6124DF"
foreground: "#FFFDF5"
selected_file:
background: "#F25D94"
foreground: "#FFFDF5"
total_files:
background: "#A550DF"
foreground: "#FFFDF5"
settings:
enable_logging: false
enable_mousewheel: true
pretty_markdown: true
rounded_panes: false
show_icons: true
start_dir: .
Follow the instructions below to get setup for local development
- Clone the repo
git clone https://github.com/knipferrc/fm
- Run
make run
- Build a binary
make build
- Thank you to this repo https://github.com/Yash-Handa/logo-ls for the icons