nvim: picker + cmp tweaks

This commit is contained in:
Daniel Lundin 2025-01-11 23:08:35 +01:00
parent cea9b407c8
commit 2cd4b5c52a
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
4 changed files with 12 additions and 9 deletions
home/common/nvim

View file

@ -49,15 +49,16 @@ local picker_win_config = function()
height = height,
width = width,
row = 2,
col = math.floor((vim.o.columns - width) / 2),
col = 5,
}
end
require('mini.pick').setup({
mappings = {
move_down = '<tab>',
move_up = '<S-tab>',
toggle_info = '<C-k>',
toggle_preview = '<C-p>',
toggle_preview = 'p',
},
options = { use_cache = true },
window = {