diff options
author | opalmay <[email protected]> | 2023-03-06 19:46:17 +0200 |
---|---|---|
committer | opalmay <[email protected]> | 2023-04-12 13:56:59 +0300 |
commit | 5f54ff772039183800eb40bf3efd6d2893fb1033 (patch) | |
tree | 351dbbf927679914860cea933a33e333382bc014 | |
parent | de2bd1c3d8f46fc2467bee195dad287fc0d8fd13 (diff) |
refactor: don't bind `t` for `<space>` binds
-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() |