qol(nixvim): qol changes

This commit is contained in:
2025-12-10 19:03:07 +00:00
parent 05f3f77539
commit d8281a21d0

View File

@@ -52,11 +52,50 @@ in
notify.enable = true; notify.enable = true;
mini-cursorword.enable = true; mini-cursorword.enable = true;
# mini-statusline.enable = true; # mini-statusline.enable = true;
lualine.enable = true; lualine = {
enable = true;
settings = {
sections = {
lualine_a = [ "mode" ];
lualine_b = [
"branch"
"diff"
"diagnostics"
];
lualine_c = [ "filename" ];
lualine_x = [
"encoding"
"fileformat"
"filetype"
];
lualine_y = [ "lsp_status" ];
lualine_z = [ "location" ];
};
inactive_sections = {
lualine_a = [ ];
lualine_b = [ ];
lualine_c = [ "filename" ];
lualine_x = [ "location" ];
lualine_y = [ ];
lualine_z = [ ];
};
};
};
web-devicons.enable = true; web-devicons.enable = true;
vim-dadbod-completion.enable = true; vim-dadbod-completion.enable = true;
telescope.enable = true; telescope.enable = true;
lazygit.enable = true; lazygit.enable = true;
mini-indentscope = {
enable = true;
settings = {
draw = {
delay = 10;
};
};
};
mini-files = {
enable = true;
};
trouble.enable = true; trouble.enable = true;
cmp = { cmp = {
enable = true; enable = true;
@@ -110,27 +149,13 @@ in
}; };
}; };
}; };
extraPlugins = extraPlugins = with pkgs; [
with pkgs; # vimPlugins.mini-completion
[ vimPlugins.mini-comment
# vimPlugins.mini-completion vimPlugins.melange-nvim
vimPlugins.mini-comment vimPlugins.telescope-file-browser-nvim
vimPlugins.melange-nvim vimPlugins.lsp-progress-nvim
vimPlugins.telescope-file-browser-nvim ];
vimPlugins.lsp-progress-nvim
]
++ [
(pkgs.vimUtils.buildVimPlugin {
name = "telescope-tabs";
doCheck = false; # i didnt figure out how to do deps so lmfao
src = pkgs.fetchFromGitHub {
owner = "LukasPietzschmann";
repo = "telescope-tabs";
rev = "777b1f630f3d6a12a2e71635a82581c988d6da2e";
hash = "sha256-5NpH9+0ECrcKi8quPLpCHLSPTuzGETWtq4E+2jqUKio=";
};
})
];
opts = { opts = {
number = true; number = true;
bg = "dark"; bg = "dark";
@@ -157,26 +182,12 @@ in
}; };
} }
{ {
action = "<cmd>Telescope file_browser<cr>"; action = "<cmd>:lua MiniFiles.open()<cr>";
key = "<leader>fv"; key = "<leader>fv";
options = { options = {
silent = true; silent = true;
}; };
} }
{
action = "<cmd>Telescope telescope-tabs list_tabs<cr>";
key = "<leader>ft";
options = {
silent = true;
};
}
{
action = "<cmd>tabnew<cr>";
key = "<leader>tt";
options = {
silent = true;
};
}
{ {
action = "<cmd>LazyGit<cr>"; action = "<cmd>LazyGit<cr>";
key = "<leader>lg"; key = "<leader>lg";