<commit_before>![Screenshot](screenshot.png)

✋ 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](https://github.com/isagalaev/highlight.js/tree/master/src/languages)**,
and many other features that will make you leave nano, vim, and emacs behind.

Installation
------------

Make sure [NodeJS](http://nodejs.org/download/) is installed, then:

    $ sudo npm install -g slap

Usage
-----

    $ slap file.c

### Configuration

Copy some or all of the default [configuration](slap.ini) 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.<commit_msg>Adds a section for Windows under Issues<commit_after>![Screenshot](screenshot.png)

✋ 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](https://github.com/isagalaev/highlight.js/tree/master/src/languages)**,
and many other features that will make you leave nano, vim, and emacs behind.

Installation
------------

Make sure [NodeJS](http://nodejs.org/download/) is installed, then:

    $ sudo npm install -g slap

Usage
-----

    $ slap file.c

### Configuration

Copy some or all of the default [configuration](slap.ini) 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](https://github.com/joyent/node/issues/6459).

### Copying and pasting

Ensure xclip is installed.
{'fraction_non_alphanumeric': 0.1325, 'fraction_numerical': 0.005, 'mean_word_length': 3.787081339712919, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5052589', 'n_tokens_mistral': 634, 'n_tokens_neox': 592, 'n_words': 225}