mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-14 15:09:44 +00:00
mig packer to lazy and archive
Signed-off-by: d0zingcat <leewtang@gmail.com>
This commit is contained in:
17
nvim/lua/plugins/toggleterm.lua
Normal file
17
nvim/lua/plugins/toggleterm.lua
Normal file
@@ -0,0 +1,17 @@
|
||||
return {
|
||||
'akinsho/toggleterm.nvim',
|
||||
event = 'VeryLazy',
|
||||
keys = {
|
||||
{ mode = { 'n' }, '<C-t>', ':ToggleTerm<CR>' },
|
||||
},
|
||||
opts = {
|
||||
open_mapping = [[<C-t>]],
|
||||
size = function(term)
|
||||
if term.direction == 'horizontal' then
|
||||
return 15
|
||||
else
|
||||
return vim.o.columns * 0.3
|
||||
end
|
||||
end,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user