meowgorithm / fm

A terminal based file manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keep those files organized

About The Project

A terminal based file manager

Built With

Installation

go install github.com/knipferrc/fm@latest

Usage

  • 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.txtRename 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 run fm

Default Config

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: .

Local Development

Follow the instructions below to get setup for local development

  1. Clone the repo
git clone https://github.com/knipferrc/fm
  1. Run
make run
  1. Build a binary
make build

Credit

About

A terminal based file manager

License:MIT License


Languages

Language:Go 100.0%Language:Makefile 0.0%