Skip to content

mjacobus/telescope-gitmoji.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

telescope-gitmoji.nvim

Use https://github.com/Dynge/gitmoji.nvim instead.

An extension for telescope.nvim that allows you to search gitmojis

image

Get Started

Install telescope and this plugin then

require("telescope").load_extension("gitmoji")

Usage

:Telescope gitmoji

Configuraion

It's optional.

by default

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

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

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

Credits

This plugin is a shameless copy and paste of https://github.com/xiyaowong/telescope-emoji.nvim.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages