Coder Social home page Coder Social logo

roamer__the-plain-text-file-manager_like_vidir's Introduction

Roamer Build Status

The Plain Text File Manager

asciicast

Roamer turns your favorite text editor into a lightweight file manager. Copy, Cut & Paste files en masse without leaving your terminal window.

Install

Requirements

  • Python version: 2.7+, 3.2+
  • OS: Linux, MacOS, Windows WSL (Windows Subsystem for Linux)

Command

sudo pip install roamer

For a high security install see here.

Usage

Start Roamer

$ roamer

This will open the current working directory in your default $EDITOR. (See options section to override editor)

Example Output

" pwd: /Users/abaldwin/Desktop/stuff
my_directory/ | b0556598b8f8
my_file_1.txt | ce9b0a287985
my_file_2.txt | fc3da7f790a6
my_file_3.txt | fc3da7f790a6

Explanation

  • Each line represents a single entry (file or directory)
  • On the left side of the pipe character is the entry's name
  • On the right side is the entry's hash. You can think of the hash as a link to that entry's contents.
  • A line starting with double quote (") is a comment and will be ignored.

--> Make changes as desired. When finished save and quit to commit the changes. e.g. vim :wq

Common Operations

Delete a file

  • Delete the line

Copy a file

  • Copy the entire line
  • Paste it onto a new line

Rename a file

  • Type over the existing file's name
  • Do not modify the hash on the right side

Copy over a file

  • Copy the hash from the first file
  • Replace the second file's hash

Make a new empty file

  • Add a new line
  • Type the new file's name

Move files between directories

  • Open up another terminal tab and run second roamer session
  • Copy / Paste lines between both sessions of roamer

Options

Editor

Roamer uses your default $EDITOR environment variable.

To override a specific editor for roamer add this to your shell's config. (~/.bashrc ~/.zshrc etc)

export ROAMER_EDITOR=emacs

If no editor is set then vi will be used.

Data Directory

Roamer needs a directory for storing data between sessions. By default this will be saved in .roamer-data in your home directory.

To override:

export ROAMER_DATA_PATH=~/meh/

Editor Plugins

This roamer library is editor agnostic and focused on processing plain text. To enhance your experience with roamer consider installing roamer editor plug-ins:

roamer__the-plain-text-file-manager_like_vidir's People

Contributors

abaldwin88 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.