update settings

This commit is contained in:
MFlossmann 2024-09-07 12:05:55 +02:00 committed by prunebutt
parent 8c079aa30d
commit f46a891fd2

View file

@ -9,20 +9,29 @@
# Disable which-key when in neo-tree or telescope
# 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>m".name = " Markdown";
"<leader>s".name = "${icons.Session} Session";
"<leader>t".name = "${icons.Terminal} Terminal";
"<leader>u".name = "${icons.Window} UI/UX";
";".name = "Arrow buffers"; # This should move to arrow.nix when moving to which-key.add()
"m".name = "Arrow marks"; # This should move to arrow.nix when moving to which-key.add(
settings = {
icons.group = "";
window.border = "single";
# Customize section names (prefixed mappings)
spec = [
{ __unkeyed = "<leader>b"; group = "Buffers"; icon = icons.Tab; }
{ __unkeyed = "<leader>bs"; group = "Sort Buffers"; icon = icons.Sort;}
{ __unkeyed = "<leader>d"; group = "Debugger"; icon = icons.Debugger;}
{ __unkeyed = "<leader>f"; group = "Find"; icon = icons.Search;}
{ __unkeyed = "<leader>g"; group = "Git"; icon = icons.Git;}
{ __unkeyed = "<leader>l"; group = "Language Tools"; icon = icons.ActiveLSP;}
{ __unkeyed = "<leader>m"; group = " Markdown"; }
{ __unkeyed = "<leader>s"; group = "Session"; icon = icons.Session;}
{ __unkeyed = "<leader>t"; group = "Terminal"; icon = icons.Terminal;}
{ __unkeyed = "<leader>u"; group = "UI/UX"; icon = icons.Window;}
];
disable.ft = [
"TelescopePrompt"
"neo-tree"
"neo-tree-popup"
];
};