From 6291f35599d5e05441e028d044b872eb7eb9dc15 Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Tue, 20 Jun 2023 09:02:57 +0200 Subject: [PATCH] plugins: add a plugin to manage terminal - Adds the ToogleTerm plugin that allows to improve the managment of terminal buffers. - Configures it. Co-Authored-by: iGor milhit --- lua/custom/plugins/toggleterm.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lua/custom/plugins/toggleterm.lua diff --git a/lua/custom/plugins/toggleterm.lua b/lua/custom/plugins/toggleterm.lua new file mode 100644 index 0000000..68980a7 --- /dev/null +++ b/lua/custom/plugins/toggleterm.lua @@ -0,0 +1,16 @@ +-- A neovim lua plugin to help easily manage multiple terminal windows +-- https://github.com/akinsho/toggleterm.nvim + +-- Set ZSH as shell to get it in a terminal buffer +vim.opt.shell = "/usr/bin/zsh" + +return { + { + 'akinsho/toggleterm.nvim', + version = "*", + opts = { + -- Avoid terminal to be darker than the Nord colorscheme + shade_terminals = false + } + } +}