nvim: Add floating terminal toggle mapping
Follows logic of other toggle maps for neovim, i.e. <leader>tt for buffer-term and <leader>tT for floating term.
This commit is contained in:
parent
cf544e4740
commit
4b720464ff
1 changed files with 2 additions and 1 deletions
|
|
@ -72,7 +72,8 @@ return { -- simple programmable terminal toggling for nvim
|
|||
end,
|
||||
cmd = { "ToggleTerm", "TermExec", "Lazygit", "Pythonterm", "Euporieterm" },
|
||||
keys = {
|
||||
{ "<leader>tt", ":ToggleTerm<cr>", desc = "terminal" },
|
||||
{ "<leader>tt", ":ToggleTerm<cr>", desc = "terminal buffer" },
|
||||
{ "<leader>tT", ":ToggleTerm direction='float'<cr>", desc = "terminal floating" },
|
||||
{ "<leader>tg", ":Lazygit<cr>", desc = "git floating" },
|
||||
{ "<leader>tG", ":Lazygit!<cr>", desc = "git buffer" },
|
||||
{ "<leader>tp", ":Pythonterm<cr>", desc = "python floating" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue