Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nvim-telescope/telescope-packer.nvim

A Telescope extension that provides extra functionality for Packer.nvim
https://github.com/nvim-telescope/telescope-packer.nvim

Last synced: 3 months ago
JSON representation

A Telescope extension that provides extra functionality for Packer.nvim

Awesome Lists containing this project

README

        

# telescope-packer.nvim

Integration for [packer.nvim](https://github.com/wbthomason/packer.nvim) with [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim).

## Requirements

- [packer.nvim](https://github.com/wbthomason/packer.nvim) (required)
- [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim) (required)
- [telescope-file-browser.nvim](https://github.com/nvim-telescope/telescope-file-browser.nvim) (optional, only for `file_browser` action)

## Available commands

`:Telescope packer`

For the command to work this line should be added
```lua
require("telescope").load_extension "packer"
```

## Available functions

```lua
require('telescope').extensions.packer.packer(opts)
```

## Available mappings

| Mappings | Action |
|-------------|-----------------------------|
| `` | Open online repository |
| `` | Open with find_files |
| `` | Open with file_browser |
| `` | Open with live_grep |

## Configure plugin

Default settings can be set
```lua
telescope.setup {
extensions = {
packer = {
theme = "ivy",
layout_config = {
height = .5
}
}
}
}
```

## Actions

WIP