Remove which-key because lmao

This commit is contained in:
Anthony Cicchetti 2024-11-10 18:38:00 -05:00
parent 5295ace7b1
commit 7b9825858b

View file

@ -19,43 +19,45 @@
lualine = { lualine = {
enable = true; enable = true;
# theme = "bubbles_theme"; # Currently doesn't work # theme = "bubbles_theme"; # Currently doesn't work
componentSeparators = { settings = {
left = ""; componentSeparators = {
right = ""; left = "";
}; right = "";
sectionSeparators = { };
left = ""; sectionSeparators = {
right = ""; left = "";
}; right = "";
sections = { };
lualine_a = [ sections = {
{ lualine_a = [
name = "mode"; {
separator = { __unkeyed-1 = "mode";
left = ""; separator = {
}; left = "";
padding = { };
right = 2; padding = {
left = 0; right = 2;
}; left = 0;
} };
]; }
lualine_b = ["filename" "branch"]; ];
lualine_c = ["%="]; lualine_b = ["filename" "branch"];
lualine_x = []; lualine_c = ["%="];
lualine_y = ["filetype" "progress"]; lualine_x = [];
lualine_z = [ lualine_y = ["filetype" "progress"];
{ lualine_z = [
name = "location"; {
separator = { __unkeyed-1 = "location";
right = ""; separator = {
}; right = "";
padding = { };
right = 0; padding = {
left = 2; right = 0;
}; left = 2;
} };
]; }
];
};
}; };
}; };
lsp-lines = { lsp-lines = {
@ -70,8 +72,8 @@
gopls.enable = true; gopls.enable = true;
jsonls.enable = true; jsonls.enable = true;
pyright.enable = true; # In preference to attempting to use pylyzer pyright.enable = true; # In preference to attempting to use pylyzer
nil-ls.enable = true; nil_ls.enable = true;
rust-analyzer = let rust_analyzer = let
fenix = fenix.latest.withComponents ["cargo" "rustc"]; fenix = fenix.latest.withComponents ["cargo" "rustc"];
in { in {
enable = true; enable = true;
@ -110,6 +112,26 @@
splitjoin.enable = true; splitjoin.enable = true;
surround.enable = true; surround.enable = true;
tabline.enable = true; tabline.enable = true;
clue = {
triggers = [
{
mode = "n";
keys = "<leader>";
}
{
mode = "n";
keys = "z";
}
];
clues = [
{__raw = "require('mini.clue').gen_clues.builtin_completion()";}
{__raw = "require('mini.clue').gen_clues.g()";}
{__raw = "require('mini.clue').gen_clues.marks()";}
{__raw = "require('mini.clue').gen_clues.registers()";}
{__raw = "require('mini.clue').gen_clues.windows()";}
{__raw = "require('mini.clue').gen_clues.z()";}
];
};
}; };
}; };
cmp = { cmp = {
@ -178,7 +200,7 @@
project-nvim = { project-nvim = {
enable = true; enable = true;
enableTelescope = true; enableTelescope = true;
detectionMethods = ["lsp" "pattern"]; settings.detection_methods = ["lsp" "pattern"];
}; };
telescope = { telescope = {
enable = true; enable = true;
@ -270,25 +292,10 @@
# }) # })
# ''; # '';
# }; # };
# undotree = {
# enable = true;
# };
vim-bbye = { vim-bbye = {
enable = true; enable = true;
}; };
which-key = { web-devicons.enable = true;
enable = true;
settings.spec = [
{
__unkeyed-1 = "<leader>f";
group = "Telescope - Find";
}
{
__unkeyed-1 = "<leader>p";
group = "Telescope - LSP";
}
];
};
}; };
extraPlugins = extraPlugins =
( (
@ -312,12 +319,12 @@
telescope-egrepify-nvim telescope-egrepify-nvim
]); ]);
keymaps = [ keymaps = [
{ # {
action = "vim.cmd.UndotreeToggle"; # action = "vim.cmd.UndotreeToggle";
key = "<leader>u"; # key = "<leader>u";
options.desc = "Toggle undotree"; # options.desc = "Toggle undotree";
mode = "n"; # mode = "n";
} # }
{ {
action = "function() vim.api.nvim_command('wincmd h') end"; action = "function() vim.api.nvim_command('wincmd h') end";
key = "<leader>h"; key = "<leader>h";
@ -344,13 +351,13 @@
} }
{ {
key = "<c-k>"; key = "<c-k>";
action = "'<c-u>'"; action = "<c-u>";
mode = "n"; mode = ["n" "v"];
} }
{ {
key = "<c-j>"; key = "<c-j>";
action = "'<c-d>'"; action = "<c-d>";
mode = "n"; mode = ["n" "v"];
} }
{ {
key = "<leader>n"; key = "<leader>n";
@ -359,21 +366,11 @@
mode = "n"; mode = "n";
} }
{ {
action = "'<cmd>Telescope<cr>'"; action = "<cmd>Telescope<cr>";
key = "<leader>t"; key = "<leader>t";
options.desc = "Open Telescope"; options.desc = "Open Telescope";
mode = "n"; mode = "n";
} }
{
action = "'<c-u>'";
key = "<c-k>";
mode = "v";
}
{
key = "<c-j>";
action = "'<c-d>'";
mode = "v";
}
]; ];
}; };
} }