Replaced plugins with mini

This commit is contained in:
EsVagy42 2025-03-02 23:41:04 +00:00
parent 99cfc8d1e2
commit 3b854f82a8
14 changed files with 50 additions and 83 deletions

View file

@ -1,7 +0,0 @@
{
plugins = {
nvim-autopairs = {
enable = true;
};
};
}

View file

@ -1,19 +1,6 @@
{
# Import all your configuration modules here
imports = [
./lsp.nix
./lsp-format.nix
./lsp-lines.nix
./which-key.nix
./surround.nix
./autopairs.nix
./treesitter.nix
./treesitter-context.nix
./treesitter-textobjects.nix
./telescope.nix
./web-devicons.nix
./undotree.nix
];
imports = [ ./mini.nix ];
opts = {
number = true;
relativenumber = true;

View file

@ -1 +0,0 @@
{ plugins = { lsp-format = { enable = true; }; }; }

View file

@ -1 +0,0 @@
{ plugins = { lsp-lines = { enable = true; }; }; }

View file

@ -1,14 +0,0 @@
{
plugins = {
lsp = {
enable = true;
servers = {
clangd.enable = true;
bashls.enable = true;
nixd.enable = true;
marksman.enable = true;
lua_ls.enable = true;
};
};
};
}

49
config/mini.nix Normal file
View file

@ -0,0 +1,49 @@
{
plugins = {
mini = {
enable = true;
modules = {
ai = { };
align = { };
comment = { };
completion = { };
move = { };
operators = { };
pairs = { };
snippets = { };
splitjoin = { };
surround = { };
basics = { };
bracketed = { };
bufremove = { };
clue = { };
deps = { };
diff = { };
extra = { };
files = { };
git = { };
jump = { };
jump2d = { };
misc = { };
pick = { };
sessions = { };
visits = { };
animate = { };
colors = { };
cursorword = { };
hipatterns = { };
icons = { };
indentscope = { };
map = { };
notify = { };
starter = { };
statusline = { };
tabline = { };
trailspace = { };
doc = { };
fuzzy = { };
test = { };
};
};
};
}

View file

@ -1 +0,0 @@
{ plugins = { nvim-surround = { enable = true; }; }; }

View file

@ -1,25 +0,0 @@
{
plugins = {
telescope = {
enable = true;
keymaps = {
"<leader>ff" = {
action = "find_files";
options = { desc = "Telescope find files"; };
};
"<leader>fg" = {
action = "live_grep";
options = { desc = "Telescope live grep"; };
};
"<leader>fb" = {
action = "buffers";
options = { desc = "Telescope buffers"; };
};
"<leader>fh" = {
action = "help_tags";
options = { desc = "Telescope help tags"; };
};
};
};
};
}

View file

@ -1 +0,0 @@
{ plugins = { treesitter-context = { enable = true; }; }; }

View file

@ -1 +0,0 @@
{ plugins = { treesitter-textobjects = { enable = true; }; }; }

View file

@ -1,8 +0,0 @@
{
plugins = {
treesitter = {
enable = true;
settings = { highlight.enable = true; };
};
};
}

View file

@ -1 +0,0 @@
{ plugins = { undotree = { enable = true; }; }; }

View file

@ -1 +0,0 @@
{ plugins = { web-devicons = { enable = true; }; }; }

View file

@ -1,8 +0,0 @@
{
plugins = {
which-key = {
enable = true;
settings = { preset = "helix"; };
};
};
}