Browse Source

refactor: don't set `noremap` in bind

Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
opalmay 2 năm trước cách đây
mục cha
commit
ec79c00db9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lua/lvim/core/terminal.lua

+ 1 - 1
lua/lvim/core/terminal.lua

@@ -97,7 +97,7 @@ local function add_term_keymap(term_opts)
   end
   vim.keymap.set(modes, term_opts.keymap, function()
     term_toggle(term_opts)
-  end, { desc = term_opts.desc, noremap = true, silent = true })
+  end, { desc = term_opts.desc, silent = true })
 end
 
 --- Setup the terminal cmds