Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lukahartwig/pnpm.nvim

Neovim plugin for pnpm
https://github.com/lukahartwig/pnpm.nvim

monorepo neovim pnpm telescope-extension

Last synced: 15 days ago
JSON representation

Neovim plugin for pnpm

Awesome Lists containing this project

README

        

# pnpm.nvim

neovim plugin that makes working with pnpm monorepos easier.

## Features

* Use Telescope to switch between workspace packages

## Getting started

### Required dependencies

* [pnpm](https://pnpm.io/)
* [nvim-telescope/telescope.nvim](https://github.com/nvim-telescope/telescope.nvim)

### Installation

Using [packer](https://github.com/wbthomason/packer.nvim)

```lua
use {
'lukahartwig/pnpm.nvim',
requires = {
{ 'nvim-telescope/telescope.nvim' }
}
}
```

### Setup

This is technically optional but makes tab completion work right away.

```lua
require('telescope').load_extension('pnpm')
```

## Usage

```
:Telescope pnpm workspace
```
## Key Mappings

Using lua:

```lua
local telescope = require('telescope')
vim.keymap.set('n', 'fw', telescope.extensions.pnpm.workspace, {})
```