A neovim plugin that replaces default input and select text prompts with nice floating windows
Last updated Dec 8, 2025
50
Stars
3
Forks
0
Issues
0
Stars/day
Attention Score
6
Language breakdown
No language data available.
โธ Files
click to expand
README
suit.nvim
A neovim plugin that provides implementation of vim.ui.input and vim.ui.select using floating windows
Install
Use your plugin manager, eg. with lazy.nvim
{
'doums/suit.nvim',
event = 'VeryLazy',
opts = {
-- your optional config
}
}
Configuration
Configuration is optional.\ This is the default config:
{
input = {
-- default prompt value
default_prompt = 'Input',
-- border of the window, defaults to vim.o.winborder (:h winborder)
-- border = 'single',
-- prompt position, left | center | right
prompt_pos = 'left',
-- input width (in addition to the default value)
width = 20,
max_width = 50,
},
select = {
-- default prompt value
default_prompt = 'Select',
-- border of the window, defaults to vim.o.winborder (:h winborder)
-- border = 'single',
-- prompt position, left | center | right
prompt_pos = 'left',
max_width = 40,
},
}
ref.
Usage
Keymaps should be intuitive.
For input:
<cr> to confirm\ <esc> to cancel
For select:
<cr> and left mouse double click to confirm the selected item\ <esc>, q to cancel\ j, k, <up>, <down> to navigate
Highlight
suitWininput/select window, default: links toNormalFloatsuitBorderwindow border, default: links toFloatBordersuitPromptprompt text (window title), default: links toFloatTitlesuitSelselected item, default: links toPmenuSel
License
Mozilla Public License 2.0
๐ More in this category