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.

Source Distribution

redit-1.0.2.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

redit-1.0.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file redit-1.0.2.tar.gz.

File metadata

  • Download URL: redit-1.0.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for redit-1.0.2.tar.gz
Algorithm Hash digest
SHA256 0b05e44f51efca729ae8fc50518c2ed8ee17db5acebfa452a1274a580841d50c
MD5 2fbf7416fa339ce357a4b47633038265
BLAKE2b-256 e0ed4506536b91459822088fc3080b8f7f2dc25b3d5f2c7a0163851b5f6d3ccf

See more details on using hashes here.

File details

Details for the file redit-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: redit-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for redit-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 797a06149476f824b3f1ad394ccd554db505904f9524ef50940daef72ac52fd6
MD5 b14af29a86c0414963949d608aa66b0f
BLAKE2b-256 16a5acbf6d2a2939e14fd44de7c512c35edd98bed8fa99487dea8cd64d769b51

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page