Skip to main content

Preview recently edited notes and launch editor

Project description

redit - edit again

redit previews a folder of recently edited text files and launches an editor on the file of your choice.

redit is useful when you keep a folder of textual notes and you want to go back to a recently edited file whose name you might not remember. In this case you would type redit and be greeted with this interactive prompt:

Screenshot

Answering with j, enter will then directly load README.md into your editor.

You can set a default directory to look for files (say, ~/notes) in ~/.config/redit/default-location like this:

mkdir -p ~/.config/redit && echo '~/notes' > ~/.config/redit/default-location

Alternatively you can provide a location with redit ~/Downloads and finally redit falls back to the current directory.

Installation

pip install redit

Configure an editor

redit will try to launch the editor in $EDITOR or use the one configured in ~/.config/redit/editor.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for redit, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size redit-1.0.2-py3-none-any.whl (3.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size redit-1.0.2.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page