From f4e8a6656dd4a2ca22621eb01d620ad04ef3569b Mon Sep 17 00:00:00 2001 From: Aotrix <9aotrix@protonmail.com> Date: Sat, 16 May 2026 02:41:16 +0200 Subject: Small size in Telescope --- lua/aotrix/plugins/telescope.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lua/aotrix/plugins/telescope.lua') diff --git a/lua/aotrix/plugins/telescope.lua b/lua/aotrix/plugins/telescope.lua index e6572d6..9f48a00 100644 --- a/lua/aotrix/plugins/telescope.lua +++ b/lua/aotrix/plugins/telescope.lua @@ -29,7 +29,7 @@ return { prompt_position = "bottom", width = {padding = 0}, height = {padding = 0}, - preview_width = 0.5 + preview_width = 0.8 } }, sorting_strategy = "ascending", @@ -47,6 +47,11 @@ return { function() require("telescope.builtin").find_files() end) + small_font_telescope = function() + vim.g.neovide_scale_factor = 0.70 + end + vim.cmd "autocmd User TelescopeFindPre lua small_font_telescope()" + vim.keymap.set("n", "pg", require("telescope").extensions .live_grep_args.live_grep_args, {noremap = true}) -- cgit v1.2.3