An easy way to edit your clipboard contents!
Project description
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
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 tovim
default_extension
: The default file extension to use. Can be changed while running. Defaults totxt
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 tofalse
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
copyedit-1.0.1.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file copyedit-1.0.1.tar.gz
.
File metadata
- Download URL: copyedit-1.0.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fea61dbb0f75754495432768e8d54ae0f3b371e5550c29cd5aed5a07862649c9 |
|
MD5 | dbbce3545ac3b21ae7b775f7052c6e76 |
|
BLAKE2b-256 | 4441496a36d1d6ea203e6f9f76a95657c34b18a610d70552b5ee61a6e5af52f9 |
File details
Details for the file copyedit-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: copyedit-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a4d97f77a98dd779198ba424ff5950113a7b2e7a96650031feaeee9b04ce48d |
|
MD5 | 3c2090e64ae4c65eeedf1eb1184cf9fe |
|
BLAKE2b-256 | 5e8384165e3a6b4011229d5a846f08d841e396355d6d723b4b7f7befe9d36de4 |