Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 568 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 568 Bytes

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