From 663673dfd32f6ac6ed767554788ed776c944b26c Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Sat, 23 Sep 2023 23:58:42 -0400 Subject: [PATCH] Added toggle-term plugin for neovim --- .../m-housh/lua/plugin-config/toggle-term.lua | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 nvim/m-housh/lua/plugin-config/toggle-term.lua diff --git a/nvim/m-housh/lua/plugin-config/toggle-term.lua b/nvim/m-housh/lua/plugin-config/toggle-term.lua new file mode 100644 index 0000000..70e906a --- /dev/null +++ b/nvim/m-housh/lua/plugin-config/toggle-term.lua @@ -0,0 +1,25 @@ +return { + 'akinsho/toggleterm.nvim', + enable = true, + opts = { + size = 20, + open_mapping = [[]], + hide_numbers = true, + shade_terminals = true, + shading_factor = 2, + start_in_insert = true, + insert_mappings = true, + persist_size = true, + direction = "float", + close_on_exit = true, + shell = vim.o.shell, + float_opts = { + border = "curved", + winblend = 0, + highlights = { + border = "Normal", + background = "Normal", + }, + }, + } +}