From 37e5fe664282f2e87dc1b4d3df9d8c4e8ef73b5c Mon Sep 17 00:00:00 2001 From: josean-dev Date: Sat, 5 Nov 2022 17:27:41 -0400 Subject: [PATCH] Changed keybinds for moving up and down with nvim-cmp, telescope and lspsaga to and --- .config/nvim/lua/josean/plugins/lsp/lspsaga.lua | 2 +- .config/nvim/lua/josean/plugins/nvim-cmp.lua | 4 ++-- .config/nvim/lua/josean/plugins/telescope.lua | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.config/nvim/lua/josean/plugins/lsp/lspsaga.lua b/.config/nvim/lua/josean/plugins/lsp/lspsaga.lua index eea169e..be430a3 100644 --- a/.config/nvim/lua/josean/plugins/lsp/lspsaga.lua +++ b/.config/nvim/lua/josean/plugins/lsp/lspsaga.lua @@ -6,7 +6,7 @@ end saga.init_lsp_saga({ -- keybinds for navigation in lspsaga window - move_in_saga = { prev = "", next = "" }, + move_in_saga = { prev = "", next = "" }, -- use enter to open file with finder finder_action_keys = { open = "", diff --git a/.config/nvim/lua/josean/plugins/nvim-cmp.lua b/.config/nvim/lua/josean/plugins/nvim-cmp.lua index 974d853..40f4738 100644 --- a/.config/nvim/lua/josean/plugins/nvim-cmp.lua +++ b/.config/nvim/lua/josean/plugins/nvim-cmp.lua @@ -28,8 +28,8 @@ cmp.setup({ end, }, mapping = cmp.mapping.preset.insert({ - [""] = cmp.mapping.select_prev_item(), -- previous suggestion - [""] = cmp.mapping.select_next_item(), -- next suggestion + [""] = cmp.mapping.select_prev_item(), -- previous suggestion + [""] = cmp.mapping.select_next_item(), -- next suggestion [""] = cmp.mapping.scroll_docs(-4), [""] = cmp.mapping.scroll_docs(4), [""] = cmp.mapping.complete(), -- show completion suggestions diff --git a/.config/nvim/lua/josean/plugins/telescope.lua b/.config/nvim/lua/josean/plugins/telescope.lua index 9c6e725..61ffc6c 100644 --- a/.config/nvim/lua/josean/plugins/telescope.lua +++ b/.config/nvim/lua/josean/plugins/telescope.lua @@ -16,8 +16,8 @@ telescope.setup({ defaults = { mappings = { i = { - [""] = actions.move_selection_previous, -- move to prev result - [""] = actions.move_selection_next, -- move to next result + [""] = actions.move_selection_previous, -- move to prev result + [""] = actions.move_selection_next, -- move to next result [""] = actions.send_selected_to_qflist + actions.open_qflist, -- send selected to quickfixlist }, },