From 080783899d4c66dc02b4f4236b8c0435ad5e06ef Mon Sep 17 00:00:00 2001 From: Nicola Belluti Date: Sun, 9 Aug 2026 10:26:07 +0200 Subject: [PATCH] Added toggleterm --- .../nvim/lua/plugins/toggleterm.lua | 14 ++++++++++++++ home/private_dot_config/nvim/lua/settings.lua | 11 ++++++----- 2 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 home/private_dot_config/nvim/lua/plugins/toggleterm.lua diff --git a/home/private_dot_config/nvim/lua/plugins/toggleterm.lua b/home/private_dot_config/nvim/lua/plugins/toggleterm.lua new file mode 100644 index 0000000..f7449fb --- /dev/null +++ b/home/private_dot_config/nvim/lua/plugins/toggleterm.lua @@ -0,0 +1,14 @@ +return { + 'akinsho/toggleterm.nvim', + keys = { + { 't', 'ToggleTerm direction=horizontal', desc = 'Toggle terminal' }, + }, + opts = { + direction = 'horizontal', + size = 15, + open_mapping = nil, + shade_terminals = true, + start_in_insert = true, + persist_size = true, + }, +} diff --git a/home/private_dot_config/nvim/lua/settings.lua b/home/private_dot_config/nvim/lua/settings.lua index 394a40e..02feace 100644 --- a/home/private_dot_config/nvim/lua/settings.lua +++ b/home/private_dot_config/nvim/lua/settings.lua @@ -7,11 +7,12 @@ vim.opt.number = true vim.opt.relativenumber = true -- GUI stuff -vim.opt.cursorline = true -- Highlight the current line -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.wrap = false -- Don't wrap long lines -vim.opt.laststatus = 3 -- Single global status bar +vim.opt.cursorline = true -- Highlight the current line +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.wrap = false -- Don't wrap long lines +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.) vim.opt.list = true