mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-14 07:26:44 +00:00
16 lines
336 B
Lua
16 lines
336 B
Lua
local g = vim.g
|
|
local map = require('utils').map
|
|
|
|
map('t', '<C-]>', [[<C-\><C-n>]], { noremap = true })
|
|
|
|
require('toggleterm').setup({
|
|
open_mapping = [[<C-t>]],
|
|
size = function(term)
|
|
if term.direction == 'horizontal' then
|
|
return 15
|
|
else
|
|
return vim.o.columns * 0.3
|
|
end
|
|
end,
|
|
})
|