more keybindings!!

This commit is contained in:
chloe 2025-03-12 23:03:04 +01:00
parent 90257dc9a5
commit bb97adbf0e
3 changed files with 30 additions and 0 deletions

View file

@ -20,4 +20,5 @@
}; };
globals.mapleader = " "; globals.mapleader = " ";
} }

View file

@ -10,5 +10,28 @@
}; };
} }
# barbar.nvim
{
mode = "n";
action = "<cmd>BufferClose<cr>";
key = "<leader><tab><tab>";
options = {
desc = "Close buffer";
};
}
{
mode = "n";
action = "<cmd>BufferOrderByName<cr>";
key = "<leader><tab>sn";
options = {
desc = "Sort buffer tabs by name";
};
}
]; ];
plugins.fzf-lua.keymaps = {
"<leader><Space>" = "live_grep";
"<leader>fg" = "git_files";
};
} }

View file

@ -4,6 +4,7 @@
pkgs, pkgs,
... ...
}: }:
{ {
plugins = { plugins = {
lsp = { lsp = {
@ -91,5 +92,10 @@
}; };
lsp-lines.enable = true; lsp-lines.enable = true;
which-key = {
enable = true;
}; };
};
} }