Home

Awesome

ad-telescope-extensions.nvim

A set of telescope extensions, which build on telescope-extension-maker.

Dependencies

Installation

Using vim-plug

Plug 'nvim-telescope/telescope.nvim'
Plug 'adoyle-h/ad-telescope-extension-maker.nvim'
Plug 'adoyle-h/ad-telescope-extensions.nvim'

Using packer.nvim

use { 'nvim-telescope/telescope.nvim' }
use { 'adoyle-h/telescope-extension-maker.nvim' }
use { 'adoyle-h/ad-telescope-extensions.nvim' }

Using dein

call dein#add('nvim-telescope/telescope.nvim')
call dein#add('adoyle-h/telescope-extension-maker.nvim')
call dein#add('adoyle-h/ad-telescope-extensions.nvim')

Usages

require('telescope').setup()
require('ad-telescope-extensions').setup {
  enable = 'all', -- 'all' or { 'extension-name' }
}

Options

You can pass opts to each extension.

require('ad-telescope-extensions').setup {
  enable = 'all', -- 'all' or { 'extension-name' }
  env = {
    opts = { -- opts for "env" extension
      highlights = { --
        ADTelExt_env_key = { fg = '#93B11A' },
      },
    }
  }
}

Alias

require('ad-telescope-extensions').setup {
  enable = 'all',
  floaterm = {
    alias = 'terminals' -- `:Telescope terminals` is available. `:Telescope floaterm` is unavailable.
  }
}

Extensions

See ./lua/ad-telescope-extensions/exts/

cmdline

:Telescope commands only list commands that exclude builtin ex-commands.

The extension can list all commands and builtin ex-commands.

changes

Print the change list. A ">" character indicates the current position. Press <CR> to move to this line.

changes.png

colors

List color names and RGB values.

colors.png

env

List environment variables.

env.png

floaterm

List floaterm. Press <CR> to toggle terminal window.

Item Format: [<bufnr>:<floaterm-name>]: <buf-name>

floaterm.png

message

List messages.

message.png

packpath

List packpath.

packpath.png

query

Input a vimscript and view the output.

query.png

rtp

List rtp.

rtp.png

scriptnames

List scriptnames.

scriptnames.png

time

Show current date and time

time.png

windows

Show tabpages and windows. Press <CR> to goto the tabpage or window you choosed. Press <C-x> to close current selected tabpage or window.

windows.png

zk

List zk notes. Depends on zk-nvim.

zk.png

lsp_document_symbols_filter

Lists LSP document symbols with selected symbol kinds in the current buffer. See :h telescope.builtin.lsp_document_symbols().

lsp_document_symbols_filter.png

lsp_document_symbols.png

lsp_workspace_symbols_filter, lsp_dynamic_workspace_symbols_filter pickers are also supported.

Suggestion, Bug Reporting, Contributing

Before opening new Issue/Discussion/PR and posting any comments, please read Contributing Guidelines.

Copyright and License

Copyright 2022-2024 ADoyle (adoyle.h@gmail.com). Some Rights Reserved. The project is licensed under the Apache License Version 2.0.

See the LICENSE file for the specific language governing permissions and limitations under the License.

See the NOTICE file distributed with this work for additional information regarding copyright ownership.

Other Projects

<!-- Links -->