summaryrefslogtreecommitdiffstats
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/lua/plugins/telescope.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/telescope.lua b/.config/nvim/lua/plugins/telescope.lua
index be6fdd7..6acc9a6 100644
--- a/.config/nvim/lua/plugins/telescope.lua
+++ b/.config/nvim/lua/plugins/telescope.lua
@@ -16,6 +16,7 @@ return {
16 require('telescope').setup({ 16 require('telescope').setup({
17 defaults = { 17 defaults = {
18 path_display = { "truncate" }, 18 path_display = { "truncate" },
19 prompt_prefix = " ",
19 }, 20 },
20 extensions = { 21 extensions = {
21 fzf = { 22 fzf = {
@@ -46,6 +47,18 @@ return {
46 map("n", "<leader>sw", require("telescope.builtin").grep_string, "🔭: current word") 47 map("n", "<leader>sw", require("telescope.builtin").grep_string, "🔭: current word")
47 map("n", "<leader>sg", require("telescope.builtin").live_grep, "🔭: live grep") 48 map("n", "<leader>sg", require("telescope.builtin").live_grep, "🔭: live grep")
48 map("n", "<leader>sd", require("telescope.builtin").diagnostics, "🔭: diagnostics") 49 map("n", "<leader>sd", require("telescope.builtin").diagnostics, "🔭: diagnostics")
50 map("n", "<leader>st", function()
51 require("telescope.builtin").spell_suggest(require("telescope.themes").get_cursor({
52 prompt_title = "",
53 layout_config = {
54 height = 0.25,
55 width = 0.25,
56 },
57 winblend = 10,
58 previewer = false,
59 }))
60 end
61 , "🔭: spelling suggest")
49 require("telescope").load_extension("yank_history") 62 require("telescope").load_extension("yank_history")
50 map("n", "<leader>sp", require("telescope").extensions.yank_history.yank_history, "🔭: yank history") 63 map("n", "<leader>sp", require("telescope").extensions.yank_history.yank_history, "🔭: yank history")
51 end, 64 end,