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