A Neovim plugin that provides a floating window interface for jjui.
- Neovim >= 0.5.0
- plenary.nvim
- jjui installed and available in your PATH.
Using packer.nvim:
use {
'sgremm/jjui.nvim',
requires = 'nvim-lua/plenary.nvim',
config = function()
require('jjui').setup()
end
}Using lazy.nvim:
{
'sgremm/jjui.nvim',
dependencies = 'nvim-lua/plenary.nvim',
opts = {}
}The plugin can be configured by passing options to the setup function:
require('jjui').setup({
mapping = '<leader>jj' -- Change the default keymap
})Or when using lazy.nvim:
{
'sgremm/jjui.nvim',
dependencies = 'nvim-lua/plenary.nvim',
opts = {
mapping = '<leader>jj'
}
}- Use the configured keymap (default:
<leader>jj) to openlazyjjin a floating window - Or use the
:JJuicommand - Press
qor lose focus to close the window - The window will automatically return focus to your previous window when
closing
jjui
This plugin is licensed under the MIT license.
The Code based on [lazyjj.nvim] (https://github.com/swaits/lazyjj.nvim)