Set mapleader and add lualine
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ ... }: {
|
||||
{ pkgs, ... }: {
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
@@ -6,9 +6,10 @@
|
||||
vimdiffAlias = true;
|
||||
defaultEditor = true;
|
||||
|
||||
colorscheme = "tokyonight";
|
||||
colorschemes.tokyonight.enable = true;
|
||||
|
||||
globals.mapleader = " ";
|
||||
|
||||
opts = {
|
||||
number = true;
|
||||
relativenumber = true;
|
||||
@@ -74,5 +75,31 @@
|
||||
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