Home

Awesome

npm.vim

Work with NPM more easier in VIM

<p align="center"> <img src="https://i.imgur.com/OBywzos.gif" width="800px"> </p>

Introduction

This plugin help you install, maintain, update packages more easily inside vim.

It will auto detech and use which package manage you have installed (Prefer yarn if both installed cause it's seem faster).

Install

Install with Vim Plug, other plugin managers is similar.

Plug 'kyoz/npm.vim'

Usage

CommandKeymapAction
NpmInitInit Npm for current folder
NpmInstall, NpmIInstall provided package as dependency
NpmUninstall, NpmUUninstall provided package and remove dependency
Npm, NpmLatest, NpmL<leader>nGet lastest version of provided package (or package at cursor position if found)
NpmAll, NpmA<leader>NGet all version of provided package (or package at cursor position if found)

License

MIT © Kyoz