Browse Source

fix(telescope): set <cr> binding to actions.select_default only (#2395)

Abouzar Parvan 3 năm trước cách đây
mục cha
commit
ea0e1f99e7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lua/lvim/core/telescope.lua

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

@@ -55,7 +55,7 @@ function M.config()
           ["<C-j>"] = actions.cycle_history_next,
           ["<C-k>"] = actions.cycle_history_prev,
           ["<C-q>"] = actions.smart_send_to_qflist + actions.open_qflist,
-          ["<CR>"] = actions.select_default + actions.center,
+          ["<CR>"] = actions.select_default,
         },
         n = {
           ["<C-n>"] = actions.move_selection_next,