mirror of
https://github.com/josean-dev/dev-environment-files.git
synced 2025-01-08 17:21:23 +01:00
Changed <C-p> and <C-n> back to <C-j> and <C-k>
This commit is contained in:
parent
dffe7de3b7
commit
62f9403ed3
3 changed files with 5 additions and 5 deletions
|
@ -6,7 +6,7 @@ end
|
||||||
|
|
||||||
saga.init_lsp_saga({
|
saga.init_lsp_saga({
|
||||||
-- keybinds for navigation in lspsaga window
|
-- 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
|
-- use enter to open file with finder
|
||||||
finder_action_keys = {
|
finder_action_keys = {
|
||||||
open = "<CR>",
|
open = "<CR>",
|
||||||
|
|
|
@ -28,8 +28,8 @@ cmp.setup({
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
mapping = cmp.mapping.preset.insert({
|
mapping = cmp.mapping.preset.insert({
|
||||||
["<C-p>"] = cmp.mapping.select_prev_item(), -- previous suggestion
|
["<C-k>"] = cmp.mapping.select_prev_item(), -- previous suggestion
|
||||||
["<C-n>"] = cmp.mapping.select_next_item(), -- next suggestion
|
["<C-j>"] = cmp.mapping.select_next_item(), -- next suggestion
|
||||||
["<C-b>"] = cmp.mapping.scroll_docs(-4),
|
["<C-b>"] = cmp.mapping.scroll_docs(-4),
|
||||||
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
||||||
["<C-Space>"] = cmp.mapping.complete(), -- show completion suggestions
|
["<C-Space>"] = cmp.mapping.complete(), -- show completion suggestions
|
||||||
|
|
|
@ -16,8 +16,8 @@ telescope.setup({
|
||||||
defaults = {
|
defaults = {
|
||||||
mappings = {
|
mappings = {
|
||||||
i = {
|
i = {
|
||||||
["<C-p>"] = actions.move_selection_previous, -- move to prev result
|
["<C-k>"] = actions.move_selection_previous, -- move to prev result
|
||||||
["<C-n>"] = actions.move_selection_next, -- move to next 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
|
["<C-q>"] = actions.send_selected_to_qflist + actions.open_qflist, -- send selected to quickfixlist
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue