Pad is an easy to use terminal code editor for those of us who aren't into vim.
Project description
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pad-0.7.0.tar.gz.
File metadata
- Download URL: pad-0.7.0.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9067a7e5836f4ced6cff2cbae6639e26df692239f62294c709bed65c561ee460
|
|
| MD5 |
d17c0c84034373bfa03b0fdeb88ac175
|
|
| BLAKE2b-256 |
d2a7f6f3279a98225d25a6767ce7d8e8eafa057bb1668b1ddf284c4ac92e42a8
|
File details
Details for the file pad-0.7.0-py3-none-any.whl.
File metadata
- Download URL: pad-0.7.0-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bcd219c0847dd7f8f47d93f38404d8d70f9a84daa4ededcc7f84196af0d30d9
|
|
| MD5 |
2da7cc9ad7ed6af4fab1880a23c77197
|
|
| BLAKE2b-256 |
f041a054a06d30cbb88325246ef56c136d7f8067c0191ee1d69bb31588581058
|