Sublime-like terminal-based text editor
Go to file
2014-05-12 11:11:20 -05:00
lib Moves all highlight daemon spawning logic out of lib/ui/Editor 2014-05-12 09:19:52 -05:00
test Updates to newer version of blessed 2014-05-12 04:23:43 -05:00
.gitignore Initial commit 2014-04-20 20:39:14 -07:00
index.js Populate repository 2014-04-21 13:20:48 -05:00
LICENSE Initial commit 2014-04-20 20:39:14 -07:00
package.json Version 0.0.16 2014-05-12 10:00:14 -05:00
README.md Adds screenshot 2014-05-12 11:11:20 -05:00
screenshot.png Adds screenshot 2014-05-12 11:11:20 -05:00
slap.ini Doesn't highlight matching bracket if there is a selection 2014-05-11 02:58:09 -05:00

Screenshot

slap

CLI text editor for the masses

slap strives to make editing from the terminal easier. It has first-class mouse support, GUI editor-like keybindings, copy/paste support, syntax highlighting for many languages, and many other features that will make you leave nano, vim, and emacs behind.

Installation

Make sure NodeJS is installed, then:

$ sudo npm install -g slap

Usage

$ slap file.c

Configuration

Copy some or all of the default configuration to ~/.slaprc to change keybindings, styles, etc. You can also pass options in via command line:

$ slap --editor.tabSize 2 file.c

Issues

Copying and pasting

Ensure xclip is installed.