snippets-resycler

atom snippet to vim

Usage no npm install needed!

<script type="module">
  import snippetsResycler from 'https://cdn.skypack.dev/snippets-resycler';
</script>

README

snippets-resycler

Overview

Atom snippets translate vim snippet format.

Install

$ sudo npm i -g snippets-resycler

Usage

$ snippets-resycler
  1. Enter path/to/Vim-snippet-directory.
  2. Enter path/to/Atom-snippet-directory.
  3. Enter snippets options.
    1. Enter snippet's extension. If you don't know, please check this page.
    2. Enter snippet's indent info. If you use 2 spaces, please enter "2". If you use tab, please enter "tab".

options

option effect remark
-h, --help view help
-o, --overwrite snippets will be overwrite default, it will be appended

Screenshots

Before

/path/to/Atom-snippets-dir/snippets.cson image

After

/path/to/Vim-snippets-dir/cpp.snip image

Contribution

Fork and send Pull Request.