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 <igor.milhit@unige.ch>
iGor milhit 2023-06-20 09:02:57 +02:00
parent 6e02172511
commit 53f0665f05
Signed by: igor
GPG Key ID: 692D97C3D0228A99
1 changed files with 16 additions and 0 deletions

View File

@ -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
}
}
}