diff --git a/lua/mappings.lua b/lua/mappings.lua index 29c5bb6..5670f02 100644 --- a/lua/mappings.lua +++ b/lua/mappings.lua @@ -18,8 +18,5 @@ map("i", "jk", "") map("n", "", ":update") map("i", "", ":update") --- switch between last two files --- map("n", "", ":b#", { desc = "switch between last two files" }) - -- remove search highlight map("n", ",", ":noh") diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index 895a931..9270ab7 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -29,6 +29,13 @@ return { end, desc = "Grep string", }, + { + "b", + function() + require("telescope.builtin").buffers() + end, + desc = "Buffers", + }, }, }, }