copyedit-1.0.1
توضیحات
An easy way to edit your clipboard contents!
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | copyedit-1.0.1 |
| نام | copyedit |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Rayquaza01 |
| ایمیل نویسنده | rayquaza01@outlook.com |
| آدرس صفحه اصلی | https://github.com/Rayquaza01/copyedit |
| آدرس اینترنتی | https://pypi.org/project/copyedit/ |
| مجوز | MIT |
# copyedit
An easy way to edit your clipboard contents!
copyedit is intended to be an alternative to [Text Editor Anywhere](https://www.listary.com/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.](https://pypi.org/project/pyperclip/)
## 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.
نیازمندی
| مقدار | نام |
|---|---|
| - | pyperclip |
نحوه نصب
نصب پکیج whl copyedit-1.0.1:
pip install copyedit-1.0.1.whl
نصب پکیج tar.gz copyedit-1.0.1:
pip install copyedit-1.0.1.tar.gz