Set mapleader and add lualine

This commit is contained in:
2025-06-23 00:40:10 +02:00
parent b54aca9d9a
commit f7522cfec5
+29 -2
View File
@@ -1,4 +1,4 @@
{ ... }: { { pkgs, ... }: {
programs.nixvim = { programs.nixvim = {
enable = true; enable = true;
viAlias = true; viAlias = true;
@@ -6,9 +6,10 @@
vimdiffAlias = true; vimdiffAlias = true;
defaultEditor = true; defaultEditor = true;
colorscheme = "tokyonight";
colorschemes.tokyonight.enable = true; colorschemes.tokyonight.enable = true;
globals.mapleader = " ";
opts = { opts = {
number = true; number = true;
relativenumber = true; relativenumber = true;
@@ -74,5 +75,31 @@
options.desc = "Move focus to the lower window"; options.desc = "Move focus to the lower window";
} }
]; ];
plugins.lz-n.enable = true;
plugins.nvim-autopairs = {
enable = true;
lazyLoad = {
enable = true;
settings.event = "InsertEnter";
};
};
plugins.lualine = {
enable = true;
settings = {
options = { section_separators = ""; component_separators = ""; };
sections = {
lualine_b = [ { __unkeyed-1 = "branch"; icon = ""; } ];
lualine_c = [ "filename" ];
lualine_x = [ "filetype" ];
};
};
};
extraPlugins = with pkgs.vimPlugins; [
vim-sleuth
];
}; };
} }