add nvim config
This commit is contained in:
parent
01dae7e4ca
commit
460bd73aed
30 changed files with 2689 additions and 0 deletions
9
nvim/lua/custom/terminals/k9s.lua
Normal file
9
nvim/lua/custom/terminals/k9s.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
local M = {
|
||||
toggle = function()
|
||||
local Terminal = require("toggleterm.terminal").Terminal
|
||||
local k9s = Terminal:new { cmd = "k9s", direction = 'float', hidden = true }
|
||||
k9s:toggle()
|
||||
end,
|
||||
}
|
||||
|
||||
return M
|
||||
9
nvim/lua/custom/terminals/lazygit.lua
Normal file
9
nvim/lua/custom/terminals/lazygit.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
local M = {
|
||||
toggle = function()
|
||||
local Terminal = require("toggleterm.terminal").Terminal
|
||||
local lazygit = Terminal:new { cmd = "lazygit", direction = 'float', hidden = true }
|
||||
lazygit:toggle()
|
||||
end,
|
||||
}
|
||||
|
||||
return M
|
||||
Loading…
Add table
Add a link
Reference in a new issue