Skip to content
The TERMinal edITor - embeddable CLI editor
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.eslintrc.js
.gitignore
LICENSE
README.md
bin.js
index.js
package-lock.json
package.json

README.md

Termit - The TERMinal edITor

npm i termit -g

Termit is a simple terminal editor somewhat inspired by Nano. It delivers the most basic text editing features like writing (obviously), cutting lines and uncutting or pasting lines.

Navigation includes arrow keys, page up and down, home and end on each line as well as start of document and end of document.

Running it from the terminal allows you to pass in a filepath argument which it will try to open. If it does not exist, it will try to create it on first save.

You can Save, Save As, Open, Exit & Save and Exit using keyboard shortcuts.

Keymap

Key Action
Ctrl+S Save
Ctrl+A Save As
Ctrl+O Open
Ctrl+X Save & Exit
Ctrl+C Exit

Embedding

The biggest feature of Termit is it's ability to be embedded inside your own terminal application

You can’t perform that action at this time.