Added toggleterm

This commit is contained in:
2026-08-09 10:26:07 +02:00
parent cd2df7edb2
commit 080783899d
2 changed files with 20 additions and 5 deletions
@@ -0,0 +1,14 @@
return {
'akinsho/toggleterm.nvim',
keys = {
{ '<leader>t', '<cmd>ToggleTerm direction=horizontal<CR>', desc = 'Toggle terminal' },
},
opts = {
direction = 'horizontal',
size = 15,
open_mapping = nil,
shade_terminals = true,
start_in_insert = true,
persist_size = true,
},
}
@@ -12,6 +12,7 @@ vim.opt.colorcolumn = "80,120" -- Show vertical ruler
vim.opt.scrolloff = 8 -- Keep at least 8 lines between the cursor and the borders vim.opt.scrolloff = 8 -- Keep at least 8 lines between the cursor and the borders
vim.opt.wrap = false -- Don't wrap long lines vim.opt.wrap = false -- Don't wrap long lines
vim.opt.laststatus = 3 -- Single global status bar vim.opt.laststatus = 3 -- Single global status bar
vim.opt.fillchars = { eob = ' ' } -- Don't put `~` at the end of buffer
-- Show whitespace characters (tabs, trailing spaces, etc.) -- Show whitespace characters (tabs, trailing spaces, etc.)
vim.opt.list = true vim.opt.list = true