Skip to content

pecorade/slap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Windows support

Most terminal emulators in Windows do not support mouse events. Currently slap does not work in Cygwin due to joyent/node#6459.

Copying and pasting

If you are using Linux or X.Org, ensure xclip is installed.

About

CLI text editor for the masses

Resources

License

Stars

Watchers

Forks

Packages

No packages published