Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/xiyaowong/telescope-emoji.nvim

An extension for telescope.nvim that allows you to search emojis😃
https://github.com/xiyaowong/telescope-emoji.nvim

neovim nvim-telescope

Last synced: about 2 months ago
JSON representation

An extension for telescope.nvim that allows you to search emojis😃

Awesome Lists containing this project

README

        

# telescope-emoji.nvim

An extension for [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim)
that allows you to search emojis😃

screenshot

## Get Started

Install telescope and this plugin then

```lua
require("telescope").load_extension("emoji")
```

## Usage

```
:Telescope emoji
```

## Configuraion

**It's optional.**

by default

```lua
telescope.setup {
extensions = {
emoji = {
action = function(emoji)
-- argument emoji is a table.
-- {name="", value="", cagegory="", description=""}

vim.fn.setreg("*", emoji.value)
print([[Press p or "*p to paste this emoji]] .. emoji.value)

-- insert emoji when picked
-- vim.api.nvim_put({ emoji.value }, 'c', false, true)
end,
}
},
}
```