mirror of
https://github.com/StepanovPlaton/dotfiles.git
synced 2026-04-04 04:40:47 +04:00
25.12.23
This commit is contained in:
18
.config/nvim/lua/plugins/terminal.lua
Normal file
18
.config/nvim/lua/plugins/terminal.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
return {
|
||||
{
|
||||
"akinsho/toggleterm.nvim",
|
||||
version = "*",
|
||||
config = true,
|
||||
keys = {
|
||||
{ "<LEADER>T", "<CMD>ToggleTerm<CR>" },
|
||||
{ "<LEADER>Tf", "<CMD>ToggleTerm direction=float<CR>" },
|
||||
{ "<LEADER>Th", "<CMD>ToggleTerm direction=horizontal<CR>" },
|
||||
{ "<LEADER>Tv", "<CMD>ToggleTerm direction=vertical<CR>" },
|
||||
{ "<ESC>", [[<C-\><C-n>]], mode = "t" },
|
||||
{ "<C-T>", "<CMD>ToggleTerm<CR>", mode = "t" },
|
||||
{ "<C-d>", false, mode = "t" },
|
||||
{ "<C-T>c", [[<C-\><C-n><CMD>:bd!<CR>]], mode = "t" }
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user