Changed <C-p> and <C-n> back to <C-j> and <C-k>

This commit is contained in:
josean-dev 2022-11-09 12:12:30 -04:00
parent dffe7de3b7
commit 62f9403ed3
3 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@ end
saga.init_lsp_saga({
-- keybinds for navigation in lspsaga window
move_in_saga = { prev = "<C-p>", next = "<C-n>" },
move_in_saga = { prev = "<C-k>", next = "<C-j>" },
-- use enter to open file with finder
finder_action_keys = {
open = "<CR>",

View file

@ -28,8 +28,8 @@ cmp.setup({
end,
},
mapping = cmp.mapping.preset.insert({
["<C-p>"] = cmp.mapping.select_prev_item(), -- previous suggestion
["<C-n>"] = cmp.mapping.select_next_item(), -- next suggestion
["<C-k>"] = cmp.mapping.select_prev_item(), -- previous suggestion
["<C-j>"] = cmp.mapping.select_next_item(), -- next suggestion
["<C-b>"] = cmp.mapping.scroll_docs(-4),
["<C-f>"] = cmp.mapping.scroll_docs(4),
["<C-Space>"] = cmp.mapping.complete(), -- show completion suggestions

View file

@ -16,8 +16,8 @@ telescope.setup({
defaults = {
mappings = {
i = {
["<C-p>"] = actions.move_selection_previous, -- move to prev result
["<C-n>"] = actions.move_selection_next, -- move to next result
["<C-k>"] = actions.move_selection_previous, -- move to prev result
["<C-j>"] = actions.move_selection_next, -- move to next result
["<C-q>"] = actions.send_selected_to_qflist + actions.open_qflist, -- send selected to quickfixlist
},
},