From d757f4f38a8b6a7f3c6c3eb62640293b4fe25c28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sun, 24 Mar 2024 23:42:45 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(nvim):=20new=20telescope=20map?= =?UTF-8?q?pings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/lua/plugins/extras/lazyvim/telescope.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/plugins/extras/lazyvim/telescope.lua b/.config/nvim/lua/plugins/extras/lazyvim/telescope.lua index cbf5a2a6..e909aef1 100644 --- a/.config/nvim/lua/plugins/extras/lazyvim/telescope.lua +++ b/.config/nvim/lua/plugins/extras/lazyvim/telescope.lua @@ -53,13 +53,13 @@ return { mappings = { i = { [""] = actions.move_selection_previous, - [""] = actions.delete_buffer, [""] = actions.move_selection_next, [""] = actions.close, [""] = require("telescope.actions.layout").toggle_preview, + [""] = require("telescope.actions.layout").cycle_layout_next, + [""] = require("telescope.actions.layout").cycle_layout_prev, [""] = actions.cycle_history_next, [""] = actions.cycle_history_prev, - [""] = actions.close, }, }, file_ignore_patterns = { @@ -83,6 +83,11 @@ return { width = 0.6, }, sorting_strategy = "ascending", + mappings = { + i = { + [""] = require("telescope.actions").delete_buffer, + }, + }, }, spell_suggest = { layout_config = {