Skip to content

Repository files navigation

terminal-code

VSCode-style terminal text editor built with Node.js and blessed.

Install

npm install -g @ricky/terminal-code

Usage

Start editor in current directory:

terminal-code

Open a file directly:

terminal-code path/to/file.txt

Core Shortcuts

  • Ctrl+N: New file (prompts full path)
  • Ctrl+S: Save
  • Ctrl+Shift+S: Save As (full path prompt)
  • Ctrl+Shift+R: Rename active tab file
  • Ctrl+Shift+D: Delete active tab file (with confirmation)
  • Ctrl+O: Focus explorer
  • Ctrl+Q: Quit

Explorer shortcuts (when explorer is focused):

  • Ctrl+Shift+N: New file
  • Ctrl+Alt+N: New folder
  • F2: Rename selected item
  • Delete: Delete selected item
  • Enter: Open file / toggle folder

Publish

npm login
npm publish --access public

After publishing, users can install globally with npm install -g @ricky/terminal-code.

About

VSCode-style terminal code editor built with Node.js and blessed — tabs, file explorer, file operations, and an npm-installable CLI

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages