Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lua/telescope/mappings.lua does not contain all mappings. #2411

Closed
EnacheB opened this issue Mar 1, 2023 · 2 comments
Closed

lua/telescope/mappings.lua does not contain all mappings. #2411

EnacheB opened this issue Mar 1, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@EnacheB
Copy link

EnacheB commented Mar 1, 2023

Description

In the README, we have "To see the full list of mappings, check out lua/telescope/mappings.lua and the default_mappings table", but it does not contain C-space, which triggers fuzzy refining. Links for the lazy:
#1818 (comment)
https://github.com/nvim-telescope/telescope.nvim/blob/master/lua/telescope/mappings.lua
https://github.com/nvim-telescope/telescope.nvim/blob/master/lua/telescope/builtin/__files.lua#L157

Maybe it's because this only applies to certain pickers?

Neovim version

N/A , I'm just looking at the github repo as of March 1st, 2023

Operating system and version

N/A

Telescope version / branch / rev

master

checkhealth telescope

N/A

Steps to reproduce

  1. Try to find all mappings
  2. Read the readme
  3. Follow direction, fail to find all mappings

Expected behavior

I would expect the README to point me to a place where I can actually find all the buttons I can press in all situations.

Actual behavior

N/A

Minimal config

N/A
@EnacheB EnacheB added the bug Something isn't working label Mar 1, 2023
@jamestrew
Copy link
Contributor

jamestrew commented Mar 4, 2023

Yes, <C-space> to fuzzy refine is only available for the live_grep & lsp_dynamic_workspace_symbols pickers so it wouldn't exist in the mappings.lua file.

You can find all the mappings for each picker using telescope's builtin which-key functionality using <C-/>/<C-_> in insert mode and ? in normal mode.

@EnacheB
Copy link
Author

EnacheB commented Mar 14, 2023

Hmm, yup that's exactly what I needed, and I see it's mentioned twice in the README. I don't know how I missed it, although I will say that some of the short names you get from C-/ aren't very informative.

Either way, Thanks!

@EnacheB EnacheB closed this as completed Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants