From 7185e12beac1086ee5a4f50b322a4d6a8cc35699 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Tue, 27 Sep 2022 08:55:49 +0200 Subject: Small improvments to telescope config --- lua/alpha/telescope/setup.lua | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'lua/alpha/telescope/setup.lua') diff --git a/lua/alpha/telescope/setup.lua b/lua/alpha/telescope/setup.lua index 09dcd14..cc92175 100644 --- a/lua/alpha/telescope/setup.lua +++ b/lua/alpha/telescope/setup.lua @@ -23,7 +23,7 @@ require("telescope").setup({ width = 0.95, height = 0.85, -- preview_cutoff = 120, - prompt_position = "top", + prompt_position = "bottom", horizontal = { preview_width = function(_, cols, _) @@ -75,17 +75,17 @@ require("telescope").setup({ [""] = actions.cycle_history_next, [""] = actions.cycle_history_prev, - [""] = function(prompt_bufnr) - local opts = { - callback = actions.toggle_selection, - loop_callback = actions.send_selected_to_qflist, - } - require("telescope").extensions.hop._hop_loop(prompt_bufnr, opts) - end, - - [""] = function() - vim.api.nvim_input("") - end, + -- [""] = function(prompt_bufnr) + -- local opts = { + -- callback = actions.toggle_selection, + -- loop_callback = actions.send_selected_to_qflist, + -- } + -- require("telescope").extensions.hop._hop_loop(prompt_bufnr, opts) + -- end, + + -- [""] = function() + -- vim.api.nvim_input("") + -- end, }, }, @@ -153,7 +153,7 @@ require("telescope").setup({ }, ["ui-select"] = { - require("telescope.themes").get_dropdown({ + require("telescope.themes").get_cursor({ -- even more opts }), }, -- cgit v1.2.3