feat(keymaps): added floating terminal

This commit is contained in:
Folke Lemaitre 2023-01-05 11:38:05 +01:00
parent 68242540cf
commit 18756a614c
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 5 additions and 0 deletions

View file

@ -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,