Skip to main content

Pad is an easy to use terminal code editor for those of us who aren't into vim.

Project description

Pad Logo

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 text
    • ctrl+v: paste text
    • ctrl+z: undo
    • ctrl+s: save current file
    • ctrl+f: search in current file
    • ctrl+g: go to line
    • ctrl+b: file browser
    • ctrl+o: file search
    • ctrl+q: quit
    • ctrl+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+s works as expected to save the current file but cmd+c doesn'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

pad-0.6.1.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pad-0.6.1-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file pad-0.6.1.tar.gz.

File metadata

  • Download URL: pad-0.6.1.tar.gz
  • Upload date:
  • Size: 11.5 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

Hashes for pad-0.6.1.tar.gz
Algorithm Hash digest
SHA256 bb74eecdab2ca225e622ff765d658127d5fc6447e055dd1836ec91e9dc7c2ada
MD5 aac04f2efa253762f1caf145f4c7fe92
BLAKE2b-256 fe52230a88ffb60f34281bee1bd73fede9fca4482e1eab6767d58941e692f00d

See more details on using hashes here.

File details

Details for the file pad-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: pad-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 12.3 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

Hashes for pad-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6f32b915c14e3a2cc7e217b62291516022b36f8e29c0136f9037420bf72b2031
MD5 2fc93828367b4a0d87582c5dd79e54e1
BLAKE2b-256 9e14c27970ae43ce54fb871b6c07a911ad0a5fbf0d160183a6ec99cb6283159e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page