SaschaMendel / vim-quicktype

Simple quicktype wrapper for (neo)vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vim-quicktype

Simple quicktype wrapper for (neo)vim.

Requirements

Install quicktype to use this plugin

npm install -g quicktype

Installation

vim-plug

Add to plugin list:

 Plug 'SaschaMendel/vim-quicktype'

Usage

QuickType can be ran on selection or on the whole file.

Example

Select text with visual mode and run:

:QuickType <?source>

Output of quicktype will replace selection/file.

The default source is json and the generation language is inferred from current filetype

About

Simple quicktype wrapper for (neo)vim


Languages

Language:Vim Script 100.0%