Skip to content

Commit

Permalink
feat(telescope): added more telescope pickers
Browse files Browse the repository at this point in the history
  • Loading branch information
realeinherjar committed Sep 7, 2023
1 parent 8e2194d commit 4802a0c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,12 @@ require("lazy").setup({
{ "<leader>sw", "<CMD>Telescope grep_string<CR>", desc = "Current [W]ord" },
{ "<leader>sg", "<CMD>Telescope live_grep<CR>", desc = "[G]rep" },
{ "<leader>sd", "<CMD>Telescope diagnostics<CR>", desc = "[D]iagnostics" },
{ "<leader>sm", "<CMD>Telescope marks<CR>", desc = "[M]arks" },
{ "<leader>sc", "<CMD>Telescope git_bcommits<CR>", desc = "[C]ommits File" },
{ "<leader>sC", "<CMD>Telescope git_commits<CR>", desc = "[C]ommits" },
{ "<leader>ss", "<CMD>Telescope git_status<CR>", desc = "[S]tatus" },
{ "<leader>sS", "<CMD>Telescope git_stash<CR>", desc = "[S]tash" },
{ "<leader>sT", "<CMD>Telescope git_stash<CR>", desc = "[T]reesitter" },
},
config = function()
-- See `:help telescope` and `:help telescope.setup()`
Expand Down Expand Up @@ -365,9 +371,9 @@ require("lazy").setup({
)
vim.keymap.set(
"n",
"<leader>ss",
"<leader>sy",
require("telescope.builtin").lsp_dynamic_workspace_symbols,
{ desc = "[S]ymbols" }
{ desc = "S[y]mbols" }
)
-- See `:help K` for why this keymap
vim.keymap.set("n", "K", vim.lsp.buf.hover, { desc = "Hover Documentation" })
Expand Down

0 comments on commit 4802a0c

Please sign in to comment.