# telescope-glyph.nvim **Repository Path**: Ziphold/telescope-glyph.nvim ## Basic Information - **Project Name**: telescope-glyph.nvim - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-04-03 - **Last Updated**: 2024-04-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # telescope-glyph.nvim An extension for [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim) that allows you to search font glyphs screenshot *Same as above but shows glyphs instead of emojis* ## Get Started Requirements: - A patched Nerd Font - Telescope Install and load this plugin: ```lua use { 'ghassan0/telescope-glyph.nvim' } require('telescope').load_extension('glyph') ``` ## Usage ``` :Telescope glyph ``` ## Configuraion **It's optional.** by default ```lua telescope.setup { extensions = { glyph = { action = function(glyph) -- argument glyph is a table. -- {name="", value="", category="", description=""} vim.fn.setreg("*", glyph.value) print([[Press p or "*p to paste this glyph]] .. glyph.value) -- insert glyph when picked -- vim.api.nvim_put({ glyph.value }, 'c', false, true) end, }, }, } ``` ## Credit This project is a direct fork of [telescope-emoji.nvim](https://github.com/xiyaowong/telescope-emoji.nvim) to provide font glyphs instead of emojis. The nerd fonts and unicode cheatsheets from [cheatsheet.nvim](https://github.com/sudormrfbin/cheatsheet.nvim) were used to create the sources for the glyphs.