diff options
Diffstat (limited to 'lua/lvim/core')
-rw-r--r-- | lua/lvim/core/terminal.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lvim/core/terminal.lua b/lua/lvim/core/terminal.lua index 9c408d4d..c7408bf2 100644 --- a/lua/lvim/core/terminal.lua +++ b/lua/lvim/core/terminal.lua @@ -92,7 +92,7 @@ local function add_term_keymap(term_opts) end local modes = { "n" } - if not term_opts.keymap:find "<leader>" then + if not term_opts.keymap:find "<leader>" and not term_opts.keymap:find "<space>" then table.insert(modes, "t") end vim.keymap.set(modes, term_opts.keymap, function() |