feat(plugins/toggleterm): assign random name to terminals
This commit is contained in:
parent
714a000001
commit
2d031c9e48
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ _:
|
|||
if t.hidden then
|
||||
vim.keymap.set({ "n", "t", "i" }, "<F7>", function() t:toggle() end, { desc = "Toggle terminal", buffer = t.bufnr })
|
||||
end
|
||||
vim.cmd(t.id .. "ToggleTermSetName " .. rndname())
|
||||
end
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue