Sublime-like terminal-based text editor
Go to file
2014-05-10 01:33:53 -05:00
lib Improves newline handling 2014-05-10 01:33:53 -05:00
test Renames markup.markupLine to markup, markup.escapeCurlies to markup.escape, markup.markupIndex to markup.index, markup.removeMarkup to markup.strip 2014-05-05 07:07:15 -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.11 2014-05-05 03:42:23 -05:00
README.md Change .slaprc JSON to slap.ini 2014-05-04 23:51:10 -05:00
slap.ini Improves newline handling 2014-05-10 01:33:53 -05:00

slap

CLI text editor for the masses

slap strives to make editing from the terminal easier. It has mouse support, Ctrl+C/X/V copy/cut/paste (configurable), 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

slap uses rc for configuration management. See the default configuration for 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.