Set mapleader and add lualine
This commit is contained in:
@@ -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
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user