JSPM

vim2vsc

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q32520F
  • License MIT

Converts Vim snippets to Visual Studio Code snippets.

Package Exports

  • vim2vsc

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vim2vsc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

vim2vsc

Converts Vim snippets to Visual Studio code snippets.

Why I built this CLI tool

I created this project because I wanted to try out Visual Studio Code but quickly found that I lost all of my snippets and there was no easy way to recover them. I decided to give a command line conversion application a go and this is what I came up with for converting my old snippets.

Install

To install vim2vsc you just need to run a simple npm install global command.

npm i -g vim2vsc

Basic Usage

To run convert a snippets file you just need to specify the file that you want to process.

Example:

vim2vsc -f ./my_custom_snips.snippet

This command will create a the file ./my_custom_snips.snippet.vscs by default.

Specify output

If you do not like the default naming convention you can specify the output file name.

Example

vim2vsc -f ./my_custom_snips.snippet -o ./snips.vscs

This command will create the file ./snips.vscs

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.