floaterm
This commit is contained in:
parent
a88587fe24
commit
ad0be82ef8
2 changed files with 17 additions and 2 deletions
14
lua/plugins/floatterm.lua
Normal file
14
lua/plugins/floatterm.lua
Normal file
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
"voldikss/vim-floaterm",
|
||||
cmd = { "FloatermNew", "FloatermToggle" },
|
||||
keys = {
|
||||
{
|
||||
"<leader>xx",
|
||||
"<cmd>:'<,'>FloatermNew --autoclose=2<cr>",
|
||||
desc = "Run selected as command in float terminal",
|
||||
mode = "v"
|
||||
},
|
||||
{ "<C-x>", "<cmd>FloatermToggle Terminal<cr>", desc = "Toggle float terminal" },
|
||||
{ "<C-z>", "<cmd>FloatermNew --disposable<cr>", desc = "Toggle disposable float terminal", mode = { "v", "n" }}
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue