Replies: 2 comments 1 reply
-
I have the same issue. I tried to set telescope key bindings via the config function but it doesn't work. Not sure what's wrong. packer = require("packer")
use = packer.use
use { 'nvim-telescope/telescope.nvim', requires = { {'nvim-lua/plenary.nvim'} }, config = function()
vim.api.nvim_set_keymap("n", "<leader>ff", ":Telescope find_files<cr>", {noremap = true})
vim.api.nvim_set_keymap("n", "<leader>fg", ":Telescope live_grep<cr>", {noremap = true})
vim.api.nvim_set_keymap("n", "<leader>fb", ":Telescope buffers<cr>", {noremap = true})
vim.api.nvim_set_keymap("n", "<leader>fh", ":Telescope help_tags<cr>", {noremap = true})
end
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Place the configuration settings into a lua file in the Example
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to use something like:
I can set this binding to work if I set it OUTSIDE of the config function, but when put inside the config function it doesn't bind it. Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions