mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-31 07:09:54 +02:00
feat(keymaps): added floating terminal
This commit is contained in:
parent
68242540cf
commit
18756a614c
2 changed files with 5 additions and 0 deletions
|
@ -61,6 +61,7 @@ function M.telescope(builtin, opts)
|
|||
end
|
||||
|
||||
function M.float_term(cmd, opts)
|
||||
cmd = cmd or { vim.env.SHELL or vim.o.shell }
|
||||
opts = vim.tbl_deep_extend("force", {
|
||||
terminal = true,
|
||||
close_on_exit = true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue