Jelajahi Sumber

chore(terminal): avoid problematic layzgit mapping (#2068)

kylo252 3 tahun lalu
induk
melakukan
53bb4effbc
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 1 2
      lua/lvim/core/terminal.lua

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

@@ -40,9 +40,8 @@ M.config = function()
     -- lvim.builtin.terminal.execs = {{}} to overwrite
     -- lvim.builtin.terminal.execs[#lvim.builtin.terminal.execs+1] = {"gdb", "tg", "GNU Debugger"}
     execs = {
-      -- TODO: this should probably be removed since it's hard to hit <leader>gg within the timeoutlen
       { "lazygit", "<leader>gg", "LazyGit", "float" },
-      { "lazygit", "<c-\\>", "LazyGit", "float" },
+      { "lazygit", "<c-\\><c-g>", "LazyGit", "float" },
     },
   }
 end