Skip to content

Commit

Permalink
feat(telescope): added more mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Dec 31, 2022
1 parent 772fa5a commit bce0744
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lua/plugins/editor.lua
Expand Up @@ -19,7 +19,13 @@ return {
{
"nvim-telescope/telescope.nvim",
cmd = "Telescope",
keys = { { "<leader><space>", "<cmd>Telescope find_files<cr>", desc = "Find Files" } },
keys = {
{ "<leader><space>", "<cmd>Telescope find_files<cr>", desc = "Find Files" },
{ "<leader>ff", "<cmd>Telescope find_files<cr>", desc = "Find Files" },
{ "<leader>fr", "<cmd>Telescope oldfiles<cr>", desc = "Recent" },
{ "<leader>fb", "<cmd>Telescope buffers<cr>", desc = "Buffers" },
{ "<leader>/", "<cmd>Telescope live_grep<cr>", desc = "Find in Files (Grep)" },
},
config = true,
},

Expand All @@ -28,6 +34,7 @@ return {
"folke/which-key.nvim",
event = "VeryLazy",
config = {
show_help = false,
plugins = { spelling = true },
key_labels = { ["<leader>"] = "SPC" },
},
Expand Down

0 comments on commit bce0744

Please sign in to comment.