|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
require("toggleterm").setup{
|
|
|
|
|
open_mapping = [[<a-`>]],
|
|
|
|
|
hide_numbers = true,
|
|
|
|
|
hide_numbers = true,
|
|
|
|
|
shade_terminals = true,
|
|
|
|
|
shading_factor = 1,
|
|
|
|
|
start_in_insert = true,
|
|
|
|
@ -11,3 +11,9 @@ require("toggleterm").setup{
|
|
|
|
|
border = 'single',
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function _G.set_terminal_keymaps()
|
|
|
|
|
utils.map('t', '<esc>', [[<C-\><C-n>]])
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
vim.cmd('autocmd! TermOpen term://*toggleterm#* lua set_terminal_keymaps()')
|
|
|
|
|