>_

slap

Sublime-like terminal-based text editor

How to install slap

npm install -g slap@latest

slap use case

Edit text files in a terminal with a Sublime-like interface, supporting mouse, syntax highlighting, and keybindings.

When to use slap

  • When you need to edit code or text files interactively in a terminal environment
  • When you want mouse support and a graphical-like experience in the terminal over SSH
  • When you need syntax highlighting and bracket matching for many programming languages

When not to use slap

  • For non-interactive or automated editing tasks (slap is designed for interactive use)
  • When a lightweight or minimal editor like nano is sufficient

slap features

  • · Mouse support (including over SSH)
  • · Syntax highlighting for 100+ languages
  • · Infinite undo/redo with OS clipboard support
  • · Bracket matching and autoindentation

Want your agent to find this automatically?

Add the MCP server to your agent config and it will discover tools like slap on its own.

Set up MCP →

Similar tools to slap