https://github.com/jeansidharta/telescope-misc.nvim
A neovim plugin to work with telescope and show some random information
https://github.com/jeansidharta/telescope-misc.nvim
lua neovim telescope-extension
Last synced: about 1 month ago
JSON representation
A neovim plugin to work with telescope and show some random information
- Host: GitHub
- URL: https://github.com/jeansidharta/telescope-misc.nvim
- Owner: Jeansidharta
- License: mit
- Created: 2023-06-10T15:40:55.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-13T02:29:28.000Z (almost 3 years ago)
- Last Synced: 2025-07-13T04:45:49.152Z (12 months ago)
- Topics: lua, neovim, telescope-extension
- Language: Lua
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telescope Misc
A collection of telescope listings that might be missing from the official telescope plugin
## Installation
You can use your favorite plugin manager. Here's how you'd do it with [Lazy.nvim](https://github.com/folke/lazy.nvim):
```
{
"Jeansidharta/telescope-misc.nvim",
dependencies = {
"nvim-telescope/telescope.nvim",
},
config = function()
require("telescope").load_extension("telescope-misc")
end
}
```
Note that you have to load the extension in Telescope.
## Usage
This plugin adds a few telescope subcommands. Here's an example on how to use one of them:
`:Telescope telescope-misc augroup`
All available subcommands are:
- augroup: Lists all defined augroups on current buffer using the `:augroup` command. Available custom keymaps are:
- `i_C-d` or `n_d`: Deletes the selected augroup
- namespaces: Lists all defined namespaces on current buffer using the `vim.api.nvim_get_namespaces()` command. Available custom keymaps are:
- `select`: puts the namespace name in the unnamed register (the `"` reg)
- syntax: Lists all defined syntaxes on current buffer using the `:syntax` command. Available custom keymaps are:
- `i_C-x` or `n_x`: Deletes the selected syntax using `syntax clear`
- `i_C-r` or `n_r`: Resets the selected syntax using the selected syntax using `syntax reset`
- option: Lists all options using the `vim.api.nvim_get_all_options_info()` function. This will include global, local and buffer options.
- extension: Lists all extensions loaded on telescope. Available custom keymaps are:
- `select`: When an extension is selected, telescope will show all of it's subcommands. When a subcommand is then selected, the function will ba called.
## Configuration
There is currently no way to configure this plugin. If you want some configuration, open an issue about it :)
## Contributing
All issues and pull requests are welcome