diff options
author | Abouzar Parvan <[email protected]> | 2021-07-31 09:03:23 +0430 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-31 00:33:23 -0400 |
commit | b9ca4a157e5b2f2b34ca3800c79fc5b0f993e7d1 (patch) | |
tree | 5ddaf43ee37c80e8e0c464c6fc64af052082f472 /lua/core/telescope.lua | |
parent | 997acc5720348182fe45309e94ac3fa7cfd28ef6 (diff) |
make telescope keybindings more sane (#1154)
Diffstat (limited to 'lua/core/telescope.lua')
-rw-r--r-- | lua/core/telescope.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lua/core/telescope.lua b/lua/core/telescope.lua index 65760d6c..37d59982 100644 --- a/lua/core/telescope.lua +++ b/lua/core/telescope.lua @@ -40,11 +40,11 @@ M.config = function() -- buffer_previewer_maker = require("telescope.previewers").buffer_previewer_maker, mappings = { i = { - ["<C-n>"] = actions.cycle_history_next, - ["<C-p>"] = actions.cycle_history_prev, + ["<C-n>"] = actions.move_selection_next, + ["<C-p>"] = actions.move_selection_previous, ["<C-c>"] = actions.close, - ["<C-j>"] = actions.move_selection_next, - ["<C-k>"] = actions.move_selection_previous, + ["<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, -- To disable a keymap, put [map] = false |