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