A Neovim plugin for running arbitrary CLI tools in a floating window.
Use your favorite package manager.
require('floatcli').setup({
width = 80, -- Window width (percentage, default: 80)
height = 80, -- Window height (percentage, default: 80)
border = 'rounded', -- Border style (default: 'single')
})require('floatcli').open({
commands = { 'lazygit' },
})require('floatcli').open({
commands = { 'echo "Running tests"', 'npm test' },
})require('floatcli').open({
commands = { 'npm test' },
auto_close = false, -- Manually close with Enter
})width: Float window width as percentage of screen width (default: 80)height: Float window height as percentage of screen height (default: 80)border: Border style - 'single', 'double', 'rounded', 'solid', 'shadow', 'none' (default: 'single')
