vicr

Vim-like Interactive CRystal vim interactivity
0.2.0 released
veelenga/vicr
40 1 1
Vitalii Elenhaupt

vicr Build Status

Vicr stands for "Vim-like Interactive CRystal" and represents a tiny command line application that designed to quickly execute Crystal code with fast feedback and options to proceed:

Installation

OS X

$ brew tap veelenga/tap
$ brew install vicr

From sources:

$ git clone https://github.com/veelenga/vicr
$ cd vicr
$ make

Usage

Open terminal, run vicr, write your Crystal program, save and exit.

Customization

It is possible to configure Vicr via a configuration file. Default config is created on a first run and you can customize it and use your favorite editor with required settings.

# ~/.vicr/init.yaml
---
run_file: ~/.vicr/run.cr
editor:
  executable: nvim
  args:
    - "--cmd"
    - "set paste"

Development

VICR is in the initial stage and the following features planned to be added:

  • [X] Initial console application
  • [X] Custom editor support
  • Github gist support
  • Ability to easily choose and run Crystal samples
  • Console Crystal code colorization

Contributing

If you feel like you have a good idea to be implemented, please open a discussion.

If you found a defect and enough movivated to fix it, pull requests are welcome.

vicr:
  github: veelenga/vicr
  version: ~> 0.2.0
License MIT
Crystal none

Authors

Dependencies 0

Development Dependencies 0

Dependents 0

Last synced .
search fire star recently