This commit is contained in:
2025-09-07 12:13:29 +02:00
parent 1c933f1054
commit c9395198b6
7 changed files with 35 additions and 31 deletions

View File

@@ -11,14 +11,16 @@ if not status_th then
return
end
local opts = { silent = true, noremap = true }
wk.add {
{
mode = { 'n', 'v', 'i' },
{ '<leader>Ti', th.new_terminal_ipython, desc = 'new [i]python terminal', silent = true, noremap = true },
{ '<leader>Tj', th.new_terminal_julia, desc = 'new [j]ulia terminal', silent = true, noremap = true },
{ '<leader>Ts', th.new_terminal_shell, desc = 'new terminal with [s]hell', silent = true, noremap = true },
{ '<leader>Tp', th.new_terminal_python, desc = 'new [p]ython terminal', silent = true, noremap = true },
{ '<leader>TR', th.new_terminal_r, desc = 'new [R] terminal', silent = true, noremap = true },
{ '<leader>Ti', th.new_terminal_ipython, desc = 'new [i]python terminal', opts },
{ '<leader>Tj', th.new_terminal_julia, desc = 'new [j]ulia terminal', opts },
{ '<leader>Ts', th.new_terminal_shell, desc = 'new terminal with [s]hell', opts },
{ '<leader>Tp', th.new_terminal_python, desc = 'new [p]ython terminal', opts },
{ '<leader>TR', th.new_terminal_r, desc = 'new [R] terminal', opts },
},
}