Skip to main content

A 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.0.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.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pad-0.6.0.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.0.tar.gz
Algorithm Hash digest
SHA256 9f993c02bf9b8e6215af489f147d31b98a30580410011b4631b656cca9ef074f
MD5 ada68d6835e4d5f1c0f8687fa52f4fb5
BLAKE2b-256 5d3ae9283e285072942e8786086fa4af023e1a9982518a233af10f196cc65130

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pad-0.6.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78015284a8e258ba9d52d3f023c9ef1507ab361dd5a338221c43ae706fad55d3
MD5 933cfdc8a2732e1e588616d69ad3d327
BLAKE2b-256 4596e6d9c763dbe9eea50f022134e5f7ea601350e0c82a7e793453c743ffbeb3

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