diff options
| author | Nanderty <psopka@sopka.ch> | 2023-03-20 22:48:22 +0100 |
|---|---|---|
| committer | Nanderty <psopka@sopka.ch> | 2023-03-20 22:48:22 +0100 |
| commit | 0cbfb1248476aa278c1567deeb4021e68703d7e2 (patch) | |
| tree | 723671b27310c9a60e18c9a0f51fcd35dd29cdb5 /lua/plugins/telescope.lua | |
| parent | 7111388965e01e9c712dfc2288028952fe78b664 (diff) | |
| download | neovim-config-0cbfb1248476aa278c1567deeb4021e68703d7e2.tar.gz neovim-config-0cbfb1248476aa278c1567deeb4021e68703d7e2.tar.bz2 neovim-config-0cbfb1248476aa278c1567deeb4021e68703d7e2.zip | |
lazy.vim fertig
Diffstat (limited to 'lua/plugins/telescope.lua')
| -rw-r--r-- | lua/plugins/telescope.lua | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index c09c5a6..6407bc3 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -16,7 +16,21 @@ return { return require('telescope.actions').close(...) end, } - } + }, + layout_config = { + horizontal = { + prompt_position = "top", + preview_width = 0.55, + results_width = 0.8, + }, + vertical = { + mirror = false, + }, + width = 0.87, + height = 0.80, + preview_cutoff = 120, + }, + borderchars = { "█", " ", "▀", "█", "█", " ", " ", "▀" }, }, extensions = { file_browser ={ @@ -43,4 +57,13 @@ return { require('telescope').load_extension 'file_browser' end, }, + { + dir = vim.fn.stdpath('data')..'/localplugins/telemini/', + keys = { + { '<leader>ps', '<cmd>Telescope telemini<cr>', desc = 'sessions' } + }, + config = function() + require('telescope').load_extension 'telemini' + end, + }, } |
