Skip to main content

copyedit

An easy way to edit your clipboard contents!

copyedit is intended to be an alternative to Text Editor Anywhere

pip3 install copyedit or pip3 install git+https://github.com/Rayquaza01/copyedit

Copyedit uses pyperclip. You may need to manually install additional dependencies, depending on your system.

Usage

  • Run copyedit.py.
  • It will ask for a file extension, create a file with your current clipboard contents, and open the file in your editor.
  • When you close your editor, it will copy the contents of the file to your clipboard

Options

The options are saved in ~/copyedit.json and can be overridden in a config file per folder.

  • editor: The command to run your preferred text editor. The file with the clipboard contents will be passed as an argument. Defaults to vim
  • default_extension: The default file extension to use. Can be changed while running. Defaults to txt
  • directory: The directory to save the temporary clipboard files in. Defaults to ~/copyedit
  • delete_on_close: Whether to delete the temporary file after copyedit finishes. Defaults to false

Arguments

Two arguments are accepted:

  • --blank (-b): make the file blank, instead of using clipboard contents. Will still copy file contents to clipboard after the editor is closed
  • --deleteOnClose (-doc): Delete on close, overrides the config option.

Release files for copyedit 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for copyedit 1.0.1
File Size Uploaded
copyedit-1.0.1.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for copyedit 1.0.1
File Interpreter ABI Platform
copyedit-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size:6.6 kB

Release files / copyedit-1.0.1.tar.gz

Download URL copyedit-1.0.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fea61dbb0f75754495432768e8d54ae0f3b371e5550c29cd5aed5a07862649c9
BLAKE2b-256 checksum
How to use checksums
4441496a36d1d6ea203e6f9f76a95657c34b18a610d70552b5ee61a6e5af52f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.8

Release files / copyedit-1.0.1-py3-none-any.whl

Download URL copyedit-1.0.1-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a4d97f77a98dd779198ba424ff5950113a7b2e7a96650031feaeee9b04ce48d
BLAKE2b-256 checksum
How to use checksums
5e8384165e3a6b4011229d5a846f08d841e396355d6d723b4b7f7befe9d36de4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.8

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page