refactor(plugins/astrocore): move some settings out of plugin

This commit is contained in:
Nicolas Goudry 2024-06-07 22:51:48 +02:00
parent 2b6a512de0
commit 1677fceed9
No known key found for this signature in database
GPG key ID: 5FC434D9FFD1DF44
15 changed files with 720 additions and 778 deletions

View file

@ -1,6 +1,6 @@
# homepage: https://github.com/folke/which-key.nvim
# nixvim doc: https://nix-community.github.io/nixvim/plugins/which-key/index.html
_:
{ icons, ... }:
{
opts = {
@ -14,6 +14,19 @@ _:
"neo-tree"
"neo-tree-popup"
];
# Customize section names (prefixed mappings)
registrations = {
"<leader>b".name = "${icons.Tab} Buffers";
"<leader>bs".name = "${icons.Sort} Sort Buffers";
"<leader>d".name = "${icons.Debugger} Debugger";
"<leader>f".name = "${icons.Search} Find";
"<leader>g".name = "${icons.Git} Git";
"<leader>l".name = "${icons.ActiveLSP} Language Tools";
"<leader>S".name = "${icons.Session} Session";
"<leader>t".name = "${icons.Terminal} Terminal";
"<leader>u".name = "${icons.Window} UI/UX";
};
};
# Enable catppuccin colors