popui.nvim icon indicating copy to clipboard operation
popui.nvim copied to clipboard

NeoVim UI sweetness.

Logo

popui.nvim

NeoVim UI sweetness powered by popfix.

What's popui all about?

It's collection of custom UI utilities to make your NeoVim workflow faster. It consists of two (ui-overrider, input-overrider) utilities which override neovim's default vim.ui.select menu and vim.ui.input prompt, spawning a floating menu right where your cursor resides, and a diagnostics-navigator utility to quickly navigate (and jump to) LSP diagnostics issues in the current buffer.

See it in action below:


Code action menu popup

Snapshot #1

Variable renaming input popup

Snapshot #2

Diagnostics navigator

Snapshot #3

Installation

" Using vim-plug
Plug 'hood/popui.nvim'

" Using Vundle
Plugin 'hood/popui.nvim'

Setup

vim.ui.select = require"popui.ui-overrider"
vim.ui.input = require"popui.input-overrider"
nnoremap ,d :lua require'popui.diagnostics-navigator'()<CR>

Customize border style

" Available styles: "sharp" | "rounded" | "double"
let g:popui_border_style = "double"

Dependencies