mini.pick cursor #614
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hi 👋 It most certainly is a result of using 'folke/noice.nvim' alongside 'mini.pick'. See this comment.Without it, 'mini.pick' goes to some lengths for cursor to not appear in the picker window (by putting it in the Command line). So, unfortunately, it seems that the only suggestion here is to stop using Noice. |
Beta Was this translation helpful? Give feedback.
-
I've found that changing and restoring the cursor shape with mini.pick's events works great. local guicursor = vim.opt.guicursor:get()
vim.api.nvim_create_autocmd('User', {
pattern = 'MiniPickStart',
callback = function() vim.opt.guicursor = { 'n:hor1' } end,
})
vim.api.nvim_create_autocmd('User', {
pattern = 'MiniPickStop',
callback = function() vim.opt.guicursor = guicursor end,
}) |
Beta Was this translation helpful? Give feedback.
Hi 👋
It most certainly is a result of using 'folke/noice.nvim' alongside 'mini.pick'. See this comment.Without it, 'mini.pick' goes to some lengths for cursor to not appear in the picker window (by putting it in the Command line).
So, unfortunately, it seems that the only suggestion here is to stop using Noice.