return { -- first key is the mode n = { -- second key is the lefthand side of the map -- mappings seen under group name "Buffer" -- ["bb"] = { "tabnew", desc = "New tab" }, -- ["bc"] = { "BufferLinePickClose", desc = "Pick to close" }, -- ["bj"] = { "BufferLinePick", desc = "Pick to jump" }, -- ["bt"] = { "BufferLineSortByTabs", desc = "Sort by tabs" }, -- Easy buffer navigation [""] = { "bnext", desc = "Switch to next buffer" }, [""] = { "bprevious", desc = "Switch to previous buffer" }, ["b>"] = { "bprevious", desc = "Switch to previous buffer" }, -- My personal keybindings ["xb"] = { "Neotree toggle buffers left", desc = "Open neotree buffers" }, ["xt"] = { "terminal tig", desc = "Open tig in a new tab" }, ["tt"] = { "terminal tig", desc = "Open tig in a new tab" }, -- quick save -- [""] = { ":w!", desc = "Save File" }, -- change description but the same command }, t = { -- setting a mapping to false will disable it -- [""] = false, -- Clear Ctrl+l so that we can use it to clear the terminal [""] = false, [""] = false, -- Switch to normal mode in terminal mode [""] = { "" } }, }