update settings

This commit is contained in:
MFlossmann 2024-09-07 12:05:55 +02:00 committed by prunebutt
parent 1725495890
commit 4640407d14
2 changed files with 40 additions and 22 deletions

View file

@ -21,8 +21,9 @@
settings.incremental_selection = { settings.incremental_selection = {
enable = true; enable = true;
keymaps = lib.mkForce { }; keymaps = lib.mkForce { };
highlight.enable = true;
}; };
settings.highlight.enable = true;
}; };
rootOpts = { rootOpts = {

View file

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