Pad is an easy to use terminal code editor for those of us who aren't into vim.
Features
- Runs in the terminal, works great with ghostty
- Responsive, resize the window and it still looks good
- Text editor with code highlighting for the current open file
- If not pointed at a file, opens the current directory, default open file is any README.md that may exist
- Autoclosing of parenthesis, curly braces, brackets, and quotes
- VS Code inspired keyboard shortcuts for fast navigation and editing:
ctrl+c:copy textctrl+v:paste textctrl+z:undoctrl+s:save current filectrl+f:search in current filectrl+g:go to linectrl+b:file browserctrl+o:file searchctrl+w:save current file and exitctrl+q:quitctrl+shift+f: Fast file content search
- Works with some Apple key combinations, depending on your terminal's handling of them. For example, in ghostty,
cmd+sworks as expected to save the current file butcmd+cdoesn't copy
Install
uv tool install pad
Currently Pad is untested with any other installation method. If it works for your installation method, let me know and I'll add it to this section.
Usage
Once installed, point it at a file:
pad myproject/README.md
Or a directory:
pad myproject/
Special thanks
Many thanks to Stan Ovchinnikov for graciously sharing the "pad" name on PyPI, which was to be a tkinter-based editor. He was kind enough to let me use the name for this project, which is a terminal-based code editor built on textual. If you're interested in how this project might have been built using tkinter, you can check it out here.
Release files for pad 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pad-0.7.0.tar.gz | 11.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pad-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.6 kB
Release files / pad-0.7.0.tar.gz
| Download URL | pad-0.7.0.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9067a7e5836f4ced6cff2cbae6639e26df692239f62294c709bed65c561ee460
|
|
BLAKE2b-256 checksum How to use checksums |
d2a7f6f3279a98225d25a6767ce7d8e8eafa057bb1668b1ddf284c4ac92e42a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / pad-0.7.0-py3-none-any.whl
| Download URL | pad-0.7.0-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3bcd219c0847dd7f8f47d93f38404d8d70f9a84daa4ededcc7f84196af0d30d9
|
|
BLAKE2b-256 checksum How to use checksums |
f041a054a06d30cbb88325246ef56c136d7f8067c0191ee1d69bb31588581058
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|