@shoislom/editor
v1.0.12
Published
Browser-based VSCode-like code editor CLI tool with terminal, git integration, and search
Maintainers
Readme
@shoislom/editor
A browser-based VSCode-like code editor CLI tool. Edit files and folders from your terminal in a beautiful web UI.
Features
- Monaco Editor - Same editor engine that powers VSCode
- File Explorer - Navigate and manage your files
- Integrated Terminal - Full PTY terminal support
- Git Integration - View status, stage/unstage files, commit
- Global Search - Search across all files with regex support
- Format on Save - Automatic code formatting
- Syntax Highlighting - Support for 30+ languages
Installation
npm install -g @shoislom/editorUsage
# Edit current directory
edit .
# Edit a specific folder
edit /path/to/folder
# Edit on a different port
edit . --port 8080
# Don't auto-open browser
edit . --no-openKeyboard Shortcuts
| Shortcut | Action |
|----------|--------|
| Cmd/Ctrl + S | Save file (with formatting) |
| Cmd/Ctrl + `` | Toggle terminal |
| Cmd/Ctrl + Shift + F | Open search panel |
| Cmd/Ctrl + Shift + G | Open git panel |
Screenshots
The editor provides a VSCode-like interface with:
- File tree on the left
- Tabbed editor in the center
- Terminal at the bottom
- Git and search panels
Requirements
- Node.js >= 18.0.0
License
MIT
