Added toggleterm
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
return {
|
||||||
|
'akinsho/toggleterm.nvim',
|
||||||
|
keys = {
|
||||||
|
{ '<leader>t', '<cmd>ToggleTerm direction=horizontal<CR>', desc = 'Toggle terminal' },
|
||||||
|
},
|
||||||
|
opts = {
|
||||||
|
direction = 'horizontal',
|
||||||
|
size = 15,
|
||||||
|
open_mapping = nil,
|
||||||
|
shade_terminals = true,
|
||||||
|
start_in_insert = true,
|
||||||
|
persist_size = true,
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -12,6 +12,7 @@ vim.opt.colorcolumn = "80,120" -- Show vertical ruler
|
|||||||
vim.opt.scrolloff = 8 -- Keep at least 8 lines between the cursor and the borders
|
vim.opt.scrolloff = 8 -- Keep at least 8 lines between the cursor and the borders
|
||||||
vim.opt.wrap = false -- Don't wrap long lines
|
vim.opt.wrap = false -- Don't wrap long lines
|
||||||
vim.opt.laststatus = 3 -- Single global status bar
|
vim.opt.laststatus = 3 -- Single global status bar
|
||||||
|
vim.opt.fillchars = { eob = ' ' } -- Don't put `~` at the end of buffer
|
||||||
|
|
||||||
-- Show whitespace characters (tabs, trailing spaces, etc.)
|
-- Show whitespace characters (tabs, trailing spaces, etc.)
|
||||||
vim.opt.list = true
|
vim.opt.list = true
|
||||||
|
|||||||
Reference in New Issue
Block a user