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
Telescope's Ctrl + / on open panel throwing error "Invalid 'event': 'User TelescopeKeymap'" #4551
Comments
can you check which version of telescope you're one? It should be nvim-telescope/telescope.nvim@d909568 I can't quite reproduce the issue since I don't have a dedicated key for local _, actions = pcall(require, "telescope.actions")
local _, builtin = pcall(require, "telescope.builtin")
lvim.builtin.telescope.defaults.mappings = {
i = {
["<C-c>"] = actions.close,
["<C-j>"] = actions.cycle_history_next,
["<C-k>"] = actions.cycle_history_prev,
["<S-Up>"] = actions.cycle_previewers_prev,
["<S-Down>"] = actions.cycle_previewers_next,
["<C-q>"] = actions.smart_send_to_qflist + actions.open_qflist,
["<CR>"] = actions.select_default + actions.center,
["<C-/>"] = actions.which_key,
["<C-h>"] = actions.which_key, -- keys from pressing <C-/>
-- ["<C-i>"] = my_cool_custom_action,
},
n = {
["<C-c>"] = actions.close,
["<S-Up>"] = actions.cycle_previewers_prev,
["<S-Down>"] = actions.cycle_previewers_next,
["<C-q>"] = actions.smart_send_to_qflist + actions.open_qflist,
-- ["<C-Space>"] = custom_actions.fuzzy_filter_results,
-- ["<C-i>"] = my_cool_custom_action,
},
} |
This is my LunarVim configuration: https://github.com/eulersson/dotfiles/blob/main/.config/lvim/config.lua If I drop the snippet of lua you pasted on the top of my config.lua the issue persists when I do
|
I can reproduce the issue in |
Should be fixed in https://github.com/LunarVim/LunarVim/releases/tag/1.4.0 |
Problem description
I was trying to run the keymaps for the telescope view, it shows them but an error
Invalid 'event': 'User TelescopeKeymap'
is thrown.Related issues:
LunarVim version
release-1.3/neovim-0.9-d1c1bace-dirty
Neovim version (>= 0.9.1)
NVIM v0.9.5
Terminal name
iTerm2
Operating system/version
macOS 14.4.1
Steps to reproduce
<Leader>sh
to browse help files.Ctrl+/
to list the available keyboard shortcuts that you have available on that telescope view.Result: It shows the mappings but an error along with them in
:messages
(that's why I couldn't copy paste it properly).Should: Not throw that error.
Screenshots
The text was updated successfully, but these errors were encountered: