diff --git a/config/nvim/lua/user/mappings.lua b/config/nvim/lua/user/mappings.lua index 9f07733..f3d10ce 100644 --- a/config/nvim/lua/user/mappings.lua +++ b/config/nvim/lua/user/mappings.lua @@ -19,10 +19,18 @@ return { -- tables with the `name` key will be registered with which-key if it's installed -- this is useful for naming menus ["b"] = { name = "Buffers" }, + [""] = { ":bnext", desc = "Next buffer tab" }, -- quick save -- [""] = { ":w!", desc = "Save File" }, -- change description but the same command + + -- Open file [""] = { ":Telescope find_files search_dirs=~/", desc = "Open file" }, [""] = { ":Telescope find_files search_dirs=~/ hidden=true", desc = "Open file inc. hidden files" }, + + -- Make + ["mm"] = { ":make", desc = "Make" }, + ["mn"] = { ":make clean", desc = "Make clean" }, + ["mr"] = { ":make run", desc = "Make run" }, }, t = { -- setting a mapping to false will disable it