summaryrefslogtreecommitdiff
path: root/lua/aotrix
diff options
context:
space:
mode:
Diffstat (limited to 'lua/aotrix')
-rw-r--r--lua/aotrix/plugins/telescope.lua7
1 files changed, 6 insertions, 1 deletions
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", "<leader>pg", require("telescope").extensions
.live_grep_args.live_grep_args, {noremap = true})