Skip to content

ahdinosaur-os/npm.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm.vim: Run NPM commands in Vim.

npm.vim makes it easy to run npm commands from Vim. It doesn't have any interesting features like errorlist integration yet.

For Vim version 7.x.

Installation

Download npm.vim.zip from vim.org.

unzip npm.vim.zip
cp npm.vim.zip/doc/npm.txt ~/.vim/doc/
cp npm.vim.zip/plugin/npm.vim ~/.vim/plugin/

As usual, to build help:

:helptags ~/.vim/doc

##Global Commands

:Npm <command> [options..]

Calls npm <command> [options]. Commands can be tab-completed.

##Global Settings

g:npm_background = 0

If set to non-zero, runs all commands in background (so you lose their output).

g:npm_custom_commands = []

If some NPM commands aren't being picked up, add them to this list.

g:npm_load_commands = 0

If set to non-zero, commands for tab completion are loaded at startup rather than the first time completion is needed.

##License

npm.vim is released under the MIT license. See the comments at the head of npm.vim for the full license text, or the "COPYING" file you should have received with your copy of this software.

About

Run NPM commands in Vim.

Resources

License

Stars

Watchers

Forks

Packages

No packages published