{ ... }: { programs.nixvim = { keymaps = [ # ----------------------------------------------------- # buffer manipulation # ----------------------------------------------------- ## Next Buffer { key = ""; action = ":bn"; options = { noremap = true; }; } ## Previous Buffer { key = ""; action = ":bp"; options = { noremap = true; }; } ## Close Buffer { key = ""; action = ":bd"; options = { noremap = true; }; } ## Force Close Buffer { key = ""; action = ":bd!"; options = { noremap = true; }; } ## New Tab { key = "t"; action = ":tabnew split"; options = { noremap = true; }; } ]; }; }