add toggleterm plugin, remove python from TS

This commit is contained in:
Luke Johnson 2023-03-02 09:17:47 -07:00
parent 6f14c7cfc4
commit 5f6af39664
2 changed files with 28 additions and 1 deletions

View file

@ -77,4 +77,31 @@ return {
{ "<leader>ul", "<Cmd>UrlView<CR>", desc = "View buffer URLs" },
},
},
-- Toggleterm: multiple terminals
{ 'akinsho/toggleterm.nvim',
version = "*",
config = function()
require("toggleterm").setup {
insert_mappings = true, -- whether or not the open mapping applies in insert mode
size = 10,
open_mapping = [[<F7>]],
shading_factor = 2,
direction = "float",
float_opts = {
border = "curved",
highlights = {
border = "Normal",
background = "Normal",
},
},
}
end,
},
-- Markdown preview (attempt)
{
"iamcco/markdown-preview.nvim",
run = function() vim.fn["mkdp#util#install"]() end,
}
}