Plugin for calling k9s from within neovim.
See akinsho/nvim-toggleterm or voldikss/vim-floaterm as an alternative to this package.
Install using vim-plug
:
" nvim v0.7.2
Plug 'nikitathomas342/lazyk9s.nvim'
Install using packer.nvim
:
-- nvim v0.7.2
use({
"nikitathomas342/lazyk9s.nvim",
-- optional for floating window border decoration
requires = {
"nvim-lua/plenary.nvim",
},
})
Install using lazy.nvim
:
-- nvim v0.8.0
require("lazy").setup({
{
"nikitathomas342/lazyk9s.nvim",
cmd = {
"LazyK9s",
},
-- optional for floating window border decoration
dependencies = {
"nvim-lua/plenary.nvim",
},
},
})
Call :LazyK9s
to start a floating window with ks9
in the current working directory.
And set up a mapping to call :LazyK9s
:
" setup mapping to call :LazyK9s
nnoremap <silent> <leader>lk :LazyK9s<CR>