/vim-raymond

🔫 Vim / Neovim wrapper for Ray by Spatie that everybody will love!

Primary LanguageVim script

Vim Raymond 🔫

A Vim / Neovim wrapper for Ray by Spatie that everybody will love!

Requirements

Requires ray-cli to be installed, with the ray executable accessible at your runtime path.

composer global require permafrost-dev/ray-cli

Installation

Install using vim-plug or similar:

Plug 'jesseleite/vim-raymond', {'for': ['vim', 'lua']}

Usage

Dump to Ray from your .vim files:

call Ray(data)

Dump to Ray from your .lua files in Neovim:

Ray(data)

You may also pass ray-cli flags into Ray() as a second argument:

Ray(data, '--green --large')

Clearing screen does not require a data argument:

Ray('--clear')

Example

Ray('--clear')
Ray(vim_users, '--green')
Ray(current_feelings, '--purple')
Ray(first_name, '--blue')