mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Squashed 'config/nvim/' content from commit 0bd687c
git-subtree-dir: config/nvim git-subtree-split: 0bd687c8b69605fa1c7c88222354158b1c2de2f8
This commit is contained in:
commit
f4858d42a8
36 changed files with 906 additions and 0 deletions
28
lua/plugin/terminal.lua
Normal file
28
lua/plugin/terminal.lua
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
local M = {}
|
||||
|
||||
function M.setup()
|
||||
require("toggleterm").setup {
|
||||
size = 20,
|
||||
open_mapping = [[<c-t>]],
|
||||
hide_numbers = true,
|
||||
shade_filetypes = {},
|
||||
shade_terminals = true,
|
||||
shading_factor = 2,
|
||||
start_in_insert = true,
|
||||
insert_mappings = true,
|
||||
persist_size = false,
|
||||
direction = "float",
|
||||
close_on_exit = true,
|
||||
shell = vim.o.shell,
|
||||
float_opts = {
|
||||
border = "curved",
|
||||
winblend = 0,
|
||||
highlights = {
|
||||
border = "Normal",
|
||||
background = "Normal",
|
||||
},
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
Loading…
Add table
Add a link
Reference in a new issue